cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
depth_table.h
Go to the documentation of this file.
1 /* This file is part of Cloudy and is copyright (C)1978-2022 by Gary J. Ferland and
2  * others. For conditions of distribution and use see copyright notice in license.txt */
3 
4 #ifndef DEPTH_TABLE_H_
5 #define DEPTH_TABLE_H_
6 
7 class DepthTable
8 {
9 public:
10  /* lg is true if depth, false if radius to be used*/
11  bool lgDepth;
13  vector<double> dist;
14  vector<double> val;
15 
17  long int nvals;
18 
23  double tabval( double r0, double depth) const;
24  void clear()
25  {
26  nvals = 0;
27  dist.resize(0);
28  val.resize(0);
29  }
30 };
31 
32 #endif // DEPTH_TABLE_H_
long int nvals
Definition: depth_table.h:17
bool lgDepth
Definition: depth_table.h:11
void clear()
Definition: depth_table.h:24
double tabval(double r0, double depth) const
Definition: depth_table.cpp:8
vector< double > dist
Definition: depth_table.h:13
vector< double > val
Definition: depth_table.h:14