stellar_grid Struct Reference

Collaboration diagram for stellar_grid:

Collaboration graph
[legend]

Data Fields

string name
access_scheme scheme
FILE * ioIN
const char * ident
const char * command
IntMode imode
int32 ndim
int32 npar
int32 nmods
int32 ngrid
uint32 nOffset
uint32 nBlocksize
mpptelg
double ** val
long * nval
long * jlo
long * jhi
char names [MDIM][MNAM+1]
long * trackLen
long nTracks
long * jval

Detailed Description

store all the relevant information on a binary atmosphere file

Definition at line 90 of file stars.cpp.


Field Documentation

const char* stellar_grid::command

the Cloudy command to recompile the binary atmosphere file

Definition at line 102 of file stars.cpp.

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 100 of file stars.cpp.

IntMode stellar_grid::imode

which interpolation mode is requested

Definition at line 104 of file stars.cpp.

FILE* stellar_grid::ioIN

the file handle for this file

Definition at line 97 of file stars.cpp.

long* stellar_grid::jhi

Definition at line 131 of file stars.cpp.

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 130 of file stars.cpp.

long* stellar_grid::jval

jval will hold indices into the CoStar grid: jval(nModels,nTracks)

Definition at line 139 of file stars.cpp.

string stellar_grid::name

the name of the binary atmosphere file

Definition at line 93 of file stars.cpp.

char stellar_grid::names[MDIM][MNAM+1]

this array will hold the designations for each dimension of the grid

Definition at line 133 of file stars.cpp.

uint32 stellar_grid::nBlocksize

the size of each model block in bytes

Definition at line 116 of file stars.cpp.

int32 stellar_grid::ndim

the number of dimensions in the grid

Definition at line 106 of file stars.cpp.

int32 stellar_grid::ngrid

the number of grid points per model, should equal rfield.nupper

Definition at line 112 of file stars.cpp.

int32 stellar_grid::nmods

the number of stellar atmosphere models in this file

Definition at line 110 of file stars.cpp.

uint32 stellar_grid::nOffset

the offset to the first data block (the anu grid)

Definition at line 114 of file stars.cpp.

int32 stellar_grid::npar

the number of parameters for each model; npar >= ndim

Definition at line 108 of file stars.cpp.

long stellar_grid::nTracks

this is the number of CoStar tracks

Definition at line 137 of file stars.cpp.

long* stellar_grid::nval

nval[n] is the number of unique values in val[n][*]

Definition at line 123 of file stars.cpp.

access_scheme stellar_grid::scheme

where should we search for the binary atmosphere file

Definition at line 95 of file stars.cpp.

mpp* stellar_grid::telg

these are the model parameters in the same sequence they are stored in the binary file

Definition at line 119 of file stars.cpp.

long* stellar_grid::trackLen

this array holds the length of each CoStar track

Definition at line 135 of file stars.cpp.

double** stellar_grid::val

these are the unique values for each of the model parameters

Definition at line 121 of file stars.cpp.


The documentation for this struct was generated from the following file:
Generated on Mon Feb 16 12:14:27 2009 for cloudy by  doxygen 1.4.7