source: issm/trunk-jpl/src/c/classes/objects/Inputs/IntInput.h@ 14917

Last change on this file since 14917 was 14917, checked in by Eric.Larour, 12 years ago

CHG: got rid of the include/include.h headere file, finally :)

File size: 4.2 KB
Line 
1/*! \file IntInput.h
2 * \brief: header file for triavertexinput object
3 */
4
5#ifndef _INTINPUT_H_
6#define _INTINPUT_H_
7
8/*Headers:*/
9/*{{{*/
10#include "./Input.h"
11class GaussTria;
12/*}}}*/
13
14class IntInput: public Input{
15
16 public:
17 /*just hold 3 values for 3 vertices: */
18 int enum_type;
19 IssmInt value;
20
21 /*IntInput constructors, destructors: {{{*/
22 IntInput();
23 IntInput(int enum_type,IssmInt value);
24 ~IntInput();
25 /*}}}*/
26 /*Object virtual functions definitions:{{{ */
27 void Echo();
28 void DeepEcho();
29 int Id();
30 int ObjectEnum();
31 Object* copy();
32 /*}}}*/
33 /*IntInput management: {{{*/
34 int InstanceEnum();
35 Input* SpawnTriaInput(int* indices);
36 Input* PointwiseDivide(Input* inputB){_error_("not implemented yet");};
37 Input* PointwiseMin(Input* inputB){_error_("not implemented yet");};
38 Input* PointwiseMax(Input* inputB){_error_("not implemented yet");};
39 ElementResult* SpawnResult(int step, IssmDouble time);
40 void AddTimeValues(IssmDouble* values,int step,IssmDouble time){_error_("not supported yet");};
41 void Configure(Parameters* parameters);
42 /*}}}*/
43 /*numerics: {{{*/
44 void GetInputValue(bool* pvalue);
45 void GetInputValue(int* pvalue);
46 void GetInputValue(IssmDouble* pvalue);
47 void GetInputValue(IssmDouble* pvalue,GaussTria* gauss);
48 void GetInputValue(IssmDouble* pvalue,GaussPenta* gauss);
49 void GetInputValue(IssmDouble* pvalue,GaussTria* gauss,IssmDouble time){_error_("not implemented yet");};
50 void GetInputValue(IssmDouble* pvalue,GaussPenta* gauss,IssmDouble time){_error_("not implemented yet");};
51 void GetInputValue(IssmDouble* pvalue,GaussTria* gauss ,int index){_error_("not implemented yet");};
52 void GetInputValue(IssmDouble* pvalue,GaussPenta* gauss ,int index){_error_("not implemented yet");};
53 void GetInputDerivativeValue(IssmDouble* derivativevalues, IssmDouble* xyz_list, GaussTria* gauss);
54 void GetInputDerivativeValue(IssmDouble* derivativevalues, IssmDouble* xyz_list, GaussPenta* gauss);
55 void GetInputAverage(IssmDouble* pvalue){_error_("not implemented yet");};
56 void GetInputAllTimeAverages(IssmDouble** pvalues,IssmDouble** ptimes, int* pnumtimes){_error_("not implemented yet");};
57 void GetInputUpToCurrentTimeAverages(IssmDouble** pvalues, IssmDouble** ptimes, int* pnumtimes, IssmDouble currenttime){_error_("not implemented yet");};
58
59 void GetVxStrainRate2d(IssmDouble* epsilonvx,IssmDouble* xyz_list, GaussTria* gauss){_error_("not implemented yet");};
60 void GetVyStrainRate2d(IssmDouble* epsilonvy,IssmDouble* xyz_list, GaussTria* gauss){_error_("not implemented yet");};
61 void GetVxStrainRate3d(IssmDouble* epsilonvx,IssmDouble* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
62 void GetVyStrainRate3d(IssmDouble* epsilonvy,IssmDouble* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
63 void GetVzStrainRate3d(IssmDouble* epsilonvz,IssmDouble* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
64 void GetVxStrainRate3dPattyn(IssmDouble* epsilonvx,IssmDouble* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
65 void GetVyStrainRate3dPattyn(IssmDouble* epsilonvy,IssmDouble* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
66 void ChangeEnum(int newenumtype);
67 void SquareMin(IssmDouble* psquaremin, bool process_units,Parameters* parameters);
68 void ConstrainMin(IssmDouble minimum){_error_("not implemented yet");};
69 void Scale(IssmDouble scale_factor);
70 void ArtificialNoise(IssmDouble min,IssmDouble max){_error_("not implemented yet");};
71 void AXPY(Input* xinput,IssmDouble scalar);
72 void Constrain(IssmDouble cm_min, IssmDouble cm_max);
73 IssmDouble InfinityNorm(void){_error_("InfinityNorm not implemented for integers");};
74 IssmDouble Max(void){_error_("Max not implemented for integers");};
75 IssmDouble MaxAbs(void){_error_("Max not implemented for integers");};
76 IssmDouble Min(void){_error_("Min not implemented for integers");};
77 IssmDouble MinAbs(void){_error_("Min not implemented for integers");};
78 void Extrude(void){_error_("not supported yet");};
79 void VerticallyIntegrate(Input* thickness_input){_error_("not supported yet");};
80 void GetVectorFromInputs(Vector<IssmDouble>* vector,int* doflist);
81 void GetValuesPtr(IssmDouble** pvalues,int* pnum_values);
82 /*}}}*/
83
84};
85#endif /* _INTINPUT_H */
Note: See TracBrowser for help on using the repository browser.