|
| ZhouBoundaryForceController (const double &density, const double &temperature, const tarch::la::Vector< 2 *dim, bool > &boundary, coupling::interface::MDSolverInterface< LinkedCell, dim > *const mdSolverInterface) |
| A simple constructor.
|
|
virtual | ~ZhouBoundaryForceController () |
| Destructor.
|
|
virtual void | applyBoundaryForce (coupling::datastructures::CouplingCellWithLinkedCells< LinkedCell, dim > &cell) |
| applies the Zhou boundary force on a boundary cell
|
|
virtual double | getPotentialEnergy (const tarch::la::Vector< dim, double > &position) const |
| calculates the potential energy for a given position
|
|
virtual tarch::la::Vector< dim, double > | getForce (const tarch::la::Vector< dim, double > &position) const |
| calculates the boundary force for the given particle position
|
|
| BoundaryForceController (coupling::interface::MDSolverInterface< LinkedCell, dim > *const mdSolverInterface) |
| A simple constructor.
|
|
virtual | ~BoundaryForceController () |
| A simple destructor.
|
|
template<class LinkedCell, unsigned int dim>
class coupling::ZhouBoundaryForceController< LinkedCell, dim >
applies the boundary force from Zhou et al. in boundary cell.
For details on the forcing, check out the descriptions in cell-mappings/ZhouBoundaryForce.
- Template Parameters
-
LinkedCell | the LinkedCell class is given by the implementation of linked cells in the molecular dynamics simulation |
dim | the integer dim refers to the spacial dimension of the simulation, can be 1, 2, or 3 |
- Author
- Philipp Neumann
template<class LinkedCell, unsigned int dim>
indicates at which boundaries to apply the force
A boolean vector which indicates where to apply the boundary force. Per dimension it has two enteries. They refer to the boundaries in the following order: left (small x), right (high x), front (small y), back (high y), bottom (small z), top (high z).