cloudy
trunk
|
#include <depth_table.h>
Public Member Functions | |
double | tabval (double r0, double depth) const |
void | clear () |
Data Fields | |
bool | lgDepth |
vector< double > | dist |
vector< double > | val |
long int | nvals |
Definition at line 7 of file depth_table.h.
|
inline |
Definition at line 24 of file depth_table.h.
References dist, nvals, and val.
Referenced by InitDefaultsPreparse(), and Parser::readLaw().
double DepthTable::tabval | ( | double | r0, |
double | depth | ||
) | const |
tabval, adapted from dense_tabden interpolate on table of points for density with dlaw table command, by K Volk
r0 | |
depth |
Definition at line 8 of file depth_table.cpp.
References cdEXIT, DEBUG_ENTRY, dist, EXIT_FAILURE, exp10(), fprintf(), get_ptr(), ioQQQ, lgDepth, linint(), nvals, and val.
Referenced by ConvTempEdenIoniz(), ParseCommands(), radius_first(), radius_next(), and zoneDensity().
vector<double> DepthTable::dist |
dist is log radius in cm, val is log value
Definition at line 13 of file depth_table.h.
Referenced by clear(), Parser::readLaw(), and tabval().
bool DepthTable::lgDepth |
Definition at line 11 of file depth_table.h.
Referenced by Parser::readLaw(), and tabval().
long int DepthTable::nvals |
number of values in above table
Definition at line 17 of file depth_table.h.
Referenced by clear(), Parser::readLaw(), and tabval().
vector<double> DepthTable::val |
Definition at line 14 of file depth_table.h.
Referenced by clear(), Parser::readLaw(), and tabval().