Changeset 25379 for issm/trunk-jpl/src/c/classes/Inputs/PentaInput.h
- Timestamp:
- 08/11/20 19:43:31 (5 years ago)
- Location:
- issm/trunk-jpl/src/c/classes/Inputs
- Files:
-
- 1 copied
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/Inputs/PentaInput.h
r25378 r25379 3 3 4 4 /*Headers:*/ 5 #include "./ElementInput 2.h"5 #include "./ElementInput.h" 6 6 #include "../Elements/PentaRef.h" 7 7 8 class PentaInput 2: public ElementInput2, public PentaRef{8 class PentaInput: public ElementInput, public PentaRef{ 9 9 10 10 private: 11 11 int isserved_collapsed; 12 12 public: 13 /*PentaInput 2constructors, destructors: {{{*/14 PentaInput 2();15 PentaInput 2(int nbe_in,int nbv_in,int interp_in);16 ~PentaInput 2();13 /*PentaInput constructors, destructors: {{{*/ 14 PentaInput(); 15 PentaInput(int nbe_in,int nbv_in,int interp_in); 16 ~PentaInput(); 17 17 /*}}}*/ 18 18 /*Object virtual functions definitions:{{{ */ 19 Input 2*copy();19 Input *copy(); 20 20 void DeepEcho(); 21 21 void Echo(); … … 24 24 int ObjectEnum(); 25 25 /*}}}*/ 26 /*PentaInput 2management: {{{*/26 /*PentaInput management: {{{*/ 27 27 void SetInput(int interp_in,int row,IssmDouble value_in); 28 28 void SetInput(int interp_in,int numinds,int* rows,IssmDouble* values_in); … … 34 34 IssmDouble GetInputMax(); 35 35 IssmDouble GetInputMaxAbs(); 36 PentaInput 2* GetPentaInput(){return this;};36 PentaInput* GetPentaInput(){return this;}; 37 37 void GetInputValue(IssmDouble* pvalue,Gauss* gauss); 38 38 void Scale(IssmDouble scalar); 39 39 void Pow(IssmDouble scalar); 40 void AXPY(Input 2* xinput,IssmDouble scalar);41 void PointWiseMult(Input 2* xinput);40 void AXPY(Input* xinput,IssmDouble scalar); 41 void PointWiseMult(Input* xinput); 42 42 void Serve(int numindices,int* indices); 43 43 void Serve(int row,int numindices);
Note:
See TracChangeset
for help on using the changeset viewer.