Rev | Line | |
---|
[4050] | 1 | /*! \file BoolExternalResult.h
|
---|
| 2 | * \brief: header file for triavertexinput object
|
---|
| 3 | */
|
---|
| 4 |
|
---|
| 5 |
|
---|
| 6 | #ifndef _BOOLEXTERNALRESULT_H_
|
---|
| 7 | #define _BOOLEXTERNALRESULT_H_
|
---|
| 8 |
|
---|
| 9 | /*Headers:*/
|
---|
[12365] | 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 | #include "../../include/include.h"
|
---|
| 22 | #include "../../include/include.h"
|
---|
| 23 | /*}}}*/
|
---|
| 24 |
|
---|
| 25 | class BoolExternalResult: public ExternalResult{
|
---|
| 26 |
|
---|
| 27 | public:
|
---|
| 28 | int id;
|
---|
| 29 | int enum_type;
|
---|
| 30 | bool value;
|
---|
| 31 | int step;
|
---|
[12562] | 32 | IssmDouble time;
|
---|
[4050] | 33 |
|
---|
[12365] | 34 | /*BoolExternalResult constructors, destructors: {{{*/
|
---|
[4050] | 35 | BoolExternalResult();
|
---|
[12562] | 36 | BoolExternalResult(int id, int enum_type,bool value,int step,IssmDouble time);
|
---|
[4050] | 37 | ~BoolExternalResult();
|
---|
| 38 | /*}}}*/
|
---|
[12365] | 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 | /*}}}*/
|
---|
[12365] | 47 | /*ExternalResult management: {{{*/
|
---|
[9883] | 48 | int InstanceEnum(){return enum_type;}
|
---|
[6389] | 49 | void WriteData(FILE* fid,bool io_gather);
|
---|
[11202] | 50 | void GetResultName(char**);
|
---|
[4182] | 51 | int GetStep(void);
|
---|
[4050] | 52 | /*}}}*/
|
---|
| 53 | };
|
---|
[12014] | 54 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.