#include <DistributionStrategy.h>
Public Member Functions | |
ModuloOverGlobalEngines (void) | |
virtual | ~ModuloOverGlobalEngines () |
virtual SimEngine::ID | operator() (SimNetwork *net) |
virtual SimEngine::ID | operator() (DistributedNetwork *dn) |
Definition at line 38 of file DistributionStrategy.h.
DistributionStrategy::ModuloOverGlobalEngines::ModuloOverGlobalEngines | ( | void | ) | [inline] |
Definition at line 41 of file DistributionStrategy.h.
virtual DistributionStrategy::ModuloOverGlobalEngines::~ModuloOverGlobalEngines | ( | ) | [inline, virtual] |
Definition at line 45 of file DistributionStrategy.h.
SimEngine::ID DistributionStrategy::ModuloOverGlobalEngines::operator() | ( | SimNetwork * | net | ) | [virtual] |
Implements DistributionStrategy::DistributionFunction.
Definition at line 15 of file DistributionStrategy.cpp.
References SimNetwork::maxLocalEngineID(), and SimNetwork::mpi_rank().
SimEngine::ID DistributionStrategy::ModuloOverGlobalEngines::operator() | ( | DistributedNetwork * | dn | ) | [virtual] |
Implements DistributionStrategy::DistributionFunction.
Definition at line 9 of file DistributionStrategy.cpp.
References DistributedNetwork::getLocation(), and DistributedNetwork::maxGlobalEngineID().