source: issm/trunk/src/c/objects/Result.h@ 3751

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

Final build that compiles in serial and parallel model

File size: 1.9 KB
Line 
1/*!\file Result.h
2 * \brief: header file for result object
3 */
4
5#ifndef _RESULT_H_
6#define _RESULT_H_
7
8/*Headers:*/
9/*{{{1*/
10#include "stdio.h"
11#include "./Object.h"
12#include "../toolkits/toolkits.h"
13/*}}}*/
14
15class Result: public Object{
16
17 private:
18 int id;
19 double time;
20 int step;
21 char* fieldname;
22 Vec field;
23 double* dfield;
24 char* cfield;
25 int size;
26
27 public:
28
29 Result();
30 Result(const Result& result);
31 Result(int result_id,double result_time,int result_step,char* result_fieldname,Vec result_field);
32 Result(int result_id,double result_time,int result_step,char* result_fieldname,double* result_field,int result_size);
33 Result(int result_id,double result_time,int result_step,char* result_fieldname,char* result_field);
34 ~Result();
35
36 void Echo();
37 void DeepEcho();
38 int Id(void);
39 int MyRank(void);
40 void Marshall(char** pmarshalled_dataset);
41 int MarshallSize();
42 void Demarshall(char** pmarshalled_dataset);
43 int Enum();
44 Object* copy();
45 void UpdateInputsFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");}
46 void UpdateInputsFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");}
47 void UpdateInputsFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");}
48 void UpdateInputsFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");}
49 void UpdateInputsFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");}
50 void UpdateInputsFromConstant(bool constant, int name){ISSMERROR("Not implemented yet!");}
51
52 void UpdateInputsFromSolution(double* solution, int analysis_type, int sub_analysis_type){ISSMERROR("Not implemented yet!");}
53
54 double GetTime();
55 void GetField(Vec* pfield);
56 void GetField(double** pfield);
57 void GetField(char** pcfield);
58 int GetStep();
59 void WriteData(FILE* fid);
60 char* GetFieldName();
61
62
63};
64
65#endif /* _RESULT_H_ */
66
Note: See TracBrowser for help on using the repository browser.