Cloudy
Spectral Synthesis Code for Astrophysics
Loading...
Searching...
No Matches
sd_data Class Reference

Public Member Functions

void clear ()
 

Public Attributes

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 ()
 

Member Function Documentation

◆ clear()

void sd_data::clear ( )
inline

References p_clear1().

Here is the call graph for this function:

◆ p_clear1()

void sd_data::p_clear1 ( )
inlineprivate

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

Referenced by clear().

Member Data Documentation

◆ a

double sd_data::a[NSD]

parameters for size distribution

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

◆ aa

vector<double> sd_data::aa

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

Referenced by mie_integrate(), and p_clear1().

◆ area

double sd_data::area

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

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

◆ clim

double sd_data::clim[2]

holds lower and upper size limit for current bin

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

◆ cPart

long int sd_data::cPart

current partition no. for size distribution

Referenced by mie_auxiliary(), and mie_write_opc().

◆ cSize

double sd_data::cSize

the grain size currently being used for the calculations

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

◆ lgLogScale

bool sd_data::lgLogScale

use logarithmic mesh for integration over size ?

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

◆ lim

double sd_data::lim[2]

holds lower and upper size limit for entire distribution

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

◆ ln_a

vector<double> sd_data::ln_a

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

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

◆ ln_a4dNda

vector<double> sd_data::ln_a4dNda

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

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

◆ magic

long int sd_data::magic

magic number

Referenced by mie_read_szd(), and mie_write_opc().

◆ nCarbon

long int sd_data::nCarbon

number of carbon atoms requested in SD_NR_CARBON file

Referenced by mie_auxiliary(), and mie_read_szd().

◆ nmul

long int sd_data::nmul

multiplier for obtaining no. of abscissas in gaussian quadrature

Referenced by mie_auxiliary(), and mie_integrate().

◆ nn

long int sd_data::nn

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

Referenced by mie_integrate().

◆ nPart

long int sd_data::nPart

total no. of partitions for size distribution

Referenced by mie_auxiliary(), and mie_write_opc().

◆ npts

long int sd_data::npts

no. of points in user-supplied size distr

Referenced by mie_read_szd(), and size_distr().

◆ radius

double sd_data::radius

average grain radius for current bin

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

◆ rr

vector<double> sd_data::rr

rr[nn]: abcissas for Gauss quadrature

Referenced by mie_integrate(), and p_clear1().

◆ sdCase

sd_type sd_data::sdCase

SD_SINGLE_SIZE, SD_POWERLAW, ...

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

◆ unity

double sd_data::unity

normalization for integrals over size distribution

Referenced by mie_auxiliary(), and mie_write_opc().

◆ unity_bin

double sd_data::unity_bin

normalization for integrals over size distribution

Referenced by mie_auxiliary(), and mie_write_opc().

◆ vol

double sd_data::vol

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

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

◆ ww

vector<double> sd_data::ww

ww[nn]: weights for Gauss quadrature

Referenced by mie_integrate(), and p_clear1().

◆ xx

vector<double> sd_data::xx

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

Referenced by mie_integrate(), and p_clear1().


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