MaMiCo 1.2
|
This is the same as the class coupling::cellmappings::VelocityGradientRelaxationMapping, but relaxes only those molecules which are located in the top boundary strip. More...
#include <VelocityGradientRelaxationMapping.h>
Public Member Functions | |
VelocityGradientRelaxationTopOnlyMapping (const double &velocityRelaxationFactor, const tarch::la::Vector< dim, double > ¤tVelocity, const I02 &cellIndex, coupling::interface::MDSolverInterface< LinkedCell, dim > *const mdSolverInterface, const coupling::datastructures::CouplingCellWithLinkedCells< LinkedCell, dim > *const couplingCells) | |
![]() | |
VelocityGradientRelaxationMapping (const double &velocityRelaxationFactor, const tarch::la::Vector< dim, double > ¤tVelocity, const I02 &cellIndex, coupling::interface::MDSolverInterface< LinkedCell, dim > *const mdSolverInterface, const coupling::datastructures::CouplingCellWithLinkedCells< LinkedCell, dim > *const couplingCells) | |
virtual | ~VelocityGradientRelaxationMapping () |
void | beginCellIteration () |
void | endCellIteration () |
void | handleCell (LinkedCell &cell) |
Protected Member Functions | |
virtual bool | relaxMolecule (const tarch::la::Vector< dim, double > &position) const |
![]() | |
bool | ignoreThisCell (const I02 &idx) const |
Additional Inherited Members | |
![]() | |
coupling::interface::MDSolverInterface< LinkedCell, dim > *const | _mdSolverInterface |
const coupling::datastructures::CouplingCellWithLinkedCells< LinkedCell, dim > *const | _couplingCells |
const double | _velocityRelaxationFactor |
const tarch::la::Vector< dim, double > | _currentVelocity |
const tarch::la::Vector< dim, double > | _innerLowerLeft |
const tarch::la::Vector< dim, double > | _innerUpperRight |
const tarch::la::Vector< dim, double > | _outerLowerLeft |
const tarch::la::Vector< dim, double > | _outerUpperRight |
I02 | _cellIdx |
bool | _ignoreThisCell |
This is the same as the class coupling::cellmappings::VelocityGradientRelaxationMapping, but relaxes only those molecules which are located in the top boundary strip.
This is the same as the class coupling::cellmappings::VelocityGradientRelaxationMapping, but relaxes only those molecules which are located in the top boundary strip. derived from the class coupling::cellmappings::VelocityGradientRelaxationMapping.
LinkedCell | cell type |
dim | Number of dimensions; it can be 1, 2 or 3 |
|
inline |
obtains relaxation factor and current velocity (the velocity towards which the relaxation shall be done is later obtained from the microscopicmomentum-buffers).
velocityRelaxationFactor | |
currentVelocity | |
cellIndex | |
mdSolverInterface | |
couplingCells |
|
inlineprotectedvirtual |
returns true, if the position 'position' is within the respective boundary strip that is spanned by the two outermost coupling cell midpoints
position |
Reimplemented from coupling::cellmappings::VelocityGradientRelaxationMapping< LinkedCell, dim >.