Cloudy
Spectral Synthesis Code for Astrophysics
|
#include <depth_table.h>
Public Member Functions | |
long int | nvals () const |
double | tabval (double r0, double depth) const |
void | clear () |
Public Attributes | |
bool | lgDepth |
vector< double > | dist |
vector< double > | val |
|
inline |
References dist, lgDepth, and val.
Referenced by Parser::readLaw().
|
inline |
number of values in above table
References ASSERT, dist, and val.
Referenced by Parser::readLaw(), and tabval().
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 | current radius in cm |
depth | current depth in cm |
References cdEXIT, DEBUG_ENTRY, dist, EXIT_FAILURE, exp10(), fprintf(), get_ptr(), ioQQQ, lgDepth, linint(), nvals(), and val.
vector<double> DepthTable::dist |
dist is log radius in cm, val is log value
Referenced by clear(), nvals(), Parser::readLaw(), and tabval().
bool DepthTable::lgDepth |
Referenced by clear(), Parser::readLaw(), and tabval().
vector<double> DepthTable::val |
Referenced by clear(), nvals(), Parser::readLaw(), and tabval().