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

Last change on this file since 13414 was 13414, checked in by Mathieu Morlighem, 12 years ago

CHG: clean-up removed MyRank which is not used anymore, and removed IssmBool

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