source: issm/trunk-jpl/src/c/objects/Inputs/ControlInput.h@ 12014

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

Removing some unused SERIAL code

File size: 4.1 KB
Line 
1/*! \file ControlInput.h
2 * \brief: header file for triavertexinput object
3 */
4
5
6#ifndef _CONTROLINPUT_H_
7#define _CONTROLINPUT_H_
8
9/*Headers:*/
10/*{{{1*/
11#include "./Input.h"
12#include "../../include/include.h"
13class GaussTria;
14/*}}}*/
15
16class ControlInput: public Input{
17
18 public:
19 int enum_type;
20 int control_id;
21 Input* values;
22 Input* savedvalues;
23 Input* minvalues;
24 Input* maxvalues;
25 Input* gradient;
26
27 /*ControlInput constructors, destructors: {{{1*/
28 ControlInput();
29 ControlInput(int enum_type,int enum_input,double* pvalues,double* pmin,double* pmax,int id);
30 ~ControlInput();
31 /*}}}*/
32 /*Object virtual functions definitions:{{{1 */
33 void Echo();
34 void DeepEcho();
35 int Id();
36 int MyRank();
37 int ObjectEnum();
38 Object* copy();
39 /*}}}*/
40 /*ControlInput management: {{{1*/
41 int InstanceEnum();
42 Input* SpawnTriaInput(int* indices);
43 Input* PointwiseDivide(Input* inputB){_error_("not implemented yet");};
44 Input* PointwiseMin(Input* inputB){_error_("not implemented yet");};
45 Input* PointwiseMax(Input* inputB){_error_("not implemented yet");};
46 ElementResult* SpawnResult(int step, double time);
47 void AddTimeValues(double* values,int step,double time){_error_("not supported yet");};
48 void Configure(Parameters* parameters);
49 /*}}}*/
50 /*numerics: {{{1*/
51 void SetInput(Input* in_input);
52 void GetInputValue(bool* pvalue);
53 void GetInputValue(int* pvalue);
54 void GetInputValue(double* pvalue);
55 void GetInputValue(double* pvalue,GaussTria* gauss);
56 void GetInputValue(double* pvalue,GaussPenta* gauss);
57 void GetInputValue(double* pvalue,GaussTria* gauss ,int index){_error_("not implemented yet");};
58 void GetInputValue(double* pvalue,GaussPenta* gauss ,int index){_error_("not implemented yet");};
59 void GetInputDerivativeValue(double* derivativevalues, double* xyz_list, GaussTria* gauss);
60 void GetInputDerivativeValue(double* derivativevalues, double* xyz_list, GaussPenta* gauss);
61 void GetInputAverage(double* pvalue);
62 void GetVxStrainRate2d(double* epsilonvx,double* xyz_list, GaussTria* gauss){_error_("not implemented yet");};
63 void GetVyStrainRate2d(double* epsilonvy,double* xyz_list, GaussTria* gauss){_error_("not implemented yet");};
64 void GetVxStrainRate3d(double* epsilonvx,double* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
65 void GetVyStrainRate3d(double* epsilonvy,double* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
66 void GetVzStrainRate3d(double* epsilonvz,double* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
67 void GetVxStrainRate3dPattyn(double* epsilonvx,double* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
68 void GetVyStrainRate3dPattyn(double* epsilonvy,double* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
69 void ChangeEnum(int newenumtype){_error_("not implemented yet");};
70 void SquareMin(double* psquaremin, bool process_units,Parameters* parameters){_error_("not implemented yet");};
71 void ConstrainMin(double minimum){_error_("not implemented yet");};
72 void Scale(double scale_factor){_error_("not implemented yet");};
73 void ArtificialNoise(double min,double max){_error_("not implemented yet");};
74 void AXPY(Input* xinput,double scalar){_error_("not implemented yet");};
75 void Constrain(void);
76 void Constrain(double min,double max);
77 double InfinityNorm(void){_error_("not implemented yet");};
78 double Max(void){_error_("not implemented yet");};
79 double MaxAbs(void){_error_("not implemented yet");};
80 double Min(void){_error_("not implemented yet");};
81 double MinAbs(void){_error_("not implemented yet");};
82 void Extrude(void);
83 void VerticallyIntegrate(Input* thickness_input);
84 void GetVectorFromInputs(Vector* vector,int* doflist,const char* data);
85 void GetVectorFromInputs(Vector* vector,int* doflist);
86 void GetValuesPtr(double** pvalues,int* pnum_values){_error_("not implemented yet");};
87 ElementResult* SpawnGradient(int step, double time);
88 void GetGradient(Vector* gradient_vec,int* doflist);
89 void ScaleGradient(double scale);
90 void SetGradient(Input* gradient_in);
91 void UpdateValue(double scalar);
92 void SaveValue(void);
93 /*}}}*/
94
95};
96#endif /* _CONTROLINPUT_H */
Note: See TracBrowser for help on using the repository browser.