| [4236] | 1 | /*!\file: Parameters.h | 
|---|
|  | 2 | * \brief prototypes for Parameters.h | 
|---|
|  | 3 | */ | 
|---|
|  | 4 |  | 
|---|
|  | 5 | #ifndef _CONTAINER_PARAMETERS_H_ | 
|---|
|  | 6 | #define  _CONTAINER_PARAMETERS_H_ | 
|---|
| [12222] | 7 | #include <stdio.h> | 
|---|
| [4236] | 8 |  | 
|---|
|  | 9 | /*forward declarations */ | 
|---|
| [13216] | 10 | template <class doublematrix> class Matrix; | 
|---|
|  | 11 | template <class doubletype> class Vector; | 
|---|
| [4236] | 12 | class Materials; | 
|---|
|  | 13 | class Parameters; | 
|---|
|  | 14 | class Elements; | 
|---|
|  | 15 | class Vertices; | 
|---|
|  | 16 | class Loads; | 
|---|
|  | 17 | class Nodes; | 
|---|
|  | 18 | class DataSet; | 
|---|
|  | 19 | class Inputs; | 
|---|
|  | 20 |  | 
|---|
|  | 21 | class Parameters: public DataSet{ | 
|---|
|  | 22 |  | 
|---|
|  | 23 | public: | 
|---|
|  | 24 |  | 
|---|
| [12746] | 25 | /*constructors, destructors*/ | 
|---|
| [4236] | 26 | Parameters(); | 
|---|
|  | 27 | ~Parameters(); | 
|---|
| [12746] | 28 |  | 
|---|
|  | 29 | /*numerics*/ | 
|---|
| [8263] | 30 | bool  Exist(int enum_type); | 
|---|
|  | 31 |  | 
|---|
|  | 32 | void  FindParam(bool* pinteger,int enum_type); | 
|---|
|  | 33 | void  FindParam(int* pinteger,int enum_type); | 
|---|
| [12466] | 34 | void  FindParam(IssmDouble* pscalar, int enum_type); | 
|---|
| [12746] | 35 | void  FindParam(IssmDouble* pscalar, int enum_type,IssmDouble time); | 
|---|
| [8263] | 36 | void  FindParam(char** pstring,int enum_type); | 
|---|
|  | 37 | void  FindParam(char*** pstringarray,int* pM,int enum_type); | 
|---|
|  | 38 | void  FindParam(int** pintarray,int* pM,int enum_type); | 
|---|
| [8600] | 39 | void  FindParam(int** pintarray,int* pM,int* PN,int enum_type); | 
|---|
| [12466] | 40 | void  FindParam(IssmDouble** pIssmDoublearray,int* pM,int enum_type); | 
|---|
|  | 41 | void  FindParam(IssmDouble** pIssmDoublearray,int* pM,int* pN,int enum_type); | 
|---|
|  | 42 | void  FindParam(IssmDouble*** parray,int* pM, int** pmdims_array,int** pndims_array,int enum_type); | 
|---|
| [13216] | 43 | void  FindParam(Vector<IssmDouble>** pvec,int enum_type); | 
|---|
|  | 44 | void  FindParam(Matrix<IssmDouble>** pmat,int enum_type); | 
|---|
| [8263] | 45 | void  FindParam(FILE** pfid,int enum_type); | 
|---|
| [13425] | 46 | void  FindParam(DataSet** pdataset, int enum_type); | 
|---|
| [4236] | 47 |  | 
|---|
|  | 48 | void  SetParam(bool boolean,int enum_type); | 
|---|
|  | 49 | void  SetParam(int integer,int enum_type); | 
|---|
| [12466] | 50 | void  SetParam(IssmDouble scalar, int enum_type); | 
|---|
| [4236] | 51 | void  SetParam(char* string,int enum_type); | 
|---|
|  | 52 | void  SetParam(char** stringarray,int M,int enum_type); | 
|---|
| [12466] | 53 | void  SetParam(IssmDouble* IssmDoublearray,int M,int enum_type); | 
|---|
|  | 54 | void  SetParam(IssmDouble* IssmDoublearray,int M,int N,int enum_type); | 
|---|
| [8600] | 55 | void  SetParam(int* intarray,int M,int enum_type); | 
|---|
|  | 56 | void  SetParam(int* intarray,int M,int N,int enum_type); | 
|---|
| [13216] | 57 | void  SetParam(Vector<IssmDouble>* vec,int enum_type); | 
|---|
|  | 58 | void  SetParam(Matrix<IssmDouble>* mat,int enum_type); | 
|---|
| [4873] | 59 | void  SetParam(FILE* fid,int enum_type); | 
|---|
| [9356] | 60 | void  UnitConversion(int direction_enum); | 
|---|
| [4236] | 61 |  | 
|---|
|  | 62 | Object* FindParamObject(int enum_type); | 
|---|
|  | 63 |  | 
|---|
|  | 64 | }; | 
|---|
|  | 65 |  | 
|---|
|  | 66 | #endif //ifndef _PARAMETERS_H_ | 
|---|