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

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

merged trunk-jpl and trunk for revision 11994M

File size: 3.5 KB
RevLine 
[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]13class GaussTria;
[3683]14/*}}}*/
15
[11291]16class 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();
[9777]33 #ifdef _SERIAL_
[3683]34 void Marshall(char** pmarshalled_dataset);
35 int MarshallSize();
36 void Demarshall(char** pmarshalled_dataset);
[9777]37 #endif
[9883]38 int ObjectEnum();
[3683]39 Object* copy();
[4248]40 /*}}}*/
[11291]41 /*TriaP1Input management: {{{1*/
[9883]42 int InstanceEnum();
[3847]43 Input* SpawnTriaInput(int* indices);
[6412]44 Input* PointwiseDivide(Input* inputB){_error_("not implemented yet");};
[8129]45 Input* PointwiseMin(Input* inputB);
46 Input* PointwiseMax(Input* inputB);
[4050]47 ElementResult* SpawnResult(int step, double time);
[8363]48 void AddTimeValues(double* values,int step,double time){_error_("not supported yet");};
49 void Configure(Parameters* parameters);
[3683]50 /*}}}*/
51 /*numerics: {{{1*/
[10135]52 void GetInputValue(bool* pvalue){_error_("not implemented yet");}
53 void GetInputValue(int* pvalue){_error_("not implemented yet");}
54 void GetInputValue(double* pvalue){_error_("not implemented yet");}
55 void GetInputValue(double* pvalue,GaussTria* gauss);
56 void GetInputValue(double* pvalue,GaussPenta* gauss){_error_("not implemented yet");};
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){_error_("not implemented yet");};
61 void GetInputAverage(double* pvalue);
[5631]62 void GetVxStrainRate2d(double* epsilonvx,double* xyz_list, GaussTria* gauss);
63 void GetVyStrainRate2d(double* epsilonvy,double* xyz_list, GaussTria* gauss);
[6412]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");};
[3732]69 void ChangeEnum(int newenumtype);
[3800]70
[4042]71 void SquareMin(double* psquaremin, bool process_units,Parameters* parameters);
[5017]72 void ConstrainMin(double minimum);
[4047]73 void Scale(double scale_factor);
[5578]74 void ArtificialNoise(double min,double max);
[4048]75 void AXPY(Input* xinput,double scalar);
76 void Constrain(double cm_min, double cm_max);
[5513]77 double InfinityNorm(void);
[5659]78 double Max(void);
79 double MaxAbs(void);
80 double Min(void);
81 double MinAbs(void);
[6412]82 void Extrude(void){_error_("not supported yet");};
83 void VerticallyIntegrate(Input* thickness_input){_error_("not supported yet");};
[11995]84 void GetVectorFromInputs(Vector* vector,int* doflist);
[4057]85 void GetValuesPtr(double** pvalues,int* pnum_values);
[3683]86 /*}}}*/
87
88};
[11291]89#endif /* _TRIAP1INPUT_H */
Note: See TracBrowser for help on using the repository browser.