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

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

CHG: some serious desentangling of the header files, which started from the src/c/shared/Exp/ directory.

File size: 2.3 KB
Line 
1#ifndef _CONTAINER_PARAMETERS_H_
2#define _CONTAINER_PARAMETERS_H_
3#include <stdio.h>
4
5/*forward declarations */
6template <class doublematrix> class Matrix;
7template <class doubletype> class Vector;
8class Materials;
9class Parameters;
10class Elements;
11class Vertices;
12class Loads;
13class Nodes;
14class DataSet;
15class Inputs;
16#include "../shared/Numerics/types.h"
17
18/*!\brief Declaration of Parameters class.
19 *
20 * Declaration of Parameters class. Parameters are vector lists (Containers) of Parameter objects.
21 */
22class Parameters: public DataSet{
23
24 public:
25
26 /*constructors, destructors*/
27 Parameters();
28 ~Parameters();
29
30 /*numerics*/
31 bool Exist(int enum_type);
32
33 void FindParam(bool* pinteger,int enum_type);
34 void FindParam(int* pinteger,int enum_type);
35 void FindParam(IssmDouble* pscalar, int enum_type);
36 void FindParam(IssmDouble* pscalar, int enum_type,IssmDouble time);
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);
40 void FindParam(int** pintarray,int* pM,int* PN,int enum_type);
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);
44 void FindParam(Vector<IssmDouble>** pvec,int enum_type);
45 void FindParam(Matrix<IssmDouble>** pmat,int enum_type);
46 void FindParam(FILE** pfid,int enum_type);
47 void FindParam(DataSet** pdataset, int enum_type);
48
49 void SetParam(bool boolean,int enum_type);
50 void SetParam(int integer,int enum_type);
51 void SetParam(IssmDouble scalar, int enum_type);
52 void SetParam(char* string,int enum_type);
53 void SetParam(char** stringarray,int M,int enum_type);
54 void SetParam(IssmDouble* IssmDoublearray,int M,int enum_type);
55 void SetParam(IssmDouble* IssmDoublearray,int M,int N,int enum_type);
56 void SetParam(int* intarray,int M,int enum_type);
57 void SetParam(int* intarray,int M,int N,int enum_type);
58 void SetParam(Vector<IssmDouble>* vec,int enum_type);
59 void SetParam(Matrix<IssmDouble>* mat,int enum_type);
60 void SetParam(FILE* fid,int enum_type);
61 void UnitConversion(int direction_enum);
62
63 Object* FindParamObject(int enum_type);
64
65};
66
67#endif //ifndef _PARAMETERS_H_
Note: See TracBrowser for help on using the repository browser.