Ice Sheet System Model  4.18
Code documentation
ControlInput2.h
Go to the documentation of this file.
1 
5 #ifndef _CONTROLINPUT2_H_
6 #define _CONTROLINPUT2_H_
7 
8 /*Headers:*/
9 #include "./Input2.h"
10 class Gauss;
11 class ElementInput2;
12 
13 class ControlInput2: public Input2{
14 
15  public:
17  int enum_type;
24 
25  /*ControlInput2 constructors, destructors: {{{*/
26  ControlInput2();
27  ControlInput2(int nbe, int nbv,int input_layout_enum,int interp,int id);
29  /*}}}*/
30  /*Object virtual functions definitions:{{{ */
31  Input2* copy();
32  void DeepEcho();
33  void Echo();
34  int Id();
35  void Marshall(char** pmarshalled_data,int* pmarshalled_data_size, int marshall_direction);
36  int ObjectEnum();
37  /*}}}*/
38  void SetInput(Input2* in_input){_error_("not impelemented");};
39  void SetInput(Input2* in_input,int timeoffset){_error_("not impelemented");};
40  ElementInput2* GetInput2(const char* data);
41  void SetControl(int interp,int numindices,int* indices,IssmDouble* values_in,IssmDouble* values_min,IssmDouble* values_max);
42  void SetGradient(int interp,int numindices,int* indices,IssmDouble* values_in);
43  void SetGradient(int interp,int numindices,int* indices,IssmDouble* values_in,int n);
46 };
47 #endif /* _CONTROLINPUT_H */
ControlInput2::ControlInput2
ControlInput2()
Definition: ControlInput2.cpp:18
IssmDouble
double IssmDouble
Definition: types.h:37
ControlInput2::SetInput
void SetInput(Input2 *in_input, int timeoffset)
Definition: ControlInput2.h:39
ControlInput2::copy
Input2 * copy()
Definition: ControlInput2.cpp:64
ControlInput2
Definition: ControlInput2.h:13
ControlInput2::ObjectEnum
int ObjectEnum()
Definition: ControlInput2.cpp:106
ControlInput2::GetTriaInput
TriaInput2 * GetTriaInput()
Definition: ControlInput2.cpp:162
ControlInput2::SetGradient
void SetGradient(int interp, int numindices, int *indices, IssmDouble *values_in)
Definition: ControlInput2.cpp:124
ControlInput2::Echo
void Echo()
Definition: ControlInput2.cpp:94
ElementInput2
Definition: ElementInput2.h:7
ControlInput2::Id
int Id()
Definition: ControlInput2.cpp:98
ControlInput2::GetInput2
ElementInput2 * GetInput2(const char *data)
Definition: ControlInput2.cpp:182
ControlInput2::savedvalues
ElementInput2 * savedvalues
Definition: ControlInput2.h:22
ControlInput2::SetControl
void SetControl(int interp, int numindices, int *indices, IssmDouble *values_in, IssmDouble *values_min, IssmDouble *values_max)
Definition: ControlInput2.cpp:113
TriaInput2
Definition: TriaInput2.h:8
ControlInput2::SetInput
void SetInput(Input2 *in_input)
Definition: ControlInput2.h:38
Input2.h
abstract class for Input2 object
PentaInput2
Definition: PentaInput2.h:8
ControlInput2::maxvalues
ElementInput2 * maxvalues
Definition: ControlInput2.h:20
ControlInput2::values
ElementInput2 * values
Definition: ControlInput2.h:23
ControlInput2::GetPentaInput
PentaInput2 * GetPentaInput()
Definition: ControlInput2.cpp:172
Input2
Definition: Input2.h:18
ControlInput2::minvalues
ElementInput2 * minvalues
Definition: ControlInput2.h:21
ControlInput2::enum_type
int enum_type
Definition: ControlInput2.h:17
_error_
#define _error_(StreamArgs)
Definition: exceptions.h:49
ControlInput2::~ControlInput2
~ControlInput2()
Definition: ControlInput2.cpp:54
ControlInput2::gradient
ElementInput2 * gradient
Definition: ControlInput2.h:19
ControlInput2::layout_enum
int layout_enum
Definition: ControlInput2.h:18
ControlInput2::DeepEcho
void DeepEcho()
Definition: ControlInput2.cpp:82
ControlInput2::Marshall
void Marshall(char **pmarshalled_data, int *pmarshalled_data_size, int marshall_direction)
Definition: ControlInput2.cpp:100
ControlInput2::control_id
int control_id
Definition: ControlInput2.h:16
Gauss
Definition: Gauss.h:8