51 |
|
#define BRAINS_STATS_HPP |
52 |
|
|
53 |
|
#include <string> |
54 |
+ |
#include <map> |
55 |
|
|
56 |
|
#include "math/SquareMatrix3.hpp" |
57 |
|
namespace oopse { |
83 |
|
IMPROPER_POTENTIAL, |
84 |
|
VRAW, |
85 |
|
VHARM, |
86 |
+ |
PRESSURE_TENSOR_X, |
87 |
+ |
PRESSURE_TENSOR_Y, |
88 |
+ |
PRESSURE_TENSOR_Z, |
89 |
|
ENDINDEX //internal use |
90 |
|
}; |
91 |
|
|
117 |
|
void setTau(const Mat3x3d& tau) { |
118 |
|
tau_ = tau; |
119 |
|
} |
120 |
< |
|
120 |
> |
|
121 |
> |
typedef std::map<std::string, Stats::StatsIndex> StatsMapType; |
122 |
> |
static StatsMapType statsMap; |
123 |
> |
|
124 |
|
private: |
125 |
|
static void init(); |
126 |
|
static bool isInit_; |
130 |
|
Mat3x3d tau_; |
131 |
|
}; |
132 |
|
|
133 |
+ |
|
134 |
+ |
|
135 |
|
} //end namespace oopse |
136 |
|
#endif //BRAINS_STATS_HPP |