Ice Sheet System Model  4.18
Code documentation
ElementInput2.h
Go to the documentation of this file.
1 #ifndef _ELEMENTINPUT2_H_
2 #define _ELEMENTINPUT2_H_
3 
4 /*Headers:*/
5 #include "./Input2.h"
6 
7 class ElementInput2: public Input2{
8 
9  protected:
13  int M,N;
14  bool isserved;
16 
17  public:
19 
20  /*ElementInput2 constructors, destructors*/
21  ElementInput2();
23 
25 
26  /*Object virtual functions definitions:*/
27  virtual Input2 *copy()=0;
28  virtual void DeepEcho()=0;
29  virtual void Echo()=0;
30  virtual int Id()=0;
31  virtual void Marshall(char** pmarshalled_data,int* pmarshalled_data_size, int marshall_direction)=0;
32  virtual int ObjectEnum()=0;
33  /*Other*/
34  virtual void SetInput(int interp_in,int row,IssmDouble value_in)=0;
35  virtual void SetInput(int interp_in,int numinds,int* rows,IssmDouble* values_in)=0;
36  virtual void SetInput(int interp_in,int row,int numinds,IssmDouble* values_in)=0;
37  virtual int GetInterpolation()=0;
38  virtual void GetInputDerivativeValue(IssmDouble* derivativevalues, IssmDouble* xyz_list, Gauss* gauss)=0;
39  virtual void GetInputValue(IssmDouble* pvalue,Gauss* gauss)=0;
40  virtual void Serve(int numindices,int* indices)=0;
41  virtual void Serve(int row,int numindices)=0;
42  virtual int GetResultArraySize(void)=0;
43  virtual int GetResultInterpolation(void)=0;
44  virtual int GetResultNumberOfNodes(void)=0;
45 };
46 #endif /* _ELEMENTINPUT_H */
ElementInput2::SetInput
virtual void SetInput(int interp_in, int row, IssmDouble value_in)=0
ElementInput2::Serve
virtual void Serve(int numindices, int *indices)=0
IssmDouble
double IssmDouble
Definition: types.h:37
ElementInput2::GetResultNumberOfNodes
virtual int GetResultNumberOfNodes(void)=0
ElementInput2::~ElementInput2
~ElementInput2()
Definition: ElementInput2.cpp:25
ElementInput2::Marshall
virtual void Marshall(char **pmarshalled_data, int *pmarshalled_data_size, int marshall_direction)=0
ElementInput2::interpolation
int interpolation
Definition: ElementInput2.h:12
ElementInput2::GetInputDerivativeValue
virtual void GetInputDerivativeValue(IssmDouble *derivativevalues, IssmDouble *xyz_list, Gauss *gauss)=0
ElementInput2
Definition: ElementInput2.h:7
ElementInput2::numberofelements_local
int numberofelements_local
Definition: ElementInput2.h:10
ElementInput2::ElementInput2
ElementInput2()
Definition: ElementInput2.cpp:16
ElementInput2::SetInput
virtual void SetInput(int interp_in, int row, int numinds, IssmDouble *values_in)=0
ElementInput2::values
IssmDouble * values
Definition: ElementInput2.h:15
ElementInput2::Id
virtual int Id()=0
ElementInput2::GetInterpolation
virtual int GetInterpolation()=0
ElementInput2::Echo
virtual void Echo()=0
Input2.h
abstract class for Input2 object
Input2
Definition: Input2.h:18
ElementInput2::SetInput
virtual void SetInput(int interp_in, int numinds, int *rows, IssmDouble *values_in)=0
ElementInput2::GetResultArraySize
virtual int GetResultArraySize(void)=0
ElementInput2::ObjectEnum
virtual int ObjectEnum()=0
ElementInput2::Serve
virtual void Serve(int row, int numindices)=0
ElementInput2::N
int N
Definition: ElementInput2.h:13
ElementInput2::GetInputInterpolationType
int GetInputInterpolationType()
Definition: ElementInput2.cpp:32
ElementInput2::DeepEcho
virtual void DeepEcho()=0
ElementInput2::element_values
IssmDouble * element_values
Definition: ElementInput2.h:18
ElementInput2::numberofvertices_local
int numberofvertices_local
Definition: ElementInput2.h:11
ElementInput2::GetResultInterpolation
virtual int GetResultInterpolation(void)=0
ElementInput2::M
int M
Definition: ElementInput2.h:13
ElementInput2::copy
virtual Input2 * copy()=0
ElementInput2::isserved
bool isserved
Definition: ElementInput2.h:14
Gauss
Definition: Gauss.h:8
ElementInput2::GetInputValue
virtual void GetInputValue(IssmDouble *pvalue, Gauss *gauss)=0