Ice Sheet System Model  4.18
Code documentation
PentaInput2.h
Go to the documentation of this file.
1 #ifndef _PENTAINPUT2_H_
2 #define _PENTAINPUT2_H_
3 
4 /*Headers:*/
5 #include "./ElementInput2.h"
6 #include "../Elements/PentaRef.h"
7 
8 class PentaInput2: public ElementInput2, public PentaRef{
9 
10  private:
12  public:
13  /*PentaInput2 constructors, destructors: {{{*/
14  PentaInput2();
15  PentaInput2(int nbe_in,int nbv_in,int interp_in);
16  ~PentaInput2();
17  /*}}}*/
18  /*Object virtual functions definitions:{{{ */
19  Input2 *copy();
20  void DeepEcho();
21  void Echo();
22  int Id();
23  void Marshall(char** pmarshalled_data,int* pmarshalled_data_size, int marshall_direction);
24  int ObjectEnum();
25  /*}}}*/
26  /*PentaInput2 management: {{{*/
27  void SetInput(int interp_in,int row,IssmDouble value_in);
28  void SetInput(int interp_in,int numinds,int* rows,IssmDouble* values_in);
29  void SetInput(int interp_in,int row,int numinds,IssmDouble* values_in);
30  int GetInterpolation();
31  void GetInputDerivativeValue(IssmDouble* derivativevalues, IssmDouble* xyz_list, Gauss* gauss);
32  void GetInputAverage(IssmDouble* pvalue);
36  PentaInput2* GetPentaInput(){return this;};
37  void GetInputValue(IssmDouble* pvalue,Gauss* gauss);
38  void Scale(IssmDouble scalar);
39  void Pow(IssmDouble scalar);
40  void AXPY(Input2* xinput,IssmDouble scalar);
41  void PointWiseMult(Input2* xinput);
42  void Serve(int numindices,int* indices);
43  void Serve(int row,int numindices);
44  void ServeCollapsed(int row,int state);
45  void SetServeCollapsed(int);
46  int GetResultArraySize(void);
47  int GetResultInterpolation(void);
48  int GetResultNumberOfNodes(void);
49  /*}}}*/
50  void Reset(int interp_in);
51 
52 };
53 #endif /* _TRIAINPUT_H */
PentaInput2::GetInputValue
void GetInputValue(IssmDouble *pvalue, Gauss *gauss)
Definition: PentaInput2.cpp:353
IssmDouble
double IssmDouble
Definition: types.h:37
PentaInput2::GetResultArraySize
int GetResultArraySize(void)
Definition: PentaInput2.cpp:371
PentaInput2::GetInterpolation
int GetInterpolation()
Definition: PentaInput2.cpp:266
PentaInput2::Reset
void Reset(int interp_in)
Definition: PentaInput2.cpp:48
PentaInput2::SetInput
void SetInput(int interp_in, int row, IssmDouble value_in)
Definition: PentaInput2.cpp:154
ElementInput2.h
PentaInput2::Marshall
void Marshall(char **pmarshalled_data, int *pmarshalled_data_size, int marshall_direction)
Definition: PentaInput2.cpp:128
PentaInput2::GetInputDerivativeValue
void GetInputDerivativeValue(IssmDouble *derivativevalues, IssmDouble *xyz_list, Gauss *gauss)
Definition: PentaInput2.cpp:334
PentaInput2::Serve
void Serve(int numindices, int *indices)
Definition: PentaInput2.cpp:208
PentaInput2::AXPY
void AXPY(Input2 *xinput, IssmDouble scalar)
Definition: PentaInput2.cpp:397
PentaInput2::ObjectEnum
int ObjectEnum()
Definition: PentaInput2.cpp:148
PentaInput2::GetInputMin
IssmDouble GetInputMin()
Definition: PentaInput2.cpp:295
ElementInput2
Definition: ElementInput2.h:7
PentaInput2::Echo
void Echo()
Definition: PentaInput2.cpp:109
PentaInput2::PointWiseMult
void PointWiseMult(Input2 *xinput)
Definition: PentaInput2.cpp:409
PentaInput2::ServeCollapsed
void ServeCollapsed(int row, int state)
Definition: PentaInput2.cpp:240
PentaInput2::SetServeCollapsed
void SetServeCollapsed(int)
Definition: PentaInput2.cpp:263
PentaInput2::Scale
void Scale(IssmDouble scalar)
Definition: PentaInput2.cpp:385
PentaInput2::copy
Input2 * copy()
Definition: PentaInput2.cpp:73
PentaInput2::isserved_collapsed
int isserved_collapsed
Definition: PentaInput2.h:11
PentaInput2::Pow
void Pow(IssmDouble scalar)
Definition: PentaInput2.cpp:391
PentaInput2::GetInputMax
IssmDouble GetInputMax()
Definition: PentaInput2.cpp:308
PentaInput2
Definition: PentaInput2.h:8
Input2
Definition: Input2.h:18
PentaInput2::Id
int Id()
Definition: PentaInput2.cpp:125
PentaInput2::GetResultNumberOfNodes
int GetResultNumberOfNodes(void)
Definition: PentaInput2.cpp:381
PentaInput2::DeepEcho
void DeepEcho()
Definition: PentaInput2.cpp:86
PentaInput2::GetResultInterpolation
int GetResultInterpolation(void)
Definition: PentaInput2.cpp:375
PentaInput2::GetPentaInput
PentaInput2 * GetPentaInput()
Definition: PentaInput2.h:36
PentaInput2::GetInputAverage
void GetInputAverage(IssmDouble *pvalue)
Definition: PentaInput2.cpp:269
PentaInput2::GetInputMaxAbs
IssmDouble GetInputMaxAbs()
Definition: PentaInput2.cpp:321
PentaRef
Definition: PentaRef.h:10
Gauss
Definition: Gauss.h:8
PentaInput2::PentaInput2
PentaInput2()
Definition: PentaInput2.cpp:16
PentaInput2::~PentaInput2
~PentaInput2()
Definition: PentaInput2.cpp:43