Data Fields | |
char | path [FILENAME_PATH_LENGTH_2] |
FILE * | ioIN |
const char * | ident |
const char * | command |
IntMode | imode |
int32 | ndim |
int32 | npar |
int32 | nmods |
int32 | ngrid |
uint32 | nOffset |
uint32 | nBlocksize |
mpp * | telg |
double ** | val |
long * | nval |
long * | jlo |
long * | jhi |
char | names [MDIM][MNAM+1] |
long * | trackLen |
long | nTracks |
long * | jval |
- why was it necessary to change stars_tlusty.in? (change from r43 to r50?)
- check all interpolation modes of CoStar
- compare models with original code, dump atmospheres!
- check all Edges arrays...
- update Doxygen documentation
- write documentation for ascii files
Definition at line 89 of file stars.cpp.
const char* stellar_grid::command |
the Cloudy command to recompile the binary atmosphere file
Definition at line 99 of file stars.cpp.
Referenced by AtlasInterpolate(), CoStarInterpolate(), GridCompile(), GridInterpolate(), InitGrid(), Kurucz79Interpolate(), MihalasInterpolate(), RauchInterpolateHCa(), RauchInterpolateHelium(), RauchInterpolateHNi(), RauchInterpolateHpHe(), RauchInterpolateHydr(), RauchInterpolatePG1159(), TlustyInterpolate(), WernerInterpolate(), and WMBASICInterpolate().
const char* stellar_grid::ident |
the identifier for this grid used in the Cloudy output, this *must* be exactly 12 characters long
Definition at line 97 of file stars.cpp.
Referenced by AtlasInterpolate(), CoStarInterpolate(), GetModel(), GridCompile(), GridInterpolate(), Kurucz79Interpolate(), MihalasInterpolate(), RauchInterpolateHCa(), RauchInterpolateHelium(), RauchInterpolateHNi(), RauchInterpolateHpHe(), RauchInterpolateHydr(), RauchInterpolatePG1159(), TlustyInterpolate(), WernerInterpolate(), and WMBASICInterpolate().
which interpolation mode is requested
Definition at line 101 of file stars.cpp.
Referenced by CoStarInterpolate(), InitGrid(), InterpolateGridCoStar(), and SetLimits().
FILE* stellar_grid::ioIN |
the file handle for this file
Definition at line 94 of file stars.cpp.
Referenced by FreeGrid(), GetModel(), InitGrid(), and lgValidBinFile().
long* stellar_grid::jhi |
Definition at line 128 of file stars.cpp.
Referenced by FillJ(), FreeGrid(), InitGridCoStar(), InitIndexArrays(), InterpolateModel(), and SetLimitsSub().
long* stellar_grid::jlo |
jlo/jhi will hold indices into the binary model 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 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
Definition at line 127 of file stars.cpp.
Referenced by FillJ(), FreeGrid(), InitGridCoStar(), InitIndexArrays(), and InterpolateModel().
long* stellar_grid::jval |
jval will hold indices into the CoStar grid: jval(nModels,nTracks)
Definition at line 136 of file stars.cpp.
Referenced by CoStarListModels(), FindHCoStar(), FreeGrid(), InitGrid(), InitGridCoStar(), InterpolateGridCoStar(), and SetLimits().
char stellar_grid::names[MDIM][MNAM+1] |
this array will hold the designations for each dimension of the grid
Definition at line 130 of file stars.cpp.
Referenced by FillJ(), GetModel(), InitGrid(), InitIndexArrays(), InterpolateModel(), InterpolateRectGrid(), and ValidateGrid().
uint32 stellar_grid::nBlocksize |
the size of each model block in bytes
Definition at line 113 of file stars.cpp.
Referenced by GetModel(), InitGrid(), InterpolateRectGrid(), and lgValidBinFile().
int32 stellar_grid::ndim |
the number of dimensions in the grid
Definition at line 103 of file stars.cpp.
Referenced by CheckVal(), FillJ(), FreeGrid(), InitGrid(), InitGridCoStar(), InitIndexArrays(), InterpolateModel(), InterpolateRectGrid(), JIndex(), lgValidBinFile(), and SetLimits().
int32 stellar_grid::ngrid |
the number of grid points per model, should equal rfield.nupper
Definition at line 109 of file stars.cpp.
Referenced by InitGrid(), and lgValidBinFile().
int32 stellar_grid::nmods |
the number of stellar atmosphere models in this file
Definition at line 107 of file stars.cpp.
Referenced by FillJ(), InitGrid(), InitGridCoStar(), InitIndexArrays(), InterpolateGridCoStar(), lgValidBinFile(), and ValidateGrid().
uint32 stellar_grid::nOffset |
the offset to the first data block (the anu grid)
Definition at line 111 of file stars.cpp.
Referenced by GetModel(), InitGrid(), and lgValidBinFile().
int32 stellar_grid::npar |
the number of parameters for each model; npar >= ndim
Definition at line 105 of file stars.cpp.
Referenced by GetModel(), InitGrid(), InterpolateModel(), InterpolateModelCoStar(), InterpolateRectGrid(), lgValidBinFile(), and ValidateGrid().
this is the number of CoStar tracks
Definition at line 134 of file stars.cpp.
Referenced by CoStarListModels(), FindVCoStar(), InitGrid(), InitGridCoStar(), InterpolateGridCoStar(), and SetLimits().
long* stellar_grid::nval |
nval[n] is the number of unique values in val[n][*]
Definition at line 120 of file stars.cpp.
Referenced by CheckVal(), FillJ(), FreeGrid(), InitGrid(), InitGridCoStar(), InitIndexArrays(), InterpolateRectGrid(), JIndex(), and SetLimitsSub().
the full path to the binary atmosphere file
Definition at line 92 of file stars.cpp.
Referenced by AtlasInterpolate(), CoStarInterpolate(), GridCompile(), GridInterpolate(), InitGrid(), Kurucz79Interpolate(), lgValidBinFile(), MihalasInterpolate(), RauchInterpolateHCa(), RauchInterpolateHelium(), RauchInterpolateHNi(), RauchInterpolateHpHe(), RauchInterpolateHydr(), RauchInterpolatePG1159(), TlustyInterpolate(), WernerInterpolate(), and WMBASICInterpolate().
these are the model parameters in the same sequence they are stored in the binary file
Definition at line 116 of file stars.cpp.
Referenced by CoStarListModels(), FillJ(), FindHCoStar(), FreeGrid(), GetModel(), InitGrid(), InitGridCoStar(), InitIndexArrays(), InterpolateGridCoStar(), InterpolateModel(), InterpolateModelCoStar(), SetLimits(), and ValidateGrid().
long* stellar_grid::trackLen |
this array holds the length of each CoStar track
Definition at line 132 of file stars.cpp.
Referenced by CoStarListModels(), FindHCoStar(), FreeGrid(), InitGrid(), InitGridCoStar(), InterpolateGridCoStar(), and SetLimits().
double** stellar_grid::val |
these are the unique values for each of the model parameters
Definition at line 118 of file stars.cpp.
Referenced by CheckVal(), FillJ(), FreeGrid(), InitGrid(), InitIndexArrays(), InterpolateModel(), InterpolateRectGrid(), and SetLimitsSub().