source: issm/trunk/src/c/objects/Inputs/TriaP1Input.h@ 12358

Last change on this file since 12358 was 12358, checked in by Mathieu Morlighem, 13 years ago

Added GetInputValue method for GaussPenta

File size: 3.5 KB
Line 
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"
13class GaussTria;
14/*}}}*/
15
16class 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,GaussPenta* gauss){_error_("not implemented yet");};
52 void GetInputValue(double* pvalue,GaussTria* gauss,double time){_error_("not implemented yet");};
53 void GetInputValue(double* pvalue,GaussPenta* gauss,double time){_error_("not implemented yet");};
54 void GetInputValue(double* pvalue,GaussTria* gauss ,int index){_error_("not implemented yet");};
55 void GetInputValue(double* pvalue,GaussPenta* gauss,int index){_error_("not implemented yet");};
56 void GetInputDerivativeValue(double* derivativevalues, double* xyz_list, GaussTria* gauss);
57 void GetInputDerivativeValue(double* derivativevalues, double* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
58 void GetInputAverage(double* pvalue);
59 void GetVxStrainRate2d(double* epsilonvx,double* xyz_list, GaussTria* gauss);
60 void GetVyStrainRate2d(double* epsilonvy,double* xyz_list, GaussTria* gauss);
61 void GetVxStrainRate3d(double* epsilonvx,double* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
62 void GetVyStrainRate3d(double* epsilonvy,double* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
63 void GetVzStrainRate3d(double* epsilonvz,double* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
64 void GetVxStrainRate3dPattyn(double* epsilonvx,double* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
65 void GetVyStrainRate3dPattyn(double* epsilonvy,double* xyz_list, GaussPenta* gauss){_error_("not implemented yet");};
66 void ChangeEnum(int newenumtype);
67
68 void SquareMin(double* psquaremin, bool process_units,Parameters* parameters);
69 void ConstrainMin(double minimum);
70 void Scale(double scale_factor);
71 void ArtificialNoise(double min,double max);
72 void AXPY(Input* xinput,double scalar);
73 void Constrain(double cm_min, double cm_max);
74 double InfinityNorm(void);
75 double Max(void);
76 double MaxAbs(void);
77 double Min(void);
78 double MinAbs(void);
79 void Extrude(void){_error_("not supported yet");};
80 void VerticallyIntegrate(Input* thickness_input){_error_("not supported yet");};
81 void GetVectorFromInputs(Vector* vector,int* doflist);
82 void GetValuesPtr(double** pvalues,int* pnum_values);
83 /*}}}*/
84
85};
86#endif /* _TRIAP1INPUT_H */
Note: See TracBrowser for help on using the repository browser.