[6200] | 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"
|
---|
| 13 | class GaussTria;
|
---|
| 14 | /*}}}*/
|
---|
| 15 |
|
---|
| 16 | class ControlInput: public Input{
|
---|
| 17 |
|
---|
| 18 | public:
|
---|
| 19 | int enum_type;
|
---|
[6260] | 20 | int control_id;
|
---|
[6200] | 21 | Input* values;
|
---|
| 22 | Input* savedvalues;
|
---|
[8129] | 23 | Input* minvalues;
|
---|
| 24 | Input* maxvalues;
|
---|
[6200] | 25 | Input* gradient;
|
---|
| 26 |
|
---|
| 27 | /*ControlInput constructors, destructors: {{{1*/
|
---|
| 28 | ControlInput();
|
---|
[8129] | 29 | ControlInput(int enum_type,int enum_input,double* pvalues,double* pmin,double* pmax,int id);
|
---|
[6200] | 30 | ~ControlInput();
|
---|
| 31 | /*}}}*/
|
---|
| 32 | /*Object virtual functions definitions:{{{1 */
|
---|
| 33 | void Echo();
|
---|
| 34 | void DeepEcho();
|
---|
| 35 | int Id();
|
---|
| 36 | int MyRank();
|
---|
[9883] | 37 | int ObjectEnum();
|
---|
[6200] | 38 | Object* copy();
|
---|
| 39 | /*}}}*/
|
---|
| 40 | /*ControlInput management: {{{1*/
|
---|
[9883] | 41 | int InstanceEnum();
|
---|
[6200] | 42 | Input* SpawnTriaInput(int* indices);
|
---|
[6412] | 43 | Input* PointwiseDivide(Input* inputB){_error_("not implemented yet");};
|
---|
[8129] | 44 | Input* PointwiseMin(Input* inputB){_error_("not implemented yet");};
|
---|
| 45 | Input* PointwiseMax(Input* inputB){_error_("not implemented yet");};
|
---|
[6200] | 46 | ElementResult* SpawnResult(int step, double time);
|
---|
[8363] | 47 | void AddTimeValues(double* values,int step,double time){_error_("not supported yet");};
|
---|
| 48 | void Configure(Parameters* parameters);
|
---|
[6200] | 49 | /*}}}*/
|
---|
| 50 | /*numerics: {{{1*/
|
---|
[11317] | 51 | void SetInput(Input* in_input);
|
---|
[10135] | 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);
|
---|
[6412] | 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");};
|
---|
[8129] | 75 | void Constrain(void);
|
---|
| 76 | void Constrain(double min,double max);
|
---|
[6412] | 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");};
|
---|
[6200] | 82 | void Extrude(void);
|
---|
| 83 | void VerticallyIntegrate(Input* thickness_input);
|
---|
[11695] | 84 | void GetVectorFromInputs(Vector* vector,int* doflist,const char* data);
|
---|
| 85 | void GetVectorFromInputs(Vector* vector,int* doflist);
|
---|
[6412] | 86 | void GetValuesPtr(double** pvalues,int* pnum_values){_error_("not implemented yet");};
|
---|
[6200] | 87 | ElementResult* SpawnGradient(int step, double time);
|
---|
[11695] | 88 | void GetGradient(Vector* gradient_vec,int* doflist);
|
---|
[6238] | 89 | void ScaleGradient(double scale);
|
---|
[6200] | 90 | void SetGradient(Input* gradient_in);
|
---|
| 91 | void UpdateValue(double scalar);
|
---|
| 92 | void SaveValue(void);
|
---|
| 93 | /*}}}*/
|
---|
| 94 |
|
---|
| 95 | };
|
---|
| 96 | #endif /* _CONTROLINPUT_H */
|
---|