|
Last change
on this file since 3612 was 3612, checked in by Eric.Larour, 16 years ago |
|
First new interface with new inputs
|
|
File size:
818 bytes
|
| Line | |
|---|
| 1 | /*! \file DoubleInput.h
|
|---|
| 2 | * \brief: header file for triavertexinput object
|
|---|
| 3 | */
|
|---|
| 4 |
|
|---|
| 5 | #include "./Input.h"
|
|---|
| 6 | #include "../include/types.h"
|
|---|
| 7 |
|
|---|
| 8 | #ifndef _DOUBLEINPUT_H_
|
|---|
| 9 | #define _DOUBLEINPUT_H_
|
|---|
| 10 |
|
|---|
| 11 | class DoubleInput: public Input{
|
|---|
| 12 |
|
|---|
| 13 | private:
|
|---|
| 14 | /*just hold 3 values for 3 vertices: */
|
|---|
| 15 | int enum_type;
|
|---|
| 16 | IssmDouble value;
|
|---|
| 17 |
|
|---|
| 18 | public:
|
|---|
| 19 |
|
|---|
| 20 | /*constructors, destructors: {{{1*/
|
|---|
| 21 | DoubleInput();
|
|---|
| 22 | DoubleInput(int enum_type,IssmDouble value);
|
|---|
| 23 | ~DoubleInput();
|
|---|
| 24 | /*}}}*/
|
|---|
| 25 | /*object management: {{{1*/
|
|---|
| 26 | void DeepEcho();
|
|---|
| 27 | void Echo();
|
|---|
| 28 | int GetId();
|
|---|
| 29 | void Marshall(char** pmarshalled_dataset);
|
|---|
| 30 | int MarshallSize();
|
|---|
| 31 | char* GetName();
|
|---|
| 32 | void Demarshall(char** pmarshalled_dataset);
|
|---|
| 33 | int Enum();
|
|---|
| 34 | int MyRank();
|
|---|
| 35 | Object* copy();
|
|---|
| 36 | int EnumType();
|
|---|
| 37 |
|
|---|
| 38 | /*}}}*/
|
|---|
| 39 | /*numerics: {{{1*/
|
|---|
| 40 | /*}}}*/
|
|---|
| 41 |
|
|---|
| 42 | };
|
|---|
| 43 | #endif /* _DOUBLEINPUT_H */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.