SSAGES  0.9.3
Software Suite for Advanced General Ensemble Simulations
types.h
1 
20 #pragma once
21 #include <Eigen/Dense>
22 #include <vector>
23 
24 namespace SSAGES
25 {
26  // Forward declare necessary types.
27  class CollectiveVariable;
28 
30  using Vector = Eigen::VectorXd;
31 
33  using Vector3 = Eigen::Vector3d;
34 
36  using Bool3 = Eigen::Matrix<bool, 3, 1>;
37 
39  using Integer3 = Eigen::Vector3i;
40 
42  using Matrix3 = Eigen::Matrix3d;
43 
45  using Matrix3N = Eigen::MatrixX3d;
46 
48  using Label = std::vector<int>;
49 
51  using CVList = std::vector<CollectiveVariable*>;
52 
54  enum class Dimension{ x = 0, y = 1, z = 2};
55 }
Eigen::Matrix3d Matrix3
3x3 matrix.
Definition: types.h:42
Eigen::VectorXd Vector
Arbitrary length vector.
Definition: types.h:30
Eigen::Vector3d Vector3
Three-dimensional vector.
Definition: types.h:33
Eigen::MatrixX3d Matrix3N
nx3 matrix.
Definition: types.h:45
Eigen::Matrix< bool, 3, 1 > Bool3
Three-dimensional boolean.
Definition: types.h:36
Dimension
Enum for dimension.
Definition: types.h:54
std::vector< CollectiveVariable * > CVList
List of Collective Variables.
Definition: types.h:51
Eigen::Vector3i Integer3
Three-dimensional integer vector.
Definition: types.h:39
std::vector< int > Label
List of integers.
Definition: types.h:48