5#ifndef _MOLECULARDYNAMICS_COUPLING_BOUNDARYFORCECONTROLLER_H_
6#define _MOLECULARDYNAMICS_COUPLING_BOUNDARYFORCECONTROLLER_H_
8#include "coupling/datastructures/CouplingCellWithLinkedCells.h"
9#include "coupling/interface/MDSolverInterface.h"
controller for forces acting at open MD boundaries
Definition BoundaryForceController.h:25
virtual ~BoundaryForceController()
A simple destructor.
Definition BoundaryForceController.h:31
virtual void applyBoundaryForce(coupling::datastructures::CouplingCellWithLinkedCells< LinkedCell, dim > &cell)=0
applies the boundary force on a boundary cell
BoundaryForceController(coupling::interface::MDSolverInterface< LinkedCell, dim > *const mdSolverInterface)
A simple constructor.
Definition BoundaryForceController.h:29
coupling::interface::MDSolverInterface< LinkedCell, dim > *const _mdSolverInterface
interface of the molecular dynamics solver
Definition BoundaryForceController.h:52
virtual double getPotentialEnergy(const tarch::la::Vector< dim, double > &position) const
calculates the potential energy for a given position
Definition BoundaryForceController.h:44
virtual tarch::la::Vector< dim, double > getForce(const tarch::la::Vector< dim, double > &position) const
calculates the boundary force for the given particle position
Definition BoundaryForceController.h:49
defines the cell type with cell-averaged quantities. Derived from the class coupling::datastructures:...
Definition CouplingCellWithLinkedCells.h:26
interface to the MD simulation
Definition MDSolverInterface.h:25
everything necessary for coupling operations, is defined in here
Definition AdditiveMomentumInsertion.h:15