|
void | initWithCells (tarch::la::Vector< dim, unsigned int > globalNumberCouplingCells, tarch::la::Vector< dim, unsigned int > numberProcesses, coupling::paralleltopology::ParallelTopologyType parallelTopologyType, unsigned int outerRegion, const unsigned int rank, MPI_Comm comm=MPI_COMM_WORLD) |
|
void | initWithCells (const tarch::la::Vector< dim, std::vector< unsigned int > > &subdomainWeights, tarch::la::Vector< dim, unsigned int > globalNumberCouplingCells, tarch::la::Vector< dim, unsigned int > numberProcesses, coupling::paralleltopology::ParallelTopologyType parallelTopologyType, unsigned int outerRegion, const unsigned int rank, MPI_Comm comm=MPI_COMM_WORLD) |
|
void | initWithMDSize (const tarch::la::Vector< 3, double > &globalMDDomainSize, const tarch::la::Vector< 3, double > &globalMDDomainOffset, const tarch::la::Vector< 3, unsigned int > &mdNumberProcesses, const tarch::la::Vector< 3, double > &couplingCellSize, coupling::paralleltopology::ParallelTopologyType parallelTopologyType, unsigned int outerRegion, unsigned int rank, MPI_Comm comm=MPI_COMM_WORLD) |
|
void | initWithMDSize (const tarch::la::Vector< dim, std::vector< unsigned int > > &subdomainWeights, const tarch::la::Vector< 3, double > &globalMDDomainSize, const tarch::la::Vector< 3, double > &globalMDDomainOffset, const tarch::la::Vector< 3, unsigned int > &mdNumberProcesses, const tarch::la::Vector< 3, double > &couplingCellSize, coupling::paralleltopology::ParallelTopologyType parallelTopologyType, unsigned int outerRegion, unsigned int rank, MPI_Comm comm=MPI_COMM_WORLD) |
|
void | finalize () |
|
std::vector< unsigned int > | getRanksForGlobalIndex (const BaseIndex< dim > &globalCellIndex, unsigned int topologyOffset) const |
|
unsigned int | getUniqueRankForCouplingCell (const BaseIndex< dim > &globalCellIndex, unsigned int topologyOffset) const |
|
MPI_Comm | getComm () const |
|
unsigned int | getRank () const |
|
bool | isInitialized () const |
|
tarch::la::Vector< dim, double > | getGlobalMDDomainSize () const |
|
tarch::la::Vector< dim, double > | getGlobalMDDomainOffset () const |
| returns the offset, i.e. the lower,left... corner coordinate, of the MD domain.
|
|
tarch::la::Vector< dim, double > | getCouplingCellSize () const |
| returns the vector size of each coupling cell.
|
|
unsigned int | getScalarNumberProcesses () const |
|
BaseIndex< dim > | getCellIndex (tarch::la::Vector< dim, double > position) const |
|
template<unsigned int dim>
class coupling::indexing::IndexingService< dim >
Singleton service class initialising lower and upper boundaries of all possible CellIndex specialisations.
- Template Parameters
-
dim | number of dimensions of the coupled simulation |
- Parameters
-
simpleMDConfig | config object of SimpleMD instance used in coupling |
mamicoConfig | config object containg general information of coupling process |
outer | region |
- Author
- Felix Maurer