5#ifndef _COUPLING_MULTIMDMEDIATOR_H_
6#define _COUPLING_MULTIMDMEDIATOR_H_
8#include "coupling/InstanceHandling.h"
9#include "coupling/services/MultiMDCellService.h"
29 : _multiMDCellService(multiMDCellService), _instanceHandling(instanceHandling), _multiMDService(multiMDService),
30 _listActiveMDSimulations(_multiMDService.getNumberLocalComms(), std::vector<bool>()), _macroscopicSolverInterface(macroscopicSolverInterface) {
31 for (
auto& group : _listActiveMDSimulations) {
32 group = std::vector<bool>(_multiMDService.getLocalNumberOfMDSimulations(),
true);
68 void rmMDSimulation(
const unsigned int& communicator,
const unsigned int& index);
143 std::vector<std::vector<bool>> _listActiveMDSimulations;
148#include "coupling/MultiMDMediator.cpph"
Simulation slots are managed (i.e., added/removed) via this class. Works and interacts with the class...
Definition InstanceHandling.h:35
interface for the macroscopic, i.e. continuum solver
Definition MacroscopicSolverInterface.h:23
Definition MultiMDCellService.h:29
Definition MultiMDService.h:30
everything necessary for coupling operations, is defined in here
Definition AdditiveMomentumInsertion.h:15