[4050] | 1 | /*! \file PentaVertexElementResult.h
|
---|
| 2 | * \brief: header file for penta vertex result object.
|
---|
| 3 | * this object is just a PentaVertexInput with additional time and step info.
|
---|
| 4 | */
|
---|
| 5 |
|
---|
| 6 |
|
---|
| 7 | #ifndef _PENTAVERTEXELEMENTRESULT_H_
|
---|
| 8 | #define _PENTAVERTEXELEMENTRESULT_H_
|
---|
| 9 |
|
---|
| 10 | /*Headers:*/
|
---|
| 11 | /*{{{1*/
|
---|
| 12 | #include "../Inputs/Input.h"
|
---|
| 13 | #include "../../include/include.h"
|
---|
| 14 | /*}}}*/
|
---|
| 15 |
|
---|
[4239] | 16 | class PentaVertexElementResult: public ElementResult{
|
---|
[4050] | 17 |
|
---|
| 18 | private:
|
---|
[4239] | 19 | int enum_type;
|
---|
| 20 | double values[6];
|
---|
[4050] | 21 | int step;
|
---|
| 22 | double time;
|
---|
| 23 |
|
---|
| 24 | public:
|
---|
| 25 |
|
---|
[4248] | 26 | /*PentaVertexElementResult constructors, destructors: {{{1*/
|
---|
[4050] | 27 | PentaVertexElementResult();
|
---|
| 28 | PentaVertexElementResult(int enum_type,double* values,int step, double time);
|
---|
| 29 | ~PentaVertexElementResult();
|
---|
| 30 | /*}}}*/
|
---|
[4248] | 31 | /*Object virtual functions definitions:{{{1 */
|
---|
| 32 | void Echo();
|
---|
[4050] | 33 | void DeepEcho();
|
---|
| 34 | int Id();
|
---|
[4248] | 35 | int MyRank();
|
---|
[9777] | 36 | #ifdef _SERIAL_
|
---|
[4050] | 37 | void Marshall(char** pmarshalled_dataset);
|
---|
| 38 | int MarshallSize();
|
---|
| 39 | void Demarshall(char** pmarshalled_dataset);
|
---|
[9777] | 40 | #endif
|
---|
[9883] | 41 | int ObjectEnum();
|
---|
[4050] | 42 | Object* copy();
|
---|
| 43 | /*}}}*/
|
---|
[4248] | 44 | /*ElementResult virtual functions definitions: {{{1*/
|
---|
[4050] | 45 | ElementResult* SpawnTriaElementResult(int* indices);
|
---|
[10989] | 46 | double GetTime(void){return time;};
|
---|
| 47 | int GetStep(void){return step;};
|
---|
[4050] | 48 | void ProcessUnits(Parameters* parameters);
|
---|
| 49 | int NumberOfNodalValues(void);
|
---|
| 50 | void PatchFill(int row, Patch* patch);
|
---|
| 51 | /*}}}*/
|
---|
[4248] | 52 | /*PentaVertexElementResult management: {{{1*/
|
---|
[9883] | 53 | int InstanceEnum();
|
---|
[9878] | 54 | void GetVectorFromResults(Vec vector,int* doflist,int numdofs);
|
---|
[4248] | 55 | /*}}}*/
|
---|
[4050] | 56 |
|
---|
| 57 | };
|
---|
| 58 | #endif /* _PENTAVERTEXELEMENTRESULT_H */
|
---|