source: issm/trunk-jpl/src/c/classes/Inputs/TetraInput.h@ 18078

Last change on this file since 18078 was 18078, checked in by Mathieu Morlighem, 11 years ago

CHG: moved element_type to element rather than reference element

File size: 2.7 KB
Line 
1/*! \file TetraInput.h
2 * \brief: header file for TetraInput object
3 */
4
5#ifndef _TETRAINPUT_H_
6#define _TETRAINPUT_H_
7
8/*Headers:*/
9/*{{{*/
10#include "./Input.h"
11#include "../Elements/TetraRef.h"
12class Gauss;
13class Gauss;
14/*}}}*/
15
16class TetraInput: public Input,public TetraRef{
17
18 public:
19 int enum_type;
20 int interpolation_type;
21 IssmDouble* values;
22
23 /*TetraInput constructors, destructors*/
24 TetraInput();
25 TetraInput(int enum_type,IssmDouble* values,int element_type_in);
26 ~TetraInput();
27
28 /*Object virtual functions definitions*/
29 void Echo();
30 void DeepEcho();
31 int Id();
32 int ObjectEnum();
33 Object *copy();
34
35 /*TetraInput management:*/
36 int InstanceEnum();
37 Input* SpawnTriaInput(int index1,int index2,int index3);
38 Input* SpawnSegInput(int index1,int index2){_error_("not supported yet");};
39 Input* PointwiseDivide(Input* inputB);
40 Input* PointwiseMin(Input* inputB);
41 Input* PointwiseMax(Input* inputB);
42 int GetResultInterpolation(void);
43 int GetResultNumberOfNodes(void);
44 void ResultToPatch(IssmDouble* values,int nodesperelement,int sid);
45 void AddTimeValues(IssmDouble* values,int step,IssmDouble time){_error_("not supported yet");};
46 void Configure(Parameters* parameters);
47
48 /*numerics*/
49 void GetInputValue(bool* pvalue){_error_("not implemented yet");}
50 void GetInputValue(int* pvalue){_error_("not implemented yet");}
51 void GetInputValue(IssmDouble* pvalue){_error_("not implemented yet");}
52 void GetInputValue(IssmDouble* pvalue,Gauss* gauss);
53 void GetInputValue(IssmDouble* pvalue,Gauss* gauss,IssmDouble time){_error_("not implemented yet");};
54 void GetInputValue(IssmDouble* pvalue,Gauss* gauss,int index){_error_("not implemented yet");};
55 void GetInputDerivativeValue(IssmDouble* derivativevalues, IssmDouble* xyz_list,Gauss* gauss);
56 void GetInputAverage(IssmDouble* pvalue);
57 void GetInputAllTimeAverages(IssmDouble** pvalues,IssmDouble** ptimes, int* pnumtimes);
58 void GetInputUpToCurrentTimeAverages(IssmDouble** pvalues, IssmDouble** ptimes, int* pnumtimes, IssmDouble currenttime);
59 void ChangeEnum(int newenumtype);
60 void SquareMin(IssmDouble* psquaremin,Parameters* parameters);
61 void ConstrainMin(IssmDouble minimum);
62 void Set(IssmDouble setvalue);
63 void Scale(IssmDouble scale_factor);
64 void AXPY(Input* xinput,IssmDouble scalar);
65 void Constrain(IssmDouble cm_min, IssmDouble cm_max);
66 IssmDouble InfinityNorm(void);
67 IssmDouble Max(void);
68 IssmDouble MaxAbs(void);
69 IssmDouble Min(void);
70 IssmDouble MinAbs(void);
71 void Extrude(void){_error_("not supported yet");};
72 void VerticallyIntegrate(Input* thickness_input){_error_("not supported yet");};
73 void GetVectorFromInputs(Vector<IssmDouble>* vector,int* doflist);
74
75};
76#endif /* _TETRAINPUT_H */
Note: See TracBrowser for help on using the repository browser.