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

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

No more DofVec. New outputs from external results, in matlab form. Still have to handle the time and step

File size: 2.0 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
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
30class 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);
[4166]68 char* GetResultName(void);
69 #ifdef _SERIAL_
70 void SetMatlabField(mxArray* dataref);
71 #endif
[4050]72 /*}}}*/
73};
74#endif /* _INTEXTERNALRESULT_H */
Note: See TracBrowser for help on using the repository browser.