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