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 IntExternalResult.h
|
---|
2 | * \brief: header file for triavertexinput object
|
---|
3 | */
|
---|
4 |
|
---|
5 |
|
---|
6 | #ifndef _INTEXTERNALRESULT_H_
|
---|
7 | #define _INTEXTERNALRESULT_H_
|
---|
8 |
|
---|
9 | /*Headers:*/
|
---|
10 | /*{{{1*/
|
---|
11 |
|
---|
12 | #ifdef HAVE_CONFIG_H
|
---|
13 | #include <config.h>
|
---|
14 | #else
|
---|
15 | #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
|
---|
16 | #endif
|
---|
17 |
|
---|
18 | #ifdef _SERIAL_
|
---|
19 | #include <mex.h>
|
---|
20 | #endif
|
---|
21 |
|
---|
22 | #include "./ExternalResult.h"
|
---|
23 | #include "../../include/include.h"
|
---|
24 | #include "../../shared/shared.h"
|
---|
25 | /*}}}*/
|
---|
26 |
|
---|
27 | class IntExternalResult: public ExternalResult{
|
---|
28 |
|
---|
29 | public:
|
---|
30 | int id;
|
---|
31 | int enum_type;
|
---|
32 | int value;
|
---|
33 | int step;
|
---|
34 | double time;
|
---|
35 |
|
---|
36 |
|
---|
37 | /*IntExternalResult constructors, destructors: {{{1*/
|
---|
38 | IntExternalResult();
|
---|
39 | IntExternalResult(int id,int enum_type,int value,int step,double time);
|
---|
40 | ~IntExternalResult();
|
---|
41 |
|
---|
42 | /*}}}*/
|
---|
43 | /*Object virtual functions definitions:{{{1 */
|
---|
44 | void Echo();
|
---|
45 | void DeepEcho();
|
---|
46 | int Id();
|
---|
47 | int MyRank();
|
---|
48 | #ifdef _SERIAL_
|
---|
49 | void Marshall(char** pmarshalled_dataset);
|
---|
50 | int MarshallSize();
|
---|
51 | void Demarshall(char** pmarshalled_dataset);
|
---|
52 | #endif
|
---|
53 | int Enum();
|
---|
54 | Object* copy();
|
---|
55 | /*}}}*/
|
---|
56 | /*ExternalResult managemnet: {{{1*/
|
---|
57 | int EnumType(){return enum_type;}
|
---|
58 | void WriteData(FILE* fid,bool io_gather);
|
---|
59 | char* GetResultName(void);
|
---|
60 | #ifdef _SERIAL_
|
---|
61 | void SetMatlabField(mxArray* dataref);
|
---|
62 | #endif
|
---|
63 | int GetStep(void);
|
---|
64 | /*}}}*/
|
---|
65 | };
|
---|
66 | #endif /* _INTEXTERNALRESULT_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.