source: issm/trunk/src/c/objects/ExternalResults/IntExternalResult.h@ 6389

Last change on this file since 6389 was 6389, checked in by Eric.Larour, 14 years ago

Finished debugging io_gather mode for I/O file output. Works great on astrid.

File size: 1.3 KB
RevLine 
[4050]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
27class IntExternalResult: public ExternalResult{
28
29 public:
30 int id;
31 int enum_type;
32 int value;
33 int step;
34 double time;
35
36
[4248]37 /*IntExternalResult constructors, destructors: {{{1*/
[4050]38 IntExternalResult();
39 IntExternalResult(int id,int enum_type,int value,int step,double time);
40 ~IntExternalResult();
41
42 /*}}}*/
[4248]43 /*Object virtual functions definitions:{{{1 */
44 void Echo();
[4050]45 void DeepEcho();
[4248]46 int Id();
47 int MyRank();
48 void Marshall(char** pmarshalled_dataset);
49 int MarshallSize();
[4050]50 void Demarshall(char** pmarshalled_dataset);
51 int Enum();
[4248]52 Object* copy();
[4050]53 /*}}}*/
[4248]54 /*ExternalResult managemnet: {{{1*/
[4050]55 int EnumType(){return enum_type;}
[6389]56 void WriteData(FILE* fid,bool io_gather);
[4166]57 char* GetResultName(void);
58 #ifdef _SERIAL_
59 void SetMatlabField(mxArray* dataref);
60 #endif
[4182]61 int GetStep(void);
[4050]62 /*}}}*/
63};
64#endif /* _INTEXTERNALRESULT_H */
Note: See TracBrowser for help on using the repository browser.