|
| TransferStrategy4SchwarzCoupling (coupling::interface::MDSolverInterface< LinkedCell, dim > *const mdSolverInterface, unsigned int numberMDSteps) |
| a simple
|
|
virtual | ~TransferStrategy4SchwarzCoupling () |
| a dummy destructor
|
|
void | beginProcessInnerCouplingCellsBeforeReceivingMacroscopicSolverData () override |
| the sample counter is reseted (0)
|
|
void | processInnerCouplingCellAfterReceivingMacroscopicSolverData (coupling::datastructures::CouplingCellWithLinkedCells< LinkedCell, dim > &cell, I02 index) override |
| the data received from the macro solver is processed
|
|
void | processOuterCouplingCellAfterReceivingMacroscopicSolverData (coupling::datastructures::CouplingCellWithLinkedCells< LinkedCell, dim > &cell, I02 index) override |
| the momentum is converted to velocity (velocity = momentum/mass) and stored in the microscopicMomentum the mass is not applied, therefore the macroscopicMass is set to 0 the macroscopic quantities are reseted (0)
|
|
void | processInnerCouplingCellBeforeSendingMDSolverData (coupling::datastructures::CouplingCellWithLinkedCells< LinkedCell, dim > &cell, I02 index) override |
| the data collected during the md time steps is averaged (/numberMDSteps)
|
|
void | processOuterCouplingCellBeforeSendingMDSolverData (coupling::datastructures::CouplingCellWithLinkedCells< LinkedCell, dim > &cell, I02 index) override |
| the macroscopic quantities are reseted (0)
|
|
void | beginProcessInnerCouplingCellsAfterMDTimestep () override |
| the _timestepCounter is incremented and if sample()==true the _sampleCounter too
|
|
void | processInnerCouplingCellAfterMDTimestep (coupling::datastructures::CouplingCellWithLinkedCells< LinkedCell, dim > &cell, I02 index) override |
| the mass and momentum are evaluated in the cell and stored in the macroscopic quantities
|
|
| TransferStrategy (coupling::interface::MDSolverInterface< LinkedCell, dim > *const mdSolverInterface) |
| a simple destructor
|
|
virtual | ~TransferStrategy () |
| a dummy destructor
|
|
virtual void | processInnerCouplingCellBeforeReceivingMacroscopicSolverData (coupling::datastructures::CouplingCellWithLinkedCells< LinkedCell, dim > &cell, I02 index) |
| is called on the inner coupling cells before the data from the macro solver is applied
|
|
virtual void | endProcessInnerCouplingCellsBeforeReceivingMacroscopicSolverData () |
| the method is called after the cells are processed, e.g. some general evaluation might happen like sum/counter
|
|
virtual void | processOuterCouplingCellBeforeReceivingMacroscopicSolverData (coupling::datastructures::CouplingCellWithLinkedCells< LinkedCell, dim > &cell, I02 index) |
| is called on the outer coupling cells before the data from the macro solver is applied
|
|
virtual void | beginProcessOuterCouplingCellsBeforeReceivingMacroscopicSolverData () |
| the method is called before the outer cells are processed, e.g. general values might be set here
|
|
virtual void | endProcessOuterCouplingCellsBeforeReceivingMacroscopicSolverData () |
| the method is called after the outer cells are processed, e.g. general values might be set here
|
|
virtual void | beginProcessInnerCouplingCellsAfterReceivingMacroscopicSolverData () |
| the method is called before the inner cells are processed, e.g. general values might be set here
|
|
virtual void | endProcessInnerCouplingCellsAfterReceivingMacroscopicSolverData () |
| the method is called after the inner cells are processed, e.g. general values might be set here
|
|
virtual void | beginProcessOuterCouplingCellsAfterReceivingMacroscopicSolverData () |
| the method is called before the outer cells are processed, e.g. general values might be set here
|
|
virtual void | endProcessOuterCouplingCellsAfterReceivingMacroscopicSolverData () |
| the method is called after the outer cells are processed, e.g. general values might be set here
|
|
virtual void | beginProcessInnerCouplingCellsBeforeSendingMDSolverData () |
| the method is called before the inner cell data is send, e.g. general values might be set here
|
|
virtual void | endProcessInnerCouplingCellsBeforeSendingMDSolverData () |
| the method is called after the inner cell data is send, e.g. general values might be set here
|
|
virtual void | beginProcessOuterCouplingCellsBeforeSendingMDSolverData () |
| the method is called before the outer cells are processed, e.g. general values might be set here
|
|
virtual void | endProcessOuterCouplingCellsBeforeSendingMDSolverData () |
| the method is called after the outer cells are processed, e.g. general values might be set here
|
|
virtual void | endProcessInnerCouplingCellsAfterMDTimestep () |
| the method is called after the inner cell data is send, e.g. general values might be set here
|
|
template<class LinkedCell, unsigned int dim>
class coupling::transferstrategies::TransferStrategy4SchwarzCoupling< LinkedCell, dim >
transfer strategy for Schwarz coupling algorithm, adopted from Dupuis et al. We currently sample over the last 20% of the coupling interval, i.e. of the numberMDsteps time steps in MD. The other 80% are used for equilibration.
- Author
- Philipp Neumann
- Template Parameters
-
LinkedCell | the LinkedCell class is given by the implementation of linked cells in the molecular dynamics simulation |
dim | refers to the spacial dimension of the simulation, can be 1, 2, or 3 |