5#ifndef _MOLECULARDYNAMICS_COUPLING_MOMENTUMINSERTION_H_
6#define _MOLECULARDYNAMICS_COUPLING_MOMENTUMINSERTION_H_
8#include "coupling/datastructures/CouplingCell.h"
9#include "tarch/la/Vector.h"
used to manipulate the momentum/ velocity of the molecules contained in a coupling cell.
Definition MomentumInsertion.h:23
coupling::interface::MDSolverInterface< LinkedCell, dim > *const _mdSolverInterface
Definition MomentumInsertion.h:47
virtual void insertMomentum(coupling::datastructures::CouplingCellWithLinkedCells< LinkedCell, dim > &cell, I02 idx) const =0
inserts a fraction from the momentum of the coupling cell and distributes is over all molecules.
virtual ~MomentumInsertion()
a simple destructor
Definition MomentumInsertion.h:29
virtual unsigned int getTimeIntervalPerMomentumInsertion() const =0
returns the number of MD steps between subsequent momentum insertions
MomentumInsertion(coupling::interface::MDSolverInterface< LinkedCell, dim > *const mdSolverInterface)
a simple constructor
Definition MomentumInsertion.h:27
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