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

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

CHG: some cleanup

File size: 3.2 KB
Line 
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
13class 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:{{{ */
26 Object* copy();
27 void DeepEcho();
28 void Echo();
29 int Id();
30 void Marshall(char** pmarshalled_data,int* pmarshalled_data_size, int marshall_direction);
31 int ObjectEnum();
32 /*}}}*/
33 /*DoubleArrayInput management: {{{*/
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;};
39 int InstanceEnum();
40 void ResultToMatrix(IssmDouble* values,int ncols,int sid);
41 Input* SpawnSegInput(int index1,int index2){_error_("not implemented yet");};
42 Input* SpawnTriaInput(int index1,int index2,int index3){_error_("not implemented yet");};
43 /*}}}*/
44 /*numerics: {{{*/
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");};
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");};
59 void GetVectorFromInputs(Vector<IssmDouble>* vector,int* doflist){_error_("not implemented yet");};
60 int GetInputInterpolationType(){_error_("not implemented yet!");};
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");};
66 void Scale(IssmDouble scale_factor){_error_("not implemented yet");};
67 void Set(IssmDouble setvalue){_error_("Set not implemented yet");};
68 /*}}}*/
69
70};
71#endif /* _DOUBLE_ARRAY_INPUT_H */
Note: See TracBrowser for help on using the repository browser.