Ice Sheet System Model  4.18
Code documentation
DatasetInput2.h
Go to the documentation of this file.
1 
5 #ifndef _DATASETINPUT2_H_
6 #define _DATASETINPUT2_H_
7 
8 /*Headers:*/
9 #include "./Input2.h"
10 class TriaInput2;
11 class PentaInput2;
12 class TransientInput2;
13 
14 class DatasetInput2: public Input2{
15 
16  private:
17  int numids;
19  int *ids;
22 
23  public:
24  int GetNumIds() const {return this->numids;};
25  /*DatasetInput constructors, destructors: {{{*/
26  DatasetInput2();
27  DatasetInput2(int nbe, int nbv);
29  /*}}}*/
30  /*Object virtual functions definitions:{{{ */
31  Input2* copy();
32  void Configure(Parameters* params);
33  void DeepEcho();
34  void Echo();
35  int Id();
36  void Marshall(char** pmarshalled_data,int* pmarshalled_data_size, int marshall_direction);
37  int ObjectEnum();
38  void SetTriaInput(int interp_in,int numinds,int* rows,IssmDouble* values_in);
39  /*}}}*/
40  void SetTriaInput(int id,int interp_in,int numinds,int* rows,IssmDouble* values_in);
41  void SetPentaInput(int id,int interp_in,int numinds,int* rows,IssmDouble* values_in);
42  TransientInput2* SetTransientInput(int id,IssmDouble* times,int numtimes);
45  void GetInputValue(IssmDouble* pvalue,Gauss* gauss,int index);
46 };
47 #endif /* _DATASETINPUT2_H */
DatasetInput2::Echo
void Echo()
Definition: DatasetInput2.cpp:77
DatasetInput2::numids
int numids
Definition: DatasetInput2.h:17
IssmDouble
double IssmDouble
Definition: types.h:37
DatasetInput2
Definition: DatasetInput2.h:14
Parameters
Declaration of Parameters class.
Definition: Parameters.h:18
DatasetInput2::Id
int Id()
Definition: DatasetInput2.cpp:81
TransientInput2
Definition: TransientInput2.h:13
DatasetInput2::Configure
void Configure(Parameters *params)
Definition: DatasetInput2.cpp:61
DatasetInput2::GetInputValue
void GetInputValue(IssmDouble *pvalue, Gauss *gauss, int index)
Definition: DatasetInput2.cpp:199
DatasetInput2::SetPentaInput
void SetPentaInput(int id, int interp_in, int numinds, int *rows, IssmDouble *values_in)
Definition: DatasetInput2.cpp:134
DatasetInput2::SetTriaInput
void SetTriaInput(int interp_in, int numinds, int *rows, IssmDouble *values_in)
TriaInput2
Definition: TriaInput2.h:8
DatasetInput2::numberofvertices_local
int numberofvertices_local
Definition: DatasetInput2.h:21
DatasetInput2::GetPentaInputByOffset
PentaInput2 * GetPentaInputByOffset(int i)
Definition: DatasetInput2.cpp:237
DatasetInput2::numberofelements_local
int numberofelements_local
Definition: DatasetInput2.h:20
Input2.h
abstract class for Input2 object
DatasetInput2::copy
Input2 * copy()
Definition: DatasetInput2.cpp:43
PentaInput2
Definition: PentaInput2.h:8
Input2
Definition: Input2.h:18
DatasetInput2::GetNumIds
int GetNumIds() const
Definition: DatasetInput2.h:24
DatasetInput2::DeepEcho
void DeepEcho()
Definition: DatasetInput2.cpp:67
DatasetInput2::SetTransientInput
TransientInput2 * SetTransientInput(int id, IssmDouble *times, int numtimes)
Definition: DatasetInput2.cpp:167
DatasetInput2::DatasetInput2
DatasetInput2()
Definition: DatasetInput2.cpp:17
DatasetInput2::ObjectEnum
int ObjectEnum()
Definition: DatasetInput2.cpp:97
Gauss
Definition: Gauss.h:8
DatasetInput2::inputs
Input2 ** inputs
Definition: DatasetInput2.h:18
DatasetInput2::ids
int * ids
Definition: DatasetInput2.h:19
DatasetInput2::GetTriaInputByOffset
TriaInput2 * GetTriaInputByOffset(int i)
Definition: DatasetInput2.cpp:222
DatasetInput2::~DatasetInput2
~DatasetInput2()
Definition: DatasetInput2.cpp:33
DatasetInput2::Marshall
void Marshall(char **pmarshalled_data, int *pmarshalled_data_size, int marshall_direction)
Definition: DatasetInput2.cpp:83