valSPH
 All Classes Files Functions Variables
Momentum.h
Go to the documentation of this file.
1 
10 #ifndef __Momentum_h__
11 #define __Momentum_h__
12 
13 
14 #include <vector>
15 
16 
17 using namespace std;
18 
19 
20 class Momentum {
21 
22 
23  private:
24 
25 
26  vector<double> p;
27 
28 
29  public:
30 
31 
35  Momentum ();
36 
37 
41  Momentum (int n);
42 
43 
49  Momentum (vector<double> p);
50 
51 
57  int getDim ();
58 
59 
65  void setDim (int n);
66 
67 
73  double getPi (int i);
74 
75 
82  void setPi (int i, double pi);
83 
84 
88  ~Momentum ();
89 
90 
91 };
92 
93 
94 #endif