6#ifndef _MOLECULARDYNAMICS_COUPLING_SOLVERS_COUETTESOLVERINTERFACE_H_
7#define _MOLECULARDYNAMICS_COUPLING_SOLVERS_COUETTESOLVERINTERFACE_H_
9#include "coupling/interface/MacroscopicSolverInterface.h"
40 unsigned int getOuterRegion()
override {
return _outerRegion; }
45 std::vector<unsigned int>
getRanks(I01 idx)
override {
46 std::vector<unsigned int> ranks;
interface for the macroscopic, i.e. continuum solver
Definition MacroscopicSolverInterface.h:23
MacroscopicSolverInterface()
Definition MacroscopicSolverInterface.h:27
interface to couette solver
Definition CouetteSolverInterface.h:28
virtual ~CouetteSolverInterface()
a dummy destructor
Definition CouetteSolverInterface.h:38
CouetteSolverInterface(tarch::la::Vector< dim, unsigned int > globalNumberCouplingCells, unsigned int outerRegion=1)
a simple constructor
Definition CouetteSolverInterface.h:34
const tarch::la::Vector< dim, unsigned int > _globalNumberCouplingCells
global number of coupling cells
Definition CouetteSolverInterface.h:56
const unsigned int _outerRegion
defines an offset of cells which is considered to be the outer region
Definition CouetteSolverInterface.h:54
std::vector< unsigned int > getRanks(I01 idx) override
calculates for a coupling cell index, which rank holds it
Definition CouetteSolverInterface.h:45
all numerical solvers are defined in the namespace, and their interfaces
Definition CouetteSolver.h:14
everything necessary for coupling operations, is defined in here
Definition AdditiveMomentumInsertion.h:15