Ice Sheet System Model  4.18
Code documentation
SegInput2.h
Go to the documentation of this file.
1 #ifndef _SEGINPUT2_H_
2 #define _SEGINPUT2_H_
3 
4 /*Headers:*/
5 #include "./ElementInput2.h"
6 #include "../Elements/SegRef.h"
7 
8 class SegInput2: public ElementInput2, public SegRef{
9 
10  public:
11  /*SegInput2 constructors, destructors: {{{*/
12  SegInput2();
13  SegInput2(int nbe_in,int nbv_in,int interp_in);
14  ~SegInput2();
15  /*}}}*/
16  /*Object virtual functions definitions:{{{ */
17  Input2 *copy();
18  void DeepEcho();
19  void Echo();
20  int Id();
21  void Marshall(char** pmarshalled_data,int* pmarshalled_data_size, int marshall_direction);
22  int ObjectEnum();
23  /*}}}*/
24  /*SegInput2 management: {{{*/
25  void SetInput(int interp_in,int row,IssmDouble value_in);
26  void SetInput(int interp_in,int numinds,int* rows,IssmDouble* values_in);
27  void SetInput(int interp_in,int row,int numinds,IssmDouble* values_in);
28  int GetInterpolation();
29  void GetInputDerivativeValue(IssmDouble* derivativevalues, IssmDouble* xyz_list, Gauss* gauss);
30  void GetInputAverage(IssmDouble* pvalue);
34  SegInput2* GetSegInput(){return this;};
35  void GetInputValue(IssmDouble* pvalue,Gauss* gauss);
36  void Scale(IssmDouble scalar);
37  void Pow(IssmDouble scalar);
38  void AXPY(Input2* xinput,IssmDouble scalar);
39  void PointWiseMult(Input2* xinput);
40  void Serve(int numindices,int* indices);
41  void Serve(int row,int numindices);
42  int GetResultArraySize(void);
43  int GetResultInterpolation(void);
44  int GetResultNumberOfNodes(void);
45  /*}}}*/
46  void Reset(int interp_in);
47 
48 };
49 #endif /* _SEGINPUT_H */
SegInput2::GetSegInput
SegInput2 * GetSegInput()
Definition: SegInput2.h:34
SegInput2::Echo
void Echo()
Definition: SegInput2.cpp:94
IssmDouble
double IssmDouble
Definition: types.h:37
SegRef
Definition: SegRef.h:12
SegInput2::GetInputMin
IssmDouble GetInputMin()
Definition: SegInput2.cpp:243
ElementInput2.h
SegInput2::GetInputDerivativeValue
void GetInputDerivativeValue(IssmDouble *derivativevalues, IssmDouble *xyz_list, Gauss *gauss)
Definition: SegInput2.cpp:279
SegInput2::SetInput
void SetInput(int interp_in, int row, IssmDouble value_in)
Definition: SegInput2.cpp:136
SegInput2::GetResultNumberOfNodes
int GetResultNumberOfNodes(void)
Definition: SegInput2.cpp:301
SegInput2
Definition: SegInput2.h:8
SegInput2::SegInput2
SegInput2()
Definition: SegInput2.cpp:16
SegInput2::Marshall
void Marshall(char **pmarshalled_data, int *pmarshalled_data_size, int marshall_direction)
Definition: SegInput2.cpp:110
ElementInput2
Definition: ElementInput2.h:7
SegInput2::Serve
void Serve(int numindices, int *indices)
Definition: SegInput2.cpp:197
SegInput2::AXPY
void AXPY(Input2 *xinput, IssmDouble scalar)
Definition: SegInput2.cpp:317
SegInput2::PointWiseMult
void PointWiseMult(Input2 *xinput)
Definition: SegInput2.cpp:329
SegInput2::~SegInput2
~SegInput2()
Definition: SegInput2.cpp:40
SegInput2::Pow
void Pow(IssmDouble scalar)
Definition: SegInput2.cpp:311
SegInput2::GetResultArraySize
int GetResultArraySize(void)
Definition: SegInput2.cpp:291
SegInput2::GetInterpolation
int GetInterpolation()
Definition: SegInput2.cpp:227
Input2
Definition: Input2.h:18
SegInput2::Scale
void Scale(IssmDouble scalar)
Definition: SegInput2.cpp:305
SegInput2::copy
Input2 * copy()
Definition: SegInput2.cpp:70
SegInput2::ObjectEnum
int ObjectEnum()
Definition: SegInput2.cpp:130
SegInput2::GetInputMaxAbs
IssmDouble GetInputMaxAbs()
Definition: SegInput2.cpp:267
SegInput2::DeepEcho
void DeepEcho()
Definition: SegInput2.cpp:80
SegInput2::Id
int Id()
Definition: SegInput2.cpp:107
SegInput2::Reset
void Reset(int interp_in)
Definition: SegInput2.cpp:45
SegInput2::GetInputValue
void GetInputValue(IssmDouble *pvalue, Gauss *gauss)
Definition: SegInput2.cpp:285
SegInput2::GetResultInterpolation
int GetResultInterpolation(void)
Definition: SegInput2.cpp:295
Gauss
Definition: Gauss.h:8
SegInput2::GetInputAverage
void GetInputAverage(IssmDouble *pvalue)
Definition: SegInput2.cpp:230
SegInput2::GetInputMax
IssmDouble GetInputMax()
Definition: SegInput2.cpp:255