MaMiCo 1.2
|
This class is used to superimpose a random perturbation to the mean velocity in all directions. More...
#include <PerturbateVelocityMapping.h>
Public Member Functions | |
PerturbateVelocityMapping (coupling::interface::MDSolverInterface< LinkedCell, dim > *const mdSolverInterface, const tarch::la::Vector< dim, double > &velocity, const double &temperature) | |
~PerturbateVelocityMapping () | |
void | beginCellIteration () |
void | endCellIteration () |
void | handleCell (LinkedCell &cell) |
Private Attributes | |
coupling::interface::MDSolverInterface< LinkedCell, dim > *const | _mdSolverInterface |
const double | _molecularMass |
const double | _kB |
const double | _temperature |
const tarch::la::Vector< dim, double > | _velocity |
const double | _sigma |
This class is used to superimpose a random perturbation to the mean velocity in all directions.
This class is used to superimpose a random perturbation to the mean velocity in all directions. It is use for Dynamic MD cases to launch new MD instances with independent molecular values (velocities)
LinkedCell | cell type |
dim | Number of dimensions; it can be 1, 2 or 3 |
|
inline |
Constructor
mdSolverInterface | |
velocity | |
temperature |
|
inline |
Destructor
|
inline |
empty function
|
inline |
empty function
|
inline |
superimposes a random perturbation to the mean velocity in all directions
cell |