1 | /*! \file DoubleElementResult.h
|
---|
2 | * \brief: header file for double result object
|
---|
3 | * A double result object is just derived from a DoubleInput object, with additional time and step information.
|
---|
4 | */
|
---|
5 |
|
---|
6 |
|
---|
7 | #ifndef _DOUBLEELEMENTRESULT_H_
|
---|
8 | #define _DOUBLEELEMENTRESULT_H_
|
---|
9 |
|
---|
10 | /*Headers:*/
|
---|
11 | /*{{{1*/
|
---|
12 | #include "../Inputs/Input.h"
|
---|
13 | #include "../../include/include.h"
|
---|
14 | class Parameters;
|
---|
15 | /*}}}*/
|
---|
16 |
|
---|
17 | class DoubleElementResult: public ElementResult{
|
---|
18 |
|
---|
19 | private:
|
---|
20 | int enum_type;
|
---|
21 | double value;
|
---|
22 | int step;
|
---|
23 | double time;
|
---|
24 |
|
---|
25 | public:
|
---|
26 |
|
---|
27 | /*DoubleElementResult constructors, destructors: {{{1*/
|
---|
28 | DoubleElementResult();
|
---|
29 | DoubleElementResult(int enum_type,double value,int step,double time);
|
---|
30 | ~DoubleElementResult();
|
---|
31 | /*}}}*/
|
---|
32 | /*Object virtual functions definitions:{{{1 */
|
---|
33 | void Echo();
|
---|
34 | void DeepEcho();
|
---|
35 | int Id();
|
---|
36 | int MyRank();
|
---|
37 | #ifdef _SERIAL_
|
---|
38 | void Marshall(char** pmarshalled_dataset);
|
---|
39 | int MarshallSize();
|
---|
40 | void Demarshall(char** pmarshalled_dataset);
|
---|
41 | #endif
|
---|
42 | int ObjectEnum();
|
---|
43 | Object* copy();
|
---|
44 | /*}}}*/
|
---|
45 | /*ElementResult virtual functions definitions: {{{1*/
|
---|
46 | ElementResult* SpawnTriaElementResult(int* indices);
|
---|
47 | double GetTime(void){return time;};
|
---|
48 | int GetStep(void){return step;};
|
---|
49 | void ProcessUnits(Parameters* parameters);
|
---|
50 | int NumberOfNodalValues(void);
|
---|
51 | void PatchFill(int row, Patch* patch);
|
---|
52 | /*}}}*/
|
---|
53 | /*DoubleElementResult management: {{{1*/
|
---|
54 | int InstanceEnum();
|
---|
55 | void GetVectorFromResults(Vector* vector,int* doflist,int* connectivitylist,int numdofs){_error_("not implemented");};
|
---|
56 | void GetElementVectorFromResults(Vector* vector,int dof){_error_("not implemented");};
|
---|
57 | /*}}}*/
|
---|
58 | };
|
---|
59 | #endif /* _DOUBLEELEMENTRESULT_H */
|
---|