Ice Sheet System Model  4.18
Code documentation
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ArrayInput2.h
Go to the documentation of this file.
1 #ifndef _ARRAYINPUT2_H_
2 #define _ARRAYINPUT2_H_
3 
4 /*Headers:*/
5 #include "./Input2.h"
6 
7 class ArrayInput2: public Input2{
8 
9  private:
11  int* N;
13 
14  public:
15  /*ArrayInput2 constructors, destructors: {{{*/
16  ArrayInput2();
17  ArrayInput2(int nbe_in);
18  ~ArrayInput2();
19  /*}}}*/
20  /*Object virtual functions definitions:{{{ */
21  Input2 *copy();
22  void DeepEcho();
23  void Echo();
24  int Id();
25  void Marshall(char** pmarshalled_data,int* pmarshalled_data_size, int marshall_direction);
26  int ObjectEnum();
27  /*}}}*/
28  /*ArrayInput2 management:*/
29  void SetInput(int row,int numinds,IssmDouble* values_in);
30  void GetArray(int row,IssmDouble** pvalues,int* pN);
31  void GetArrayPtr(int row,IssmDouble** pvalues,int* pN);
32 
33 };
34 #endif /* _ARRAYINPUT_H */
IssmDouble
double IssmDouble
Definition: types.h:37
ArrayInput2::values
IssmDouble ** values
Definition: ArrayInput2.h:12
ArrayInput2::Id
int Id()
Definition: ArrayInput2.cpp:75
ArrayInput2::Marshall
void Marshall(char **pmarshalled_data, int *pmarshalled_data_size, int marshall_direction)
Definition: ArrayInput2.cpp:78
ArrayInput2::N
int * N
Definition: ArrayInput2.h:11
ArrayInput2::GetArrayPtr
void GetArrayPtr(int row, IssmDouble **pvalues, int *pN)
Definition: ArrayInput2.cpp:133
ArrayInput2::SetInput
void SetInput(int row, int numinds, IssmDouble *values_in)
Definition: ArrayInput2.cpp:103
ArrayInput2
Definition: ArrayInput2.h:7
Input2.h
abstract class for Input2 object
ArrayInput2::~ArrayInput2
~ArrayInput2()
Definition: ArrayInput2.cpp:32
ArrayInput2::numberofelements_local
int numberofelements_local
Definition: ArrayInput2.h:10
Input2
Definition: Input2.h:18
ArrayInput2::Echo
void Echo()
Definition: ArrayInput2.cpp:71
ArrayInput2::GetArray
void GetArray(int row, IssmDouble **pvalues, int *pN)
Definition: ArrayInput2.cpp:119
ArrayInput2::copy
Input2 * copy()
Definition: ArrayInput2.cpp:42
ArrayInput2::ArrayInput2
ArrayInput2()
Definition: ArrayInput2.cpp:16
ArrayInput2::ObjectEnum
int ObjectEnum()
Definition: ArrayInput2.cpp:97
ArrayInput2::DeepEcho
void DeepEcho()
Definition: ArrayInput2.cpp:64