source: issm/trunk/src/c/objects/ElementResults/BoolElementResult.h@ 9878

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

Added support for P0 for results_on_vertices

File size: 1.4 KB
Line 
1/*! \file BoolElementResult.h
2 * \brief: header file for bool result object
3 * A boll result object is just derived from a BoolInput object, with additional time and step information.
4 */
5
6
7#ifndef _BOOLELEMENTRESULT_H_
8#define _BOOLELEMENTRESULT_H_
9
10/*Headers:*/
11/*{{{1*/
12#include "../Inputs/Input.h"
13#include "../../include/include.h"
14class Parameters;
15/*}}}*/
16
17class BoolElementResult: public ElementResult{
18
19 private:
20 int enum_type;
21 bool value;
22 int step;
23 double time;
24
25 public:
26
27 /*BoolElementResult constructors, destructors: {{{1*/
28 BoolElementResult();
29 BoolElementResult(int enum_type,bool value,int step,double time);
30 ~BoolElementResult();
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 Enum();
43 Object* copy();
44 /*}}}*/
45 /*ElementResult virtual functions definitions: {{{1*/
46 ElementResult* SpawnTriaElementResult(int* indices);
47 void ProcessUnits(Parameters* parameters);
48 int NumberOfNodalValues(void);
49 void PatchFill(int row, Patch* patch);
50 /*}}}*/
51 /*BoolElementResult management: {{{1*/
52 int EnumType();
53 void GetVectorFromResults(Vec vector,int* doflist,int numdofs);
54 /*}}}*/
55};
56#endif /* _BOOLELEMENTRESULT_H */
Note: See TracBrowser for help on using the repository browser.