valSPH
 All Classes Files Functions Variables
OneTensor.h
Go to the documentation of this file.
1 
10 #ifndef __OneTensor_h__
11 #define __OneTensor_h__
12 
13 
14 #include <vector>
15 
16 
17 using namespace std;
18 
19 
20 class OneTensor {
21 
22 
23  private:
24 
25 
26  vector<double> components;
27 
28 
29  public:
30 
31 
35  OneTensor ();
36 
37 
45  double at (int pos);
46 
47 
53  void push_back (double compoment);
54 
55 
59  ~OneTensor ();
60 
61 
62 };
63 
64 
65 #endif