1 | /*!\file: Parameters.h
|
---|
2 | * \brief prototypes for Parameters.h
|
---|
3 | */
|
---|
4 |
|
---|
5 | #ifndef _CONTAINER_PARAMETERS_H_
|
---|
6 | #define _CONTAINER_PARAMETERS_H_
|
---|
7 | #include <stdio.h>
|
---|
8 |
|
---|
9 | /*forward declarations */
|
---|
10 | template <class doublematrix> class Matrix;
|
---|
11 | template <class doubletype> class Vector;
|
---|
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 |
|
---|
25 | /*constructors, destructors*/
|
---|
26 | Parameters();
|
---|
27 | ~Parameters();
|
---|
28 |
|
---|
29 | /*numerics*/
|
---|
30 | bool Exist(int enum_type);
|
---|
31 |
|
---|
32 | void FindParam(bool* pinteger,int enum_type);
|
---|
33 | void FindParam(int* pinteger,int enum_type);
|
---|
34 | void FindParam(IssmDouble* pscalar, int enum_type);
|
---|
35 | void FindParam(IssmDouble* pscalar, int enum_type,IssmDouble time);
|
---|
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);
|
---|
39 | void FindParam(int** pintarray,int* pM,int* PN,int enum_type);
|
---|
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);
|
---|
43 | void FindParam(Vector<IssmDouble>** pvec,int enum_type);
|
---|
44 | void FindParam(Matrix<IssmDouble>** pmat,int enum_type);
|
---|
45 | void FindParam(FILE** pfid,int enum_type);
|
---|
46 | void FindParam(DataSet** pdataset, int enum_type);
|
---|
47 |
|
---|
48 | void SetParam(bool boolean,int enum_type);
|
---|
49 | void SetParam(int integer,int enum_type);
|
---|
50 | void SetParam(IssmDouble scalar, int enum_type);
|
---|
51 | void SetParam(char* string,int enum_type);
|
---|
52 | void SetParam(char** stringarray,int M,int enum_type);
|
---|
53 | void SetParam(IssmDouble* IssmDoublearray,int M,int enum_type);
|
---|
54 | void SetParam(IssmDouble* IssmDoublearray,int M,int N,int enum_type);
|
---|
55 | void SetParam(int* intarray,int M,int enum_type);
|
---|
56 | void SetParam(int* intarray,int M,int N,int enum_type);
|
---|
57 | void SetParam(Vector<IssmDouble>* vec,int enum_type);
|
---|
58 | void SetParam(Matrix<IssmDouble>* mat,int enum_type);
|
---|
59 | void SetParam(FILE* fid,int enum_type);
|
---|
60 | void UnitConversion(int direction_enum);
|
---|
61 |
|
---|
62 | Object* FindParamObject(int enum_type);
|
---|
63 |
|
---|
64 | };
|
---|
65 |
|
---|
66 | #endif //ifndef _PARAMETERS_H_
|
---|