Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
grain_data Class Reference

Public Member Functions

void clear ()
 
 grain_data ()
 

Public Attributes

vector< double > wavlen [NAX]
 
vector< complex< double > > n [NAX]
 
vector< double > nr1 [NAX]
 
vector< double > opcAnu
 
vector< double > opcData [NDAT]
 
double wt [NAX]
 
double abun
 
double depl
 
double elmAbun [LIMELM]
 
double mol_weight
 
double atom_weight
 
double rho
 
double norm
 
double work
 
double bandgap
 
double therm_eff
 
double subl_temp
 
long int magic
 
long int cAxis
 
long int nAxes
 
long int ndata [NAX]
 
long int nOpcCols
 
long int nOpcData
 
long int charge
 
mat_type matType
 
rfi_type rfiType
 

Private Member Functions

void p_clear0 ()
 
void p_clear1 ()
 

Constructor & Destructor Documentation

grain_data::grain_data ( )
inline

References p_clear0().

Here is the call graph for this function:

Member Function Documentation

void grain_data::clear ( )
inline

References p_clear0(), and p_clear1().

Referenced by mie_write_opc(), and p_clear1().

Here is the call graph for this function:

void grain_data::p_clear0 ( )
inlineprivate

References nAxes, and nOpcCols.

Referenced by clear(), and grain_data().

void grain_data::p_clear1 ( )
inlineprivate

References clear(), n, NAX, NDAT, nr1, opcAnu, opcData, and wavlen.

Referenced by clear().

Here is the call graph for this function:

Member Data Documentation

double grain_data::abun

abundance of grain molecule rel. to hydrogen for max depletion

Referenced by mie_auxiliary(), mie_read_mix(), mie_read_rfi(), and mie_write_opc().

double grain_data::atom_weight

molecular weight of grain molecule per atom (amu)

Referenced by mie_read_mix(), mie_read_rfi(), and mie_write_opc().

double grain_data::bandgap

gap between valence and conduction band (Ryd)

Referenced by mie_read_mix(), mie_read_rfi(), and mie_write_opc().

long int grain_data::cAxis

number of axis currently being used

Referenced by mie_cs(), mie_cs_size_distr(), and mie_write_opc().

long int grain_data::charge

grain charge, needed for charge dependent cross sections (e)

Referenced by mie_write_opc(), pah2_fun(), and pah3_fun().

double grain_data::depl

depletion efficiency

Referenced by mie_auxiliary(), mie_read_mix(), mie_read_rfi(), and mie_write_opc().

double grain_data::elmAbun[LIMELM]

abundances of constituent elements rel. to hydrogen

Referenced by mie_auxiliary(), mie_read_mix(), mie_read_rfi(), and mie_write_opc().

long int grain_data::magic

magic number

Referenced by mie_read_mix(), mie_read_rfi(), and mie_write_opc().

mat_type grain_data::matType

material type, determines enthalpy function, etc.

Referenced by mie_read_mix(), mie_read_rfi(), and mie_write_opc().

double grain_data::mol_weight

molecular weight of grain molecule (amu)

Referenced by mie_auxiliary(), mie_read_mix(), mie_read_rfi(), and mie_write_opc().

vector< complex<double> > grain_data::n[NAX]

refractive index n for all axes

Referenced by mie_calc_ial(), mie_cs(), mie_read_mix(), and p_clear1().

long int grain_data::nAxes

no. of principal axes for this grain

Referenced by mie_calc_ial(), mie_cs_size_distr(), mie_read_mix(), mie_write_opc(), and p_clear0().

long int grain_data::ndata[NAX]

no. of wavelength points for each axis

Referenced by mie_calc_ial(), mie_cs(), and mie_read_mix().

long int grain_data::nOpcCols

no. of data columns in OPC_TABLE file

Referenced by p_clear0(), and tbl_fun().

long int grain_data::nOpcData

no. of data points in OPC_TABLE file

Referenced by tbl_fun().

double grain_data::norm

number of protons in plasma per average grain

Referenced by mie_write_opc().

vector<double> grain_data::nr1[NAX]

re(n)-1 for all axes

Referenced by mie_cs(), mie_read_mix(), and p_clear1().

vector<double> grain_data::opcAnu

energies for data points in OPC_TABLE file

Referenced by p_clear1(), and tbl_fun().

vector<double> grain_data::opcData[NDAT]

data values from OPC_TABLE file

Referenced by p_clear1(), and tbl_fun().

rfi_type grain_data::rfiType

type of data in rfi file: rfi table, grey grain, pah, etc.

Referenced by mie_calc_ial(), mie_read_mix(), mie_read_rfi(), and mie_write_opc().

double grain_data::rho
double grain_data::subl_temp

sublimation temperature (K)

Referenced by mie_read_mix(), mie_read_rfi(), and mie_write_opc().

double grain_data::therm_eff

efficiency of thermionic emission, between 0 and 1

Referenced by mie_read_mix(), mie_read_rfi(), and mie_write_opc().

vector<double> grain_data::wavlen[NAX]

wavelength grid for rfi for all axes (micron)

Referenced by mie_calc_ial(), mie_cs(), mie_read_mix(), and p_clear1().

double grain_data::work

work function (Ryd)

Referenced by mie_read_mix(), mie_read_rfi(), and mie_write_opc().

double grain_data::wt[NAX]

relative weight of each axis

Referenced by mie_calc_ial(), mie_read_mix(), and mie_write_opc().


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