valSPH
 All Classes Files Functions Variables
Configuration.h
Go to the documentation of this file.
1 
10 #ifndef __Configuration_h__
11 #define __Configuration_h__
12 
13 
14 #include <vector>
15 #include <string>
16 
17 
18 using namespace std;
19 
20 
22 
23 
24  private:
25 
26  int dim;
27 
28  vector<double> xiMin;
29  vector<double> xiMax;
30 
31  int numberOfParticles;
32  double smoothingLength;
33  string nNPS;
34 
35  double initialTimeSimulation;
36  double finalTimeSimulation;
37  int numberOfSteps;
38 
39  double intervalSize;
40 
41  string odeSolver;
42  string display;
43  string typeOfEquation;
44 
45  string eoS;
46  string kernel;
47 
48 
49  public:
50 
51 
55  Configuration ();
56 
57 
63  Configuration (const char* confFile);
64 
65 
71  int getDim ();
72 
73 
79  vector<double> getXiMin ();
80 
81 
87  vector<double> getXiMax ();
88 
89 
90 
96  int getNumberOfParticles ();
97 
98 
104  double getSmoothingLength ();
105 
106 
112  string getNNPS ();
113 
114 
120  double getInitialTimeSimulation ();
121 
122 
128  double getFinalTimeSimulation ();
129 
130 
136  int getNumberOfSteps ();
137 
138 
144  double getIntervalSize ();
145 
146 
152  string getOdeSolver ();
153 
154 
160  string getDisplay ();
161 
162 
168  string getTypeOfEquation ();
169 
170 
176  string getEoS ();
177 
178 
184  string getKernel ();
185 
186 
190  ~Configuration ();
191 
192 
193 };
194 
195 
196 #endif