Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DepthTable Class Reference

#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
 

Member Function Documentation

void DepthTable::clear ( )
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

Parameters
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().

Here is the call graph for this function:

Member Data Documentation

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().


The documentation for this class was generated from the following files: