[19554] | 1 | /*! \file DoubleArrayInput.h
|
---|
| 2 | * \brief: header file for vector type input object
|
---|
| 3 | */
|
---|
| 4 |
|
---|
| 5 | #ifndef _DOUBLE_ARRAY_INPUT_H_
|
---|
| 6 | #define _DOUBLE_ARRAY_INPUT_H_
|
---|
| 7 |
|
---|
| 8 | /*Headers:*/
|
---|
| 9 | /*{{{*/
|
---|
| 10 | #include "./Input.h"
|
---|
| 11 | /*}}}*/
|
---|
| 12 |
|
---|
| 13 | class DoubleArrayInput: public Input{
|
---|
| 14 |
|
---|
| 15 | public:
|
---|
| 16 | int enum_type;
|
---|
| 17 | IssmDouble* values; /*vector*/
|
---|
| 18 | int m; /*size of vector*/
|
---|
| 19 |
|
---|
| 20 | /*DoubleArrayInput constructors, destructors: {{{*/
|
---|
| 21 | DoubleArrayInput();
|
---|
| 22 | DoubleArrayInput(int enum_type,IssmDouble* values, int m);
|
---|
| 23 | ~DoubleArrayInput();
|
---|
| 24 | /*}}}*/
|
---|
| 25 | /*Object virtual functions definitions:{{{ */
|
---|
[20827] | 26 | Object* copy();
|
---|
| 27 | void DeepEcho();
|
---|
[19554] | 28 | void Echo();
|
---|
| 29 | int Id();
|
---|
[20827] | 30 | void Marshall(char** pmarshalled_data,int* pmarshalled_data_size, int marshall_direction);
|
---|
[19554] | 31 | int ObjectEnum();
|
---|
| 32 | /*}}}*/
|
---|
| 33 | /*DoubleArrayInput management: {{{*/
|
---|
[20827] | 34 | void Configure(Parameters* parameters);
|
---|
| 35 | void GetValues(IssmDouble** pvalues,int* pm);
|
---|
| 36 | int GetResultArraySize(void){return m;};
|
---|
| 37 | int GetResultInterpolation(void){return P0ArrayEnum;};
|
---|
| 38 | int GetResultNumberOfNodes(void){return 1;};
|
---|
[19554] | 39 | int InstanceEnum();
|
---|
| 40 | void ResultToMatrix(IssmDouble* values,int ncols,int sid);
|
---|
[20827] | 41 | Input* SpawnSegInput(int index1,int index2){_error_("not implemented yet");};
|
---|
| 42 | Input* SpawnTriaInput(int index1,int index2,int index3){_error_("not implemented yet");};
|
---|
[19554] | 43 | /*}}}*/
|
---|
| 44 | /*numerics: {{{*/
|
---|
[20827] | 45 | void AXPY(Input* xinput,IssmDouble scalar){_error_("not implemented yet");};
|
---|
| 46 | void ChangeEnum(int newenumtype);
|
---|
| 47 | void Extrude(int start){_error_("not supported yet");};
|
---|
| 48 | void GetInputAllTimeAverages(IssmDouble** pvalues,IssmDouble** ptimes, int* pnumtimes){_error_("not implemented yet");};
|
---|
| 49 | void GetInputAverage(IssmDouble* pvalue){_error_("not implemented yet");};
|
---|
| 50 | void GetInputDerivativeAverageValue(IssmDouble* derivativevalues, IssmDouble* xyz_list){_error_("not implemented yet");};
|
---|
| 51 | void GetInputDerivativeValue(IssmDouble* derivativevalues, IssmDouble* xyz_list,Gauss* gauss){_error_("not implemented yet");};
|
---|
[19554] | 52 | void GetInputValue(bool* pvalue){_error_("not implemented yet");};
|
---|
| 53 | void GetInputValue(int* pvalue){_error_("not implemented yet");};
|
---|
| 54 | void GetInputValue(IssmDouble* pvalue){_error_("not implemented yet");};
|
---|
| 55 | void GetInputValue(IssmDouble* pvalue,Gauss* gauss){_error_("not implemented yet");};
|
---|
| 56 | void GetInputValue(IssmDouble* pvalue,Gauss* gauss,IssmDouble time){_error_("not implemented yet");};
|
---|
| 57 | void GetInputValue(IssmDouble* pvalue,Gauss* gauss ,int index){_error_("not implemented yet");};
|
---|
| 58 | void GetInputUpToCurrentTimeAverages(IssmDouble** pvalues, IssmDouble** ptimes, int* pnumtimes, IssmDouble currenttime){_error_("not implemented yet");};
|
---|
[20827] | 59 | void GetVectorFromInputs(Vector<IssmDouble>* vector,int* doflist){_error_("not implemented yet");};
|
---|
[21748] | 60 | int GetInputInterpolationType(){_error_("not implemented yet!");};
|
---|
[19554] | 61 | IssmDouble InfinityNorm(void){_error_("not implemented yet");};
|
---|
| 62 | IssmDouble Max(void){_error_("not implemented yet");};
|
---|
| 63 | IssmDouble MaxAbs(void){_error_("not implemented yet");};
|
---|
| 64 | IssmDouble Min(void){_error_("not implemented yet");};
|
---|
| 65 | IssmDouble MinAbs(void){_error_("not implemented yet");};
|
---|
[20827] | 66 | void Scale(IssmDouble scale_factor){_error_("not implemented yet");};
|
---|
| 67 | void Set(IssmDouble setvalue){_error_("Set not implemented yet");};
|
---|
[19554] | 68 | /*}}}*/
|
---|
| 69 |
|
---|
| 70 | };
|
---|
| 71 | #endif /* _DOUBLE_ARRAY_INPUT_H */
|
---|