| 1 | /*! \file TriaP1Input.h
|
|---|
| 2 | * \brief: header file for TriaP1Input object
|
|---|
| 3 | */
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 | #ifndef _TRIAP1INPUT_H_
|
|---|
| 7 | #define _TRIAP1INPUT_H_
|
|---|
| 8 |
|
|---|
| 9 | /*Headers:*/
|
|---|
| 10 | /*{{{1*/
|
|---|
| 11 | #include "./Input.h"
|
|---|
| 12 | #include "../Elements/TriaRef.h"
|
|---|
| 13 | class GaussTria;
|
|---|
| 14 | /*}}}*/
|
|---|
| 15 |
|
|---|
| 16 | class TriaP1Input: public Input,public TriaRef{
|
|---|
| 17 |
|
|---|
| 18 | public:
|
|---|
| 19 | /*just hold 3 values for 3 vertices: */
|
|---|
| 20 | int enum_type;
|
|---|
| 21 | double values[3];
|
|---|
| 22 |
|
|---|
| 23 | /*TriaP1Input constructors, destructors: {{{1*/
|
|---|
| 24 | TriaP1Input();
|
|---|
| 25 | TriaP1Input(int enum_type,double* values);
|
|---|
| 26 | ~TriaP1Input();
|
|---|
| 27 | /*}}}*/
|
|---|
| 28 | /*Object virtual functions definitions:{{{1 */
|
|---|
| 29 | void Echo();
|
|---|
| 30 | void DeepEcho();
|
|---|
| 31 | int Id();
|
|---|
| 32 | int MyRank();
|
|---|
| 33 | int ObjectEnum();
|
|---|
| 34 | Object* copy();
|
|---|
| 35 | /*}}}*/
|
|---|
| 36 | /*TriaP1Input management: {{{1*/
|
|---|
| 37 | int InstanceEnum();
|
|---|
| 38 | Input* SpawnTriaInput(int* indices);
|
|---|
| 39 | Input* PointwiseDivide(Input* inputB){_error_("not implemented yet");};
|
|---|
| 40 | Input* PointwiseMin(Input* inputB);
|
|---|
| 41 | Input* PointwiseMax(Input* inputB);
|
|---|
| 42 | ElementResult* SpawnResult(int step, double time);
|
|---|
| 43 | void AddTimeValues(double* values,int step,double time){_error_("not supported yet");};
|
|---|
| 44 | void Configure(Parameters* parameters);
|
|---|
| 45 | /*}}}*/
|
|---|
| 46 | /*numerics: {{{1*/
|
|---|
| 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);
|
|---|
| 51 | void GetInputValue(double* pvalue,GaussTria* gauss,double time){_error_("not implemented yet");};
|
|---|
| 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);
|
|---|
| 58 | void GetVxStrainRate2d(double* epsilonvx,double* xyz_list, GaussTria* gauss);
|
|---|
| 59 | void GetVyStrainRate2d(double* epsilonvy,double* xyz_list, GaussTria* gauss);
|
|---|
| 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");};
|
|---|
| 65 | void ChangeEnum(int newenumtype);
|
|---|
| 66 |
|
|---|
| 67 | void SquareMin(double* psquaremin, bool process_units,Parameters* parameters);
|
|---|
| 68 | void ConstrainMin(double minimum);
|
|---|
| 69 | void Scale(double scale_factor);
|
|---|
| 70 | void ArtificialNoise(double min,double max);
|
|---|
| 71 | void AXPY(Input* xinput,double scalar);
|
|---|
| 72 | void Constrain(double cm_min, double cm_max);
|
|---|
| 73 | double InfinityNorm(void);
|
|---|
| 74 | double Max(void);
|
|---|
| 75 | double MaxAbs(void);
|
|---|
| 76 | double Min(void);
|
|---|
| 77 | double MinAbs(void);
|
|---|
| 78 | void Extrude(void){_error_("not supported yet");};
|
|---|
| 79 | void VerticallyIntegrate(Input* thickness_input){_error_("not supported yet");};
|
|---|
| 80 | void GetVectorFromInputs(Vector* vector,int* doflist);
|
|---|
| 81 | void GetValuesPtr(double** pvalues,int* pnum_values);
|
|---|
| 82 | /*}}}*/
|
|---|
| 83 |
|
|---|
| 84 | };
|
|---|
| 85 | #endif /* _TRIAP1INPUT_H */
|
|---|