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

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

Split results between element results and external results.
element results are held in the Results* dataset of each element.
external results are held in the femmodel->Results* dataset, and hold anything that cannot fit in the elements.

File size: 1.8 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/*{{{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
57 void UpdateInputsFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");}
58 void UpdateInputsFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");}
59 void UpdateInputsFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");}
60 void UpdateInputsFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");}
61 void UpdateInputsFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");}
62 void UpdateInputsFromConstant(bool constant, int name){ISSMERROR("Not implemented yet!");}
63 void UpdateInputsFromSolution(double* solution){ISSMERROR("Not implemented yet!");}
64 /*}}}*/
65 /*ExternalResult methods: {{{1*/
66 int EnumType(){return enum_type;}
67 /*}}}*/
68};
69#endif /* _INTEXTERNALRESULT_H */
Note: See TracBrowser for help on using the repository browser.