cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Data Fields | Private Member Functions
sd_data Class Reference
Collaboration diagram for sd_data:
Collaboration graph
[legend]

Public Member Functions

void clear ()
 
 ~sd_data ()
 

Data Fields

double a [NSD]
 
double lim [2]
 
double clim [2]
 
vector< double > xx
 
vector< double > aa
 
vector< double > rr
 
vector< double > ww
 
double unity
 
double unity_bin
 
double cSize
 
double radius
 
double area
 
double vol
 
vector< double > ln_a
 
vector< double > ln_a4dNda
 
sd_type sdCase
 
long int nCarbon
 
long int magic
 
long int cPart
 
long int nPart
 
long int nmul
 
long int nn
 
long int npts
 
bool lgLogScale
 

Private Member Functions

void p_clear1 ()
 

Detailed Description

Definition at line 83 of file grains_mie.cpp.

Constructor & Destructor Documentation

sd_data::~sd_data ( )
inline

Definition at line 122 of file grains_mie.cpp.

References p_clear1().

Here is the call graph for this function:

Member Function Documentation

void sd_data::clear ( )
inline

Definition at line 118 of file grains_mie.cpp.

References p_clear1().

Here is the call graph for this function:

void sd_data::p_clear1 ( )
inlineprivate

Definition at line 84 of file grains_mie.cpp.

References aa, ln_a, ln_a4dNda, rr, ww, and xx.

Referenced by clear(), and ~sd_data().

Field Documentation

double sd_data::a[NSD]

parameters for size distribution

Definition at line 94 of file grains_mie.cpp.

Referenced by mie_auxiliary(), mie_cs_size_distr(), mie_read_szd(), and size_distr().

vector<double> sd_data::aa

aa[nn]: weights for Gauss quadrature on [-1,1]

Definition at line 98 of file grains_mie.cpp.

Referenced by mie_integrate(), and p_clear1().

double sd_data::area

average grain surface area for current bin <4pi*a^2>

Definition at line 105 of file grains_mie.cpp.

Referenced by mie_auxiliary(), mie_integrate(), and mie_write_opc().

double sd_data::clim[2]

holds lower and upper size limit for current bin

Definition at line 96 of file grains_mie.cpp.

Referenced by mie_auxiliary(), mie_integrate(), mie_step(), and mie_write_opc().

long int sd_data::cPart

current partition no. for size distribution

Definition at line 112 of file grains_mie.cpp.

Referenced by mie_auxiliary(), and mie_write_opc().

double sd_data::cSize

the grain size currently being used for the calculations

Definition at line 103 of file grains_mie.cpp.

Referenced by mie_cs(), mie_cs_size_distr(), mie_step(), pah1_fun(), pah2_fun(), and pah3_fun().

bool sd_data::lgLogScale

use logarithmic mesh for integration over size ?

Definition at line 117 of file grains_mie.cpp.

Referenced by mie_auxiliary(), mie_integrate(), and mie_write_opc().

double sd_data::lim[2]

holds lower and upper size limit for entire distribution

Definition at line 95 of file grains_mie.cpp.

Referenced by mie_auxiliary(), mie_read_szd(), mie_write_opc(), search_limit(), and size_distr().

vector<double> sd_data::ln_a

ln(a)[npts]: log of grain radii for user-supplied size distr

Definition at line 107 of file grains_mie.cpp.

Referenced by mie_read_szd(), p_clear1(), and size_distr().

vector<double> sd_data::ln_a4dNda

ln(a^4*dN/da)[npts]: log of user-supplied size distr

Definition at line 108 of file grains_mie.cpp.

Referenced by mie_read_szd(), p_clear1(), and size_distr().

long int sd_data::magic

magic number

Definition at line 111 of file grains_mie.cpp.

Referenced by mie_read_szd(), and mie_write_opc().

long int sd_data::nCarbon

number of carbon atoms requested in SD_NR_CARBON file

Definition at line 110 of file grains_mie.cpp.

Referenced by mie_auxiliary(), and mie_read_szd().

long int sd_data::nmul

multiplier for obtaining no. of abscissas in gaussian quadrature

Definition at line 114 of file grains_mie.cpp.

Referenced by mie_auxiliary(), and mie_integrate().

long int sd_data::nn

no. of abscissas used in gaussian quadrature (per partition)

Definition at line 115 of file grains_mie.cpp.

Referenced by mie_integrate().

long int sd_data::nPart

total no. of partitions for size distribution

Definition at line 113 of file grains_mie.cpp.

Referenced by mie_auxiliary(), and mie_write_opc().

long int sd_data::npts

no. of points in user-supplied size distr

Definition at line 116 of file grains_mie.cpp.

Referenced by mie_read_szd(), and size_distr().

double sd_data::radius

average grain radius for current bin

Definition at line 104 of file grains_mie.cpp.

Referenced by mie_auxiliary(), mie_integrate(), and mie_write_opc().

vector<double> sd_data::rr

rr[nn]: abcissas for Gauss quadrature

Definition at line 99 of file grains_mie.cpp.

Referenced by mie_integrate(), and p_clear1().

sd_type sd_data::sdCase

SD_SINGLE_SIZE, SD_POWERLAW, ...

Definition at line 109 of file grains_mie.cpp.

Referenced by mie_auxiliary(), mie_cs_size_distr(), mie_read_szd(), mie_write_opc(), and size_distr().

double sd_data::unity

normalization for integrals over size distribution

Definition at line 101 of file grains_mie.cpp.

Referenced by mie_auxiliary(), and mie_write_opc().

double sd_data::unity_bin

normalization for integrals over size distribution

Definition at line 102 of file grains_mie.cpp.

Referenced by mie_auxiliary(), and mie_write_opc().

double sd_data::vol

average grain volume for current bin <4pi/3*a^3>

Definition at line 106 of file grains_mie.cpp.

Referenced by mie_auxiliary(), mie_integrate(), and mie_write_opc().

vector<double> sd_data::ww

ww[nn]: weights for Gauss quadrature

Definition at line 100 of file grains_mie.cpp.

Referenced by mie_integrate(), and p_clear1().

vector<double> sd_data::xx

xx[nn]: abcissas for Gauss quadrature on [-1,1]

Definition at line 97 of file grains_mie.cpp.

Referenced by mie_integrate(), and p_clear1().


The documentation for this class was generated from the following file: