cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Data Fields
DepthTable Class Reference

#include <depth_table.h>

Collaboration diagram for DepthTable:
Collaboration graph
[legend]

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
 

Detailed Description

Definition at line 7 of file depth_table.h.

Member Function Documentation

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

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

Here is the call graph for this function:

Field Documentation

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


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