[11291] | 1 | /*! \file TriaP1Input.h
|
---|
| 2 | * \brief: header file for TriaP1Input object
|
---|
[3683] | 3 | */
|
---|
| 4 |
|
---|
| 5 |
|
---|
[11291] | 6 | #ifndef _TRIAP1INPUT_H_
|
---|
| 7 | #define _TRIAP1INPUT_H_
|
---|
[3683] | 8 |
|
---|
| 9 | /*Headers:*/
|
---|
| 10 | /*{{{1*/
|
---|
| 11 | #include "./Input.h"
|
---|
[3828] | 12 | #include "../Elements/TriaRef.h"
|
---|
[5629] | 13 | class GaussTria;
|
---|
[3683] | 14 | /*}}}*/
|
---|
| 15 |
|
---|
[11291] | 16 | class TriaP1Input: public Input,public TriaRef{
|
---|
[3683] | 17 |
|
---|
[4039] | 18 | public:
|
---|
[3683] | 19 | /*just hold 3 values for 3 vertices: */
|
---|
| 20 | int enum_type;
|
---|
| 21 | double values[3];
|
---|
| 22 |
|
---|
[11291] | 23 | /*TriaP1Input constructors, destructors: {{{1*/
|
---|
| 24 | TriaP1Input();
|
---|
| 25 | TriaP1Input(int enum_type,double* values);
|
---|
| 26 | ~TriaP1Input();
|
---|
[3683] | 27 | /*}}}*/
|
---|
[4248] | 28 | /*Object virtual functions definitions:{{{1 */
|
---|
| 29 | void Echo();
|
---|
[3683] | 30 | void DeepEcho();
|
---|
| 31 | int Id();
|
---|
[4248] | 32 | int MyRank();
|
---|
[9883] | 33 | int ObjectEnum();
|
---|
[3683] | 34 | Object* copy();
|
---|
[4248] | 35 | /*}}}*/
|
---|
[11291] | 36 | /*TriaP1Input management: {{{1*/
|
---|
[9883] | 37 | int InstanceEnum();
|
---|
[3847] | 38 | Input* SpawnTriaInput(int* indices);
|
---|
[6412] | 39 | Input* PointwiseDivide(Input* inputB){_error_("not implemented yet");};
|
---|
[8129] | 40 | Input* PointwiseMin(Input* inputB);
|
---|
| 41 | Input* PointwiseMax(Input* inputB);
|
---|
[4050] | 42 | ElementResult* SpawnResult(int step, double time);
|
---|
[8363] | 43 | void AddTimeValues(double* values,int step,double time){_error_("not supported yet");};
|
---|
| 44 | void Configure(Parameters* parameters);
|
---|
[3683] | 45 | /*}}}*/
|
---|
| 46 | /*numerics: {{{1*/
|
---|
[10135] | 47 | void GetInputValue(bool* pvalue){_error_("not implemented yet");}
|
---|
| 48 | void GetInputValue(int* pvalue){_error_("not implemented yet");}
|
---|
| 49 | void GetInputValue(double* pvalue){_error_("not implemented yet");}
|
---|
| 50 | void GetInputValue(double* pvalue,GaussTria* gauss);
|
---|
[12299] | 51 | void GetInputValue(double* pvalue,GaussTria* gauss,double time){_error_("not implemented yet");};
|
---|
[10135] | 52 | void GetInputValue(double* pvalue,GaussPenta* gauss){_error_("not implemented yet");};
|
---|
| 53 | void GetInputValue(double* pvalue,GaussTria* gauss ,int index){_error_("not implemented yet");};
|
---|
| 54 | void GetInputValue(double* pvalue,GaussPenta* gauss,int index){_error_("not implemented yet");};
|
---|
| 55 | void GetInputDerivativeValue(double* derivativevalues, double* xyz_list, GaussTria* gauss);
|
---|
| 56 | void GetInputDerivativeValue(double* derivativevalues, double* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
|
---|
| 57 | void GetInputAverage(double* pvalue);
|
---|
[5631] | 58 | void GetVxStrainRate2d(double* epsilonvx,double* xyz_list, GaussTria* gauss);
|
---|
| 59 | void GetVyStrainRate2d(double* epsilonvy,double* xyz_list, GaussTria* gauss);
|
---|
[6412] | 60 | void GetVxStrainRate3d(double* epsilonvx,double* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
|
---|
| 61 | void GetVyStrainRate3d(double* epsilonvy,double* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
|
---|
| 62 | void GetVzStrainRate3d(double* epsilonvz,double* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
|
---|
| 63 | void GetVxStrainRate3dPattyn(double* epsilonvx,double* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
|
---|
| 64 | void GetVyStrainRate3dPattyn(double* epsilonvy,double* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
|
---|
[3732] | 65 | void ChangeEnum(int newenumtype);
|
---|
[3800] | 66 |
|
---|
[4042] | 67 | void SquareMin(double* psquaremin, bool process_units,Parameters* parameters);
|
---|
[5017] | 68 | void ConstrainMin(double minimum);
|
---|
[4047] | 69 | void Scale(double scale_factor);
|
---|
[5578] | 70 | void ArtificialNoise(double min,double max);
|
---|
[4048] | 71 | void AXPY(Input* xinput,double scalar);
|
---|
| 72 | void Constrain(double cm_min, double cm_max);
|
---|
[5513] | 73 | double InfinityNorm(void);
|
---|
[5659] | 74 | double Max(void);
|
---|
| 75 | double MaxAbs(void);
|
---|
| 76 | double Min(void);
|
---|
| 77 | double MinAbs(void);
|
---|
[6412] | 78 | void Extrude(void){_error_("not supported yet");};
|
---|
| 79 | void VerticallyIntegrate(Input* thickness_input){_error_("not supported yet");};
|
---|
[11995] | 80 | void GetVectorFromInputs(Vector* vector,int* doflist);
|
---|
[4057] | 81 | void GetValuesPtr(double** pvalues,int* pnum_values);
|
---|
[3683] | 82 | /*}}}*/
|
---|
| 83 |
|
---|
| 84 | };
|
---|
[11291] | 85 | #endif /* _TRIAP1INPUT_H */
|
---|