source: issm/trunk-jpl/src/c/objects/ElementResults/TriaVertexElementResult.h@ 11001

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

Results on vertices are now averaged using node connectivity as in PatchToVec

File size: 1.5 KB
Line 
1/*! \file TriaVertexElementResult.h
2 * \brief: header file for triavertexresult object
3 */
4
5
6#ifndef _TRIAVERTEXELEMENTRESULT_H_
7#define _TRIAVERTEXELEMENTRESULT_H_
8
9/*Headers:*/
10/*{{{1*/
11#include "../Inputs/Input.h"
12#include "../../include/include.h"
13/*}}}*/
14
15class TriaVertexElementResult: public ElementResult{
16
17 private:
18 int enum_type;
19 double values[3];
20 int step;
21 double time;
22
23 public:
24
25 /*TriaVertexElementResult constructors, destructors: {{{1*/
26 TriaVertexElementResult();
27 TriaVertexElementResult(int enum_type,double* values,int step,double time);
28 ~TriaVertexElementResult();
29 /*}}}*/
30 /*Object virtual functions definitions:{{{1 */
31 void Echo();
32 void DeepEcho();
33 int Id();
34 int MyRank();
35 #ifdef _SERIAL_
36 void Marshall(char** pmarshalled_dataset);
37 int MarshallSize();
38 void Demarshall(char** pmarshalled_dataset);
39 #endif
40 int ObjectEnum();
41 Object* copy();
42 /*}}}*/
43 /*ElementResult virtual functions definitions: {{{1*/
44 ElementResult* SpawnTriaElementResult(int* indices);
45 double GetTime(void){return time;};
46 int GetStep(void){return step;};
47 void ProcessUnits(Parameters* parameters);
48 int NumberOfNodalValues(void);
49 void PatchFill(int row, Patch* patch);
50 /*}}}*/
51 /*TriaVertexElementResult management: {{{1*/
52 int InstanceEnum();
53 void GetVectorFromResults(Vec vector,int* doflist,int* connectivitylist,int numdofs);
54 void GetElementVectorFromResults(Vec vector,int dof);
55 /*}}}*/
56
57};
58#endif /* _TRIAVERTEXELEMENTRESULT_H */
Note: See TracBrowser for help on using the repository browser.