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

Public Member Functions

void clear ()
 
 grain_data ()
 
 ~grain_data ()
 

Data Fields

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

Detailed Description

Definition at line 132 of file grains_mie.cpp.

Constructor & Destructor Documentation

grain_data::grain_data ( )
inline

Definition at line 182 of file grains_mie.cpp.

References p_clear0().

Here is the call graph for this function:

grain_data::~grain_data ( )
inline

Definition at line 186 of file grains_mie.cpp.

References p_clear1().

Here is the call graph for this function:

Member Function Documentation

void grain_data::clear ( )
inline

Definition at line 177 of file grains_mie.cpp.

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

Definition at line 133 of file grains_mie.cpp.

References nAxes, and nOpcCols.

Referenced by clear(), and grain_data().

void grain_data::p_clear1 ( )
inlineprivate

Definition at line 138 of file grains_mie.cpp.

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

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

Here is the call graph for this function:

Field Documentation

double grain_data::abun

abundance of grain molecule rel. to hydrogen for max depletion

Definition at line 157 of file grains_mie.cpp.

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)

Definition at line 161 of file grains_mie.cpp.

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

double grain_data::bandgap

gap between valence and conduction band (Ryd)

Definition at line 165 of file grains_mie.cpp.

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

long int grain_data::cAxis

number of axis currently being used

Definition at line 169 of file grains_mie.cpp.

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)

Definition at line 174 of file grains_mie.cpp.

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

double grain_data::depl

depletion efficiency

Definition at line 158 of file grains_mie.cpp.

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

Definition at line 159 of file grains_mie.cpp.

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

long int grain_data::magic

magic number

Definition at line 168 of file grains_mie.cpp.

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

mat_type grain_data::matType

material type, determines enthalpy function, etc.

Definition at line 175 of file grains_mie.cpp.

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

double grain_data::mol_weight

molecular weight of grain molecule (amu)

Definition at line 160 of file grains_mie.cpp.

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

Definition at line 152 of file grains_mie.cpp.

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

long int grain_data::nAxes

no. of principal axes for this grain

Definition at line 170 of file grains_mie.cpp.

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

long int grain_data::ndata[NAX]

no. of wavelength points for each axis

Definition at line 171 of file grains_mie.cpp.

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

long int grain_data::nOpcCols

no. of data columns in OPC_TABLE file

Definition at line 172 of file grains_mie.cpp.

Referenced by mie_read_rfi(), p_clear0(), and tbl_fun().

long int grain_data::nOpcData

no. of data points in OPC_TABLE file

Definition at line 173 of file grains_mie.cpp.

Referenced by mie_read_rfi(), and tbl_fun().

double grain_data::norm

number of protons in plasma per average grain

Definition at line 163 of file grains_mie.cpp.

Referenced by mie_write_opc().

vector<double> grain_data::nr1[NAX]

re(n)-1 for all axes

Definition at line 153 of file grains_mie.cpp.

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

vector<double> grain_data::opcAnu

energies for data points in OPC_TABLE file

Definition at line 154 of file grains_mie.cpp.

Referenced by mie_read_rfi(), p_clear1(), and tbl_fun().

vector<double> grain_data::opcData[NDAT]

data values from OPC_TABLE file

Definition at line 155 of file grains_mie.cpp.

Referenced by mie_read_rfi(), p_clear1(), and tbl_fun().

rfi_type grain_data::rfiType

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

Definition at line 176 of file grains_mie.cpp.

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

double grain_data::rho

specific weight (g/cm^3)

Definition at line 162 of file grains_mie.cpp.

Referenced by mie_auxiliary(), mie_read_mix(), mie_read_rfi(), mie_write_opc(), pah1_fun(), pah2_fun(), and pah3_fun().

double grain_data::subl_temp

sublimation temperature (K)

Definition at line 167 of file grains_mie.cpp.

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

Definition at line 166 of file grains_mie.cpp.

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)

Definition at line 151 of file grains_mie.cpp.

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

double grain_data::work

work function (Ryd)

Definition at line 164 of file grains_mie.cpp.

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

double grain_data::wt[NAX]

relative weight of each axis

Definition at line 156 of file grains_mie.cpp.

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


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