Last change
on this file since 12706 was 12706, checked in by Mathieu Morlighem, 13 years ago |
merged trunk-jpl and trunk for revision 12703
|
File size:
1.1 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 | /*{{{*/
|
---|
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 | #include "./ExternalResult.h"
|
---|
19 | #include "../../include/include.h"
|
---|
20 | #include "../../shared/shared.h"
|
---|
21 | /*}}}*/
|
---|
22 |
|
---|
23 | class IntExternalResult: public ExternalResult{
|
---|
24 |
|
---|
25 | public:
|
---|
26 | int id;
|
---|
27 | int enum_type;
|
---|
28 | int value;
|
---|
29 | int step;
|
---|
30 | IssmDouble time;
|
---|
31 |
|
---|
32 |
|
---|
33 | /*IntExternalResult constructors, destructors: {{{*/
|
---|
34 | IntExternalResult();
|
---|
35 | IntExternalResult(int id,int enum_type,int value,int step,IssmDouble time);
|
---|
36 | ~IntExternalResult();
|
---|
37 |
|
---|
38 | /*}}}*/
|
---|
39 | /*Object virtual functions definitions:{{{ */
|
---|
40 | void Echo();
|
---|
41 | void DeepEcho();
|
---|
42 | int Id();
|
---|
43 | int MyRank();
|
---|
44 | int ObjectEnum();
|
---|
45 | Object* copy();
|
---|
46 | /*}}}*/
|
---|
47 | /*ExternalResult managemnet: {{{*/
|
---|
48 | int InstanceEnum(){return enum_type;}
|
---|
49 | void WriteData(FILE* fid,bool io_gather);
|
---|
50 | void GetResultName(char**);
|
---|
51 | int GetStep(void);
|
---|
52 | /*}}}*/
|
---|
53 | };
|
---|
54 | #endif /* _INTEXTERNALRESULT_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.