MaMiCo 1.2
Loading...
Searching...
No Matches
coupling::NoBoundaryForce< LinkedCell, dim > Class Template Reference

dummy implementation, applying no boundary force. More...

#include <NoBoundaryForce.h>

Inheritance diagram for coupling::NoBoundaryForce< LinkedCell, dim >:
Collaboration diagram for coupling::NoBoundaryForce< LinkedCell, dim >:

Public Member Functions

 NoBoundaryForce (coupling::interface::MDSolverInterface< LinkedCell, dim > *mdSolverInterface)
 a simple constructor
 
virtual ~NoBoundaryForce ()
 a simple destructor
 
virtual void applyBoundaryForce (coupling::datastructures::CouplingCellWithLinkedCells< LinkedCell, dim > &cell)
 dummy function, doesn't do anything
 
- Public Member Functions inherited from coupling::BoundaryForceController< LinkedCell, dim >
 BoundaryForceController (coupling::interface::MDSolverInterface< LinkedCell, dim > *const mdSolverInterface)
 A simple constructor.
 
virtual ~BoundaryForceController ()
 A simple destructor.
 
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
 

Additional Inherited Members

- Protected Attributes inherited from coupling::BoundaryForceController< LinkedCell, dim >
coupling::interface::MDSolverInterface< LinkedCell, dim > *const _mdSolverInterface
 interface of the molecular dynamics solver
 

Detailed Description

template<class LinkedCell, unsigned int dim>
class coupling::NoBoundaryForce< LinkedCell, dim >

dummy implementation, applying no boundary force.

Author
Philipp Neumann
Template Parameters
LinkedCellthe LinkedCell class is given by the implementation of linked cells in the molecular dynamics simulation
dimrefers to the spacial dimension of the simulation, can be 1, 2, or 3

Constructor & Destructor Documentation

◆ NoBoundaryForce()

template<class LinkedCell, unsigned int dim>
coupling::NoBoundaryForce< LinkedCell, dim >::NoBoundaryForce ( coupling::interface::MDSolverInterface< LinkedCell, dim > * mdSolverInterface)
inline

a simple constructor

Parameters
mdSolverInterfaceinterface to the md solver

Member Function Documentation

◆ applyBoundaryForce()

template<class LinkedCell, unsigned int dim>
virtual void coupling::NoBoundaryForce< LinkedCell, dim >::applyBoundaryForce ( coupling::datastructures::CouplingCellWithLinkedCells< LinkedCell, dim > & cell)
inlinevirtual

dummy function, doesn't do anything

Parameters
cellthe coupling cell to apply no force coupling cell

Implements coupling::BoundaryForceController< LinkedCell, dim >.


The documentation for this class was generated from the following file: