1 | /*! \file ControlInput2.h
|
---|
2 | * \brief: header file for triavertexinput object
|
---|
3 | */
|
---|
4 |
|
---|
5 | #ifndef _CONTROLINPUT2_H_
|
---|
6 | #define _CONTROLINPUT2_H_
|
---|
7 |
|
---|
8 | /*Headers:*/
|
---|
9 | #include "./Input2.h"
|
---|
10 | class Gauss;
|
---|
11 | class ElementInput2;
|
---|
12 |
|
---|
13 | class ControlInput2: public Input2{
|
---|
14 |
|
---|
15 | public:
|
---|
16 | int control_id;
|
---|
17 | int enum_type;
|
---|
18 | int layout_enum;
|
---|
19 | ElementInput2 *gradient;
|
---|
20 | ElementInput2 *maxvalues;
|
---|
21 | ElementInput2 *minvalues;
|
---|
22 | ElementInput2 *savedvalues;
|
---|
23 | ElementInput2 *values;
|
---|
24 |
|
---|
25 | /*ControlInput2 constructors, destructors: {{{*/
|
---|
26 | ControlInput2();
|
---|
27 | ControlInput2(int nbe, int nbv,int input_layout_enum,int interp,int id);
|
---|
28 | ~ControlInput2();
|
---|
29 | /*}}}*/
|
---|
30 | /*Object virtual functions definitions:{{{ */
|
---|
31 | Input2* copy();
|
---|
32 | void DeepEcho();
|
---|
33 | void Echo();
|
---|
34 | int Id();
|
---|
35 | void Marshall(char** pmarshalled_data,int* pmarshalled_data_size, int marshall_direction);
|
---|
36 | int ObjectEnum();
|
---|
37 | /*}}}*/
|
---|
38 | void SetInput(Input2* in_input){_error_("not impelemented");};
|
---|
39 | void SetInput(Input2* in_input,int timeoffset){_error_("not impelemented");};
|
---|
40 | ElementInput2* GetInput2(const char* data);
|
---|
41 | void SetControl(int interp,int numindices,int* indices,IssmDouble* values_in,IssmDouble* values_min,IssmDouble* values_max);
|
---|
42 | void SetGradient(int interp,int numindices,int* indices,IssmDouble* values_in);
|
---|
43 | void SetGradient(int interp,int numindices,int* indices,IssmDouble* values_in,int n);
|
---|
44 | TriaInput2* GetTriaInput();
|
---|
45 | PentaInput2* GetPentaInput();
|
---|
46 | };
|
---|
47 | #endif /* _CONTROLINPUT_H */
|
---|