Cloudy
Spectral Synthesis Code for Astrophysics
|
Public Member Functions | |
stellar_grid () | |
~stellar_grid () | |
Public Attributes | |
string | name |
bool | lgIsTeffLoggGrid |
access_scheme | scheme |
FILE * | ioIN |
string | ident |
IntMode | imode |
int32 | ndim |
int32 | npar |
int32 | nmods |
int32 | ngrid |
uint32 | nOffset |
uint32 | nBlocksize |
vector< long > | pos_list |
vector< mpp > | telg |
multi_arr< double, 2 > | val |
vector< long > | nval |
vector< long > | jlo |
vector< long > | jhi |
char | names [MDIM][MNAM+1] |
vector< long > | trackLen |
long | nTracks |
vector< long > | jval |
double | convert_wavl |
double | convert_flux |
bool | lgFreqX |
bool | lgFreqY |
map< string, int > | caution |
vector< long > | index_list |
vector< long > | index_list2 |
multi_arr< realnum, 2 > | CloudyFlux |
store all the relevant information on an atmosphere file
|
inline |
map<string,int> stellar_grid::caution |
cautions generated by the interpolation routine
double stellar_grid::convert_flux |
double stellar_grid::convert_wavl |
helper variables for reading the ascii atmosphere files
string stellar_grid::ident |
the identifier for this grid used in the Cloudy output, this must be exactly 12 characters long
IntMode stellar_grid::imode |
which interpolation mode is requested
vector<long> stellar_grid::index_list |
the list of SEDs from the grid needed for the interpolation
vector<long> stellar_grid::index_list2 |
FILE* stellar_grid::ioIN |
the file handle for this file
Referenced by stellar_grid(), and ~stellar_grid().
vector<long> stellar_grid::jhi |
vector<long> stellar_grid::jlo |
jlo/jhi will hold indices into the ascii file: jlo/jhi(i,...,n) will point to the model with parameters val[0][i],...,val[ndim-1][n], or its closest approximation in log(g) in case the model doesn't exist and lgIsTeffLoggGrid is true. jlo will hold the model with the highest log(g) <= than requested jhi will hold the model with the lowest log(g) >= than requested in case no suitable model could be found either array will hold -2
vector<long> stellar_grid::jval |
jval will hold indices into the CoStar grid: jval(nModels,nTracks)
bool stellar_grid::lgFreqX |
bool stellar_grid::lgFreqY |
bool stellar_grid::lgIsTeffLoggGrid |
if true, more relaxed rules for matching log(g) will be used
string stellar_grid::name |
the name of the atmosphere file (without filename extension)
this array will hold the designations for each dimension of the grid
Referenced by stellar_grid().
uint32 stellar_grid::nBlocksize |
the size of each model block in bytes
int32 stellar_grid::ndim |
the number of dimensions in the grid
int32 stellar_grid::ngrid |
the number of grid points per model, should equal rfield.nflux_with_check
int32 stellar_grid::nmods |
the number of stellar atmosphere models in this file
uint32 stellar_grid::nOffset |
the offset to the first data block (the anu grid)
int32 stellar_grid::npar |
the number of parameters for each model; npar >= ndim
long stellar_grid::nTracks |
this is the number of CoStar tracks
vector<long> stellar_grid::nval |
nval[n] is the number of unique values in val[n][*]
vector<long> stellar_grid::pos_list |
the list of indices into the ascii file where each SED starts
access_scheme stellar_grid::scheme |
where should we search for the atmosphere file
Referenced by stellar_grid().
vector<mpp> stellar_grid::telg |
these are the model parameters in the same sequence they are stored in the ascii file
vector<long> stellar_grid::trackLen |
this array holds the length of each CoStar track
multi_arr<double,2> stellar_grid::val |
these are the unique values for each of the model parameters