source: issm/trunk-jpl/src/c/classes/ElementResults/ElementResult.h@ 15067

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

CHG: moved DataSet.h and Object.h into a directory called datastructures/
This should be our first building block which along shared/ will be used by every
other library we build. Not sure whether to make it into a library for now.

File size: 869 bytes
Line 
1/*!\file: ElementResult.h
2 * \brief abstract class for ElementResult object
3 */
4
5#ifndef _ELEMENTRESULT_H_
6#define _ELEMENTRESULT_H_
7
8/*Headers:*/
9#include "../../datastructures/datastructures.h"
10class Patch;
11class Parameters;
12
13class ElementResult:public Object{
14
15 public:
16
17 virtual ~ElementResult(){};
18 virtual ElementResult* SpawnTriaElementResult(int* indices)=0;
19 virtual IssmDouble GetTime(void)=0;
20 virtual int GetStep(void)=0;
21 virtual void ProcessUnits(Parameters* parameters)=0;
22 virtual int NumberOfNodalValues(void)=0;
23 virtual void PatchFill(int row, Patch* patch)=0;
24 virtual int InstanceEnum()=0;
25 virtual void GetVectorFromResults(Vector<IssmDouble>* vector,int* doflist,int* connectivitylist,int numdof)=0;
26 virtual void GetElementVectorFromResults(Vector<IssmDouble>* vector,int dof)=0;
27
28};
29
30#endif
Note: See TracBrowser for help on using the repository browser.