LandscapeDNDC 1.37.0
Loading...
Searching...
No Matches
ld_oryza2000_table.h
1
8
9#include <vector>
10
11#ifndef ORYZA2000_TABLE_H_
12#define ORYZA2000_TABLE_H_
13
14namespace ldndc {
15class OryzaTable
16{
17
18public:
19 OryzaTable();
20 OryzaTable( char const * /*name*/,
21 double const * /*nodes*/, int /*nodes size*/);
22 OryzaTable( OryzaTable const &);
23 OryzaTable & operator=( OryzaTable const &);
24
25 ~OryzaTable();
26
27 char const * name() const
28 { return this->m_name; }
29
30 double at( double _x)
31 { return this->linear_interpolate( _x); }
32
33private:
34 char * m_name;
35 std::vector<double> m_nodes;
36
37 double linear_interpolate( double /*x*/);
38};
39
40} /* namespace ldndc */
41
42#endif /* !ORYZA2000_TABLE_H_ */
43
Spatially explicit groundwater model.
Definition airchemistryput.h:15