|
Last change
on this file since 16137 was 16137, checked in by Mathieu Morlighem, 12 years ago |
|
merged trunk-jpl and trunk for revision 16135
|
|
File size:
1.2 KB
|
| Line | |
|---|
| 1 | /*! \file TriaP1ElementResult.h
|
|---|
| 2 | * \brief: header file for TriaP1ElementResult object
|
|---|
| 3 | */
|
|---|
| 4 |
|
|---|
| 5 | #ifndef _TRIAP1ELEMENTRESULT_H_
|
|---|
| 6 | #define _TRIAP1ELEMENTRESULT_H_
|
|---|
| 7 |
|
|---|
| 8 | /*Headers:*/
|
|---|
| 9 | #include "../Inputs/Input.h"
|
|---|
| 10 |
|
|---|
| 11 | class TriaP1ElementResult: public ElementResult{
|
|---|
| 12 |
|
|---|
| 13 | private:
|
|---|
| 14 | int enum_type;
|
|---|
| 15 | IssmDouble values[3];
|
|---|
| 16 | int step;
|
|---|
| 17 | IssmDouble time;
|
|---|
| 18 |
|
|---|
| 19 | public:
|
|---|
| 20 |
|
|---|
| 21 | /*TriaP1ElementResult constructors, destructors: {{{*/
|
|---|
| 22 | TriaP1ElementResult();
|
|---|
| 23 | TriaP1ElementResult(int enum_type,IssmDouble* values,int step,IssmDouble time);
|
|---|
| 24 | ~TriaP1ElementResult();
|
|---|
| 25 | /*}}}*/
|
|---|
| 26 | /*Object virtual functions definitions:{{{ */
|
|---|
| 27 | void Echo();
|
|---|
| 28 | void DeepEcho();
|
|---|
| 29 | int Id();
|
|---|
| 30 | int ObjectEnum();
|
|---|
| 31 | Object* copy();
|
|---|
| 32 | /*}}}*/
|
|---|
| 33 | /*ElementResult virtual functions definitions: {{{*/
|
|---|
| 34 | IssmDouble GetTime(void){return time;};
|
|---|
| 35 | int GetStep(void){return step;};
|
|---|
| 36 | int NumberOfNodalValues(void);
|
|---|
| 37 | void PatchFill(int row, Patch* patch);
|
|---|
| 38 | /*}}}*/
|
|---|
| 39 | /*TriaP1ElementResult management: {{{*/
|
|---|
| 40 | int InstanceEnum();
|
|---|
| 41 | void GetVectorFromResults(Vector<IssmDouble>* vector,int* doflist,int* connectivitylist,int numdofs);
|
|---|
| 42 | void GetElementVectorFromResults(Vector<IssmDouble>* vector,int dof);
|
|---|
| 43 | /*}}}*/
|
|---|
| 44 |
|
|---|
| 45 | };
|
|---|
| 46 | #endif /* _TRIAP1ELEMENTRESULT_H */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.