source: issm/trunk-jpl/src/c/Container/Parameters.h@ 11695

Last change on this file since 11695 was 11695, checked in by Eric.Larour, 13 years ago

Completed separation of Petsc from ISSM. Matrix and Vector
are now the vehicles for Mat and Vec objects when running with
Petsc, or double* when running with a custom made type of matrix (still
to be finished).

File size: 2.0 KB
Line 
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 */
9class Matrix;
10class Vector;
11class Materials;
12class Parameters;
13class Elements;
14class Vertices;
15class Loads;
16class Nodes;
17class DataSet;
18class Inputs;
19
20class 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_
Note: See TracBrowser for help on using the repository browser.