source: issm/trunk-jpl/src/c/classes/objects/ElementResults/DoubleElementResult.h@ 14917

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

CHG: got rid of the include/include.h headere file, finally :)

File size: 1.4 KB
Line 
1/*! \file DoubleElementResult.h
2 * \brief: header file for IssmDouble result object
3 * A IssmDouble result object is just derived from a DoubleInput object, with additional time and step information.
4 */
5
6#ifndef _DOUBLEELEMENTRESULT_H_
7#define _DOUBLEELEMENTRESULT_H_
8
9/*Headers:*/
10/*{{{*/
11#include "../Inputs/Input.h"
12class Parameters;
13/*}}}*/
14
15class DoubleElementResult: public ElementResult{
16
17 private:
18 int enum_type;
19 IssmDouble value;
20 int step;
21 IssmDouble time;
22
23 public:
24
25 /*DoubleElementResult constructors, destructors: {{{*/
26 DoubleElementResult();
27 DoubleElementResult(int enum_type,IssmDouble value,int step,IssmDouble time);
28 ~DoubleElementResult();
29 /*}}}*/
30 /*Object virtual functions definitions:{{{ */
31 void Echo();
32 void DeepEcho();
33 int Id();
34 int ObjectEnum();
35 Object* copy();
36 /*}}}*/
37 /*ElementResult virtual functions definitions: {{{*/
38 ElementResult* SpawnTriaElementResult(int* indices);
39 IssmDouble GetTime(void){return time;};
40 int GetStep(void){return step;};
41 void ProcessUnits(Parameters* parameters);
42 int NumberOfNodalValues(void);
43 void PatchFill(int row, Patch* patch);
44 /*}}}*/
45 /*DoubleElementResult management: {{{*/
46 int InstanceEnum();
47 void GetVectorFromResults(Vector<IssmDouble>* vector,int* doflist,int* connectivitylist,int numdofs);
48 void GetElementVectorFromResults(Vector<IssmDouble>* vector,int dof);
49 /*}}}*/
50};
51#endif /* _DOUBLEELEMENTRESULT_H */
Note: See TracBrowser for help on using the repository browser.