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