Cloudy
Spectral Synthesis Code for Astrophysics
|
#include <depth_table.h>
Public Member Functions | |
double | tabval (double r0, double depth) const |
void | clear () |
Public Attributes | |
bool | lgDepth |
vector< double > | dist |
vector< double > | val |
long int | nvals |
|
inline |
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 |
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
Referenced by clear(), Parser::readLaw(), and tabval().
bool DepthTable::lgDepth |
Referenced by Parser::readLaw(), and tabval().
long int DepthTable::nvals |
number of values in above table
Referenced by clear(), Parser::readLaw(), and tabval().
vector<double> DepthTable::val |
Referenced by clear(), Parser::readLaw(), and tabval().