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

Last change on this file since 21974 was 21974, checked in by Mathieu Morlighem, 8 years ago

CHG: some cleanup

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 Object *copy();
30 void DeepEcho();
31 void Echo();
32 int Id();
33 void Marshall(char** pmarshalled_data,int* pmarshalled_data_size, int marshall_direction);
34 int ObjectEnum();
35
36 /*TetraInput management:*/
37 void AddTimeValues(IssmDouble* values,int step,IssmDouble time){_error_("not supported yet");};
38 void Configure(Parameters* parameters);
39 int GetResultArraySize(void){return 1;};
40 int GetResultInterpolation(void);
41 int GetResultNumberOfNodes(void);
42 int InstanceEnum();
43 void ResultToPatch(IssmDouble* values,int nodesperelement,int sid);
44 Input* SpawnSegInput(int index1,int index2){_error_("not supported yet");};
45 Input* SpawnTriaInput(int index1,int index2,int index3);
46
47 /*numerics*/
48 void AXPY(Input* xinput,IssmDouble scalar);
49 void ChangeEnum(int newenumtype);
50 void Extrude(int start){_error_("not supported yet");};
51 void GetInputAllTimeAverages(IssmDouble** pvalues,IssmDouble** ptimes, int* pnumtimes);
52 void GetInputAverage(IssmDouble* pvalue);
53 void GetInputDerivativeAverageValue(IssmDouble* derivativevalues, IssmDouble* xyz_list){_error_("not implemented yet");};
54 void GetInputDerivativeValue(IssmDouble* derivativevalues, IssmDouble* xyz_list,Gauss* gauss);
55 void GetInputValue(bool* pvalue){_error_("not implemented yet");}
56 void GetInputValue(int* pvalue){_error_("not implemented yet");}
57 void GetInputValue(IssmDouble* pvalue){_error_("not implemented yet");}
58 void GetInputValue(IssmDouble* pvalue,Gauss* gauss);
59 void GetInputValue(IssmDouble* pvalue,Gauss* gauss,IssmDouble time){_error_("not implemented yet");};
60 void GetInputValue(IssmDouble* pvalue,Gauss* gauss,int index){_error_("not implemented yet");};
61 void GetInputUpToCurrentTimeAverages(IssmDouble** pvalues, IssmDouble** ptimes, int* pnumtimes, IssmDouble currenttime);
62 void GetVectorFromInputs(Vector<IssmDouble>* vector,int* doflist);
63 int GetInputInterpolationType(){_error_("not implemented yet!");};
64 IssmDouble InfinityNorm(void);
65 IssmDouble Max(void);
66 IssmDouble MaxAbs(void);
67 IssmDouble Min(void);
68 IssmDouble MinAbs(void);
69 void Scale(IssmDouble scale_factor);
70 void Set(IssmDouble setvalue);
71
72};
73#endif /* _TETRAINPUT_H */
Note: See TracBrowser for help on using the repository browser.