Last change
on this file since 9777 was 9777, checked in by Eric.Larour, 14 years ago |
Discarded Marshall, Demarshall and MarshallSize routines for parallel compilation, where it is never used.
Only activated according to _SERIAL_ symbol.
|
File size:
1.3 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"
|
---|
14 | class Parameters;
|
---|
15 | /*}}}*/
|
---|
16 |
|
---|
17 | class 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 | /*}}}*/
|
---|
54 | };
|
---|
55 | #endif /* _BOOLELEMENTRESULT_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.