[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 |
|
---|
| 23 | #include "./ExternalResult.h"
|
---|
| 24 | #include "../../include/include.h"
|
---|
| 25 | #include "../../shared/shared.h"
|
---|
| 26 | #include "../../include/include.h"
|
---|
| 27 | #include "../../include/include.h"
|
---|
| 28 | /*}}}*/
|
---|
| 29 |
|
---|
| 30 | class IntExternalResult: public ExternalResult{
|
---|
| 31 |
|
---|
| 32 | public:
|
---|
| 33 | int id;
|
---|
| 34 | int enum_type;
|
---|
| 35 | int value;
|
---|
| 36 | int step;
|
---|
| 37 | double time;
|
---|
| 38 |
|
---|
| 39 |
|
---|
| 40 | /*constructors, destructors: {{{1*/
|
---|
| 41 | IntExternalResult();
|
---|
| 42 | IntExternalResult(int id,int enum_type,int value,int step,double time);
|
---|
| 43 | ~IntExternalResult();
|
---|
| 44 |
|
---|
| 45 | /*}}}*/
|
---|
| 46 | /*Object methods: {{{1*/
|
---|
| 47 | Object* copy();
|
---|
| 48 | void DeepEcho();
|
---|
| 49 | void Demarshall(char** pmarshalled_dataset);
|
---|
| 50 | void Echo();
|
---|
| 51 | int Enum();
|
---|
| 52 | int Id();
|
---|
| 53 | void Marshall(char** pmarshalled_dataset);
|
---|
| 54 | int MarshallSize();
|
---|
| 55 | int MyRank();
|
---|
| 56 |
|
---|
[4091] | 57 | void InputUpdateFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");}
|
---|
| 58 | void InputUpdateFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");}
|
---|
| 59 | void InputUpdateFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");}
|
---|
[4079] | 60 | void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");}
|
---|
| 61 | void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");}
|
---|
| 62 | void InputUpdateFromConstant(bool constant, int name){ISSMERROR("Not implemented yet!");}
|
---|
[4085] | 63 | void InputUpdateFromSolution(double* solution){ISSMERROR("Not implemented yet!");}
|
---|
[4050] | 64 | /*}}}*/
|
---|
| 65 | /*ExternalResult methods: {{{1*/
|
---|
| 66 | int EnumType(){return enum_type;}
|
---|
[4139] | 67 | void WriteData(FILE* fid);
|
---|
[4050] | 68 | /*}}}*/
|
---|
| 69 | };
|
---|
| 70 | #endif /* _INTEXTERNALRESULT_H */
|
---|