OpenMPCD
Types.hpp
Go to the documentation of this file.
1 /**
2  * @file
3  * Defines general types used in OpenMPCD.
4  */
5 
6 #ifndef OPENMPCD_TYPES_HPP
7 #define OPENMPCD_TYPES_HPP
8 
9 #include <boost/random/mersenne_twister.hpp>
10 
11 namespace OpenMPCD
12 {
13  typedef double FP; ///< Default floating point type.
14 
15  typedef FP MPCParticlePositionType; ///< The data type for the positions of MPC particles.
16  typedef FP MPCParticleVelocityType; ///< The data type for the velocities of MPC particles.
17 
18  typedef boost::mt11213b RNG; ///< The random number generator type.
19 }
20 
21 #endif
OpenMPCD::MPCParticlePositionType
FP MPCParticlePositionType
The data type for the positions of MPC particles.
Definition: Types.hpp:15
OpenMPCD::RNG
boost::mt11213b RNG
The random number generator type.
Definition: Types.hpp:18
OpenMPCD::FP
double FP
Default floating point type.
Definition: Types.hpp:13
OpenMPCD::MPCParticleVelocityType
FP MPCParticleVelocityType
The data type for the velocities of MPC particles.
Definition: Types.hpp:16