MaMiCo 1.2
Loading...
Searching...
No Matches
TransferStrategy.h
1// Copyright (C) 2015 Technische Universitaet Muenchen
2// This file is part of the Mamico project. For conditions of distribution
3// and use, please see the copyright notice in Mamico's main folder, or at
4// www5.in.tum.de/mamico
5#ifndef _MOLECULARDYNAMICS_COUPLING_TRANSFERSTRATEGIES_STRATEGY_H_
6#define _MOLECULARDYNAMICS_COUPLING_TRANSFERSTRATEGIES_STRATEGY_H_
7
8#include "coupling/datastructures/CouplingCell.h"
9#include "coupling/interface/MDSolverInterface.h"
10
11namespace coupling {
12namespace transferstrategies {
13template <class LinkedCell, unsigned int dim> class TransferStrategy;
14}
15} // namespace coupling
16
25template <class LinkedCell, unsigned int dim> class coupling::transferstrategies::TransferStrategy {
26public:
30
32 virtual ~TransferStrategy() {}
33
43
51
59
69
76
83
97
104
111
125
132
139
151
158
165
179
186
193
202
209
216
217protected:
220};
221#endif // _MOLECULARDYNAMICS_COUPLING_TRANSFERSTRATEGIES_STRATEGY_H_
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
Definition TransferStrategy.h:25
TransferStrategy(coupling::interface::MDSolverInterface< LinkedCell, dim > *const mdSolverInterface)
a simple destructor
Definition TransferStrategy.h:29
virtual void beginProcessInnerCouplingCellsAfterMDTimestep()
the method is called before the inner cell data is send, e.g. general values might be set here
Definition TransferStrategy.h:208
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
Definition TransferStrategy.h:41
virtual void endProcessOuterCouplingCellsAfterReceivingMacroscopicSolverData()
the method is called after the outer cells are processed, e.g. general values might be set here
Definition TransferStrategy.h:138
virtual void endProcessOuterCouplingCellsBeforeSendingMDSolverData()
the method is called after the outer cells are processed, e.g. general values might be set here
Definition TransferStrategy.h:192
virtual void processInnerCouplingCellAfterMDTimestep(coupling::datastructures::CouplingCellWithLinkedCells< LinkedCell, dim > &cell, I02 index)
Definition TransferStrategy.h:201
virtual void processInnerCouplingCellBeforeSendingMDSolverData(coupling::datastructures::CouplingCellWithLinkedCells< LinkedCell, dim > &cell, I02 index)
is called for every coupling cell before sending the macroscopicMass and -Momentum data to the macros...
Definition TransferStrategy.h:150
virtual ~TransferStrategy()
a dummy destructor
Definition TransferStrategy.h:32
virtual void beginProcessInnerCouplingCellsBeforeSendingMDSolverData()
the method is called before the inner cell data is send, e.g. general values might be set here
Definition TransferStrategy.h:157
virtual void endProcessOuterCouplingCellsBeforeReceivingMacroscopicSolverData()
the method is called after the outer cells are processed, e.g. general values might be set here
Definition TransferStrategy.h:82
virtual void processOuterCouplingCellAfterReceivingMacroscopicSolverData(coupling::datastructures::CouplingCellWithLinkedCells< LinkedCell, dim > &cell, I02 index)
is called for every coupling cell after the microscopicMass and -Momentum have been filled in with da...
Definition TransferStrategy.h:123
virtual void beginProcessOuterCouplingCellsBeforeReceivingMacroscopicSolverData()
the method is called before the outer cells are processed, e.g. general values might be set here
Definition TransferStrategy.h:75
coupling::interface::MDSolverInterface< LinkedCell, dim > *const _mdSolverInterface
Definition TransferStrategy.h:219
virtual void endProcessInnerCouplingCellsBeforeSendingMDSolverData()
the method is called after the inner cell data is send, e.g. general values might be set here
Definition TransferStrategy.h:164
virtual void endProcessInnerCouplingCellsAfterReceivingMacroscopicSolverData()
the method is called after the inner cells are processed, e.g. general values might be set here
Definition TransferStrategy.h:110
virtual void endProcessInnerCouplingCellsAfterMDTimestep()
the method is called after the inner cell data is send, e.g. general values might be set here
Definition TransferStrategy.h:215
virtual void beginProcessOuterCouplingCellsAfterReceivingMacroscopicSolverData()
the method is called before the outer cells are processed, e.g. general values might be set here
Definition TransferStrategy.h:131
virtual void processInnerCouplingCellAfterReceivingMacroscopicSolverData(coupling::datastructures::CouplingCellWithLinkedCells< LinkedCell, dim > &cell, I02 index)
Definition TransferStrategy.h:95
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
Definition TransferStrategy.h:67
virtual void beginProcessInnerCouplingCellsBeforeReceivingMacroscopicSolverData()
the method is called before the cells are processed, e.g. general values might be set here
Definition TransferStrategy.h:50
virtual void beginProcessOuterCouplingCellsBeforeSendingMDSolverData()
the method is called before the outer cells are processed, e.g. general values might be set here
Definition TransferStrategy.h:185
virtual void endProcessInnerCouplingCellsBeforeReceivingMacroscopicSolverData()
the method is called after the cells are processed, e.g. some general evaluation might happen like su...
Definition TransferStrategy.h:58
virtual void processOuterCouplingCellBeforeSendingMDSolverData(coupling::datastructures::CouplingCellWithLinkedCells< LinkedCell, dim > &cell, I02 index)
is called for outer coupling cell before sending the macroscopicMass and -Momentum data to the macros...
Definition TransferStrategy.h:178
virtual void beginProcessInnerCouplingCellsAfterReceivingMacroscopicSolverData()
the method is called before the inner cells are processed, e.g. general values might be set here
Definition TransferStrategy.h:103
the namespace is used for transferstrategies
Definition AveragingTransferStrategy.h:18
everything necessary for coupling operations, is defined in here
Definition AdditiveMomentumInsertion.h:15