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
|
Rev | Line | |
---|
[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:*/
|
---|
[12706] | 10 | /*{{{*/
|
---|
[4050] | 11 |
|
---|
| 12 | #ifdef HAVE_CONFIG_H
|
---|
[9320] | 13 | #include <config.h>
|
---|
[4050] | 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;
|
---|
[12706] | 30 | IssmDouble time;
|
---|
[4050] | 31 |
|
---|
| 32 |
|
---|
[12706] | 33 | /*IntExternalResult constructors, destructors: {{{*/
|
---|
[4050] | 34 | IntExternalResult();
|
---|
[12706] | 35 | IntExternalResult(int id,int enum_type,int value,int step,IssmDouble time);
|
---|
[4050] | 36 | ~IntExternalResult();
|
---|
| 37 |
|
---|
| 38 | /*}}}*/
|
---|
[12706] | 39 | /*Object virtual functions definitions:{{{ */
|
---|
[4248] | 40 | void Echo();
|
---|
[4050] | 41 | void DeepEcho();
|
---|
[4248] | 42 | int Id();
|
---|
| 43 | int MyRank();
|
---|
[9883] | 44 | int ObjectEnum();
|
---|
[4248] | 45 | Object* copy();
|
---|
[4050] | 46 | /*}}}*/
|
---|
[12706] | 47 | /*ExternalResult managemnet: {{{*/
|
---|
[9883] | 48 | int InstanceEnum(){return enum_type;}
|
---|
[6389] | 49 | void WriteData(FILE* fid,bool io_gather);
|
---|
[11237] | 50 | void GetResultName(char**);
|
---|
[4182] | 51 | int GetStep(void);
|
---|
[4050] | 52 | /*}}}*/
|
---|
| 53 | };
|
---|
| 54 | #endif /* _INTEXTERNALRESULT_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.