MaMiCo 1.2
|
a singleton which returns and stores the interface implementations. More...
#include <MamicoInterfaceProvider.h>
Public Member Functions | |
void | setMacroscopicSolverInterface (coupling::interface::MacroscopicSolverInterface< dim > *macroscopicSolverInterface) |
coupling::interface::MacroscopicSolverInterface< dim > * | getMacroscopicSolverInterface () |
void | setMDSolverInterface (coupling::interface::MDSolverInterface< LinkedCell, dim > *mdSolverInterface) |
coupling::interface::MDSolverInterface< LinkedCell, dim > * | getMDSolverInterface () |
void | setCouplingCellService (coupling::services::CouplingCellService< dim > *couplingCellService) |
coupling::services::CouplingCellService< dim > * | getCouplingCellService () |
Static Public Member Functions | |
static MamicoInterfaceProvider & | getInstance () |
Private Member Functions | |
MamicoInterfaceProvider () | |
~MamicoInterfaceProvider () | |
Private Attributes | |
coupling::interface::MacroscopicSolverInterface< dim > * | _macroscopicSolverInterface |
coupling::interface::MDSolverInterface< LinkedCell, dim > * | _mdSolverInterface |
coupling::services::CouplingCellService< dim > * | _couplingCellService |
a singleton which returns and stores the interface implementations.
This is a singleton which returns and stores the interface implementations. It can be used if there is no other way to share access to a particular interface object between MaMiCo and the MD simulation
LinkedCell | cell type |
dim | Number of dimensions; it can be 1, 2 or 3 |
|
inlineprivate |
Private constructor, creation throgh a pointer and set functions
|
inlineprivate |
Private destructor
|
inline |
returns coupling cell service
|
inlinestatic |
returns the MamicoInterfaceProvider object
|
inline |
returns acroscopic solver interface
|
inline |
returns MD solver interface
|
inline |
sets coupling cell service
|
inline |
sets macroscopic solver interface
macroscopicSolverInterface |
|
inline |
sets MD solver interface
mdSolverInterface |