|
ls1-MarDyn
ls1-MarDyn molecular dynamics code
|
#include <MPIKDNode.h>
Public Member Functions | |
| MPIKDNodePacked (const std::bitset< 3 > &coversWholeDomain, const int &numProcs, const int *lowCorner, const int *highCorner, const int &nodeID, const int &owningProc, const int &firstChildID, const int &secondChildID, const int &nextSendingProcess, const double &load, const double &OptimalLoadPerProcess, const double &expectedDeviation, const double &deviation, const int &level) | |
| virtual | ~MPIKDNodePacked () |
| std::bitset< 3 > | getCoversWholeDomain () const |
| void | setCoversWholeDomain (const std::bitset< 3 > &coversWholeDomain) |
| bool | getCoversWholeDomain (int elementIndex) const |
| void | setCoversWholeDomain (int elementIndex, const bool &coversWholeDomain) |
| void | flipCoversWholeDomain (int elementIndex) |
| int | getNumProcs () const |
| void | setNumProcs (const int &numProcs) |
| const int * | getLowCorner () const |
| int | getLowCorner (int elementIndex) const |
| void | setLowCorner (int elementIndex, const int &lowCorner) |
| const int * | getHighCorner () const |
| int | getHighCorner (int elementIndex) const |
| void | setHighCorner (int elementIndex, const int &highCorner) |
| int | getNodeID () const |
| void | setNodeID (const int &nodeID) |
| int | getOwningProc () const |
| void | setOwningProc (const int &owningProc) |
| int | getFirstChildID () const |
| void | setFirstChildID (const int &firstChildID) |
| int | getSecondChildID () const |
| void | setSecondChildID (const int &secondChildID) |
| int | getNextSendingProcess () const |
| void | setNextSendingProcess (const int &nextSendingProcess) |
| double | getLoad () const |
| void | setLoad (const double &load) |
| double | getOptimalLoadPerProcess () const |
| void | setOptimalLoadPerProcess (const double &OptimalLoadPerProcess) |
| double | getDeviationLowerBound () const |
| double | getDeviation () const |
| int | getLevel () const |
| std::string | toString () const |
| void | toString (std::ostream &out) const |
Static Public Member Functions | |
| static void | initDatatype () |
| static void | shutdownDatatype () |
Static Public Attributes | |
| static MPI_Datatype | Datatype = 0 |
build date: 06-12-2011 16:21
| MPIKDNodePacked::MPIKDNodePacked | ( | const std::bitset< 3 > & | coversWholeDomain, |
| const int & | numProcs, | ||
| const int * | lowCorner, | ||
| const int * | highCorner, | ||
| const int & | nodeID, | ||
| const int & | owningProc, | ||
| const int & | firstChildID, | ||
| const int & | secondChildID, | ||
| const int & | nextSendingProcess, | ||
| const double & | load, | ||
| const double & | OptimalLoadPerProcess, | ||
| const double & | expectedDeviation, | ||
| const double & | deviation, | ||
| const int & | level | ||
| ) |
Generated
|
virtual |
Generated
| void MPIKDNodePacked::flipCoversWholeDomain | ( | int | elementIndex | ) |
Generated
| std::bitset< 3 > MPIKDNodePacked::getCoversWholeDomain | ( | ) | const |
Generated
| bool MPIKDNodePacked::getCoversWholeDomain | ( | int | elementIndex | ) | const |
Generated
| int MPIKDNodePacked::getFirstChildID | ( | ) | const |
Generated
| const int * MPIKDNodePacked::getHighCorner | ( | ) | const |
Generated
| int MPIKDNodePacked::getHighCorner | ( | int | elementIndex | ) | const |
Generated
| double MPIKDNodePacked::getLoad | ( | ) | const |
Generated
| const int * MPIKDNodePacked::getLowCorner | ( | ) | const |
Generated
| int MPIKDNodePacked::getLowCorner | ( | int | elementIndex | ) | const |
Generated
| int MPIKDNodePacked::getNextSendingProcess | ( | ) | const |
Generated
| int MPIKDNodePacked::getNodeID | ( | ) | const |
Generated
| int MPIKDNodePacked::getNumProcs | ( | ) | const |
Generated
| double MPIKDNodePacked::getOptimalLoadPerProcess | ( | ) | const |
Generated
| int MPIKDNodePacked::getOwningProc | ( | ) | const |
Generated
| int MPIKDNodePacked::getSecondChildID | ( | ) | const |
Generated
|
static |
Initializes the data type for the mpi operations. Has to be called before the very first send or receive operation is called.
TODO: incorporate changes of rev. 1000 However, at the moment I'm not quite sure how that works...
| void MPIKDNodePacked::setCoversWholeDomain | ( | const std::bitset< 3 > & | coversWholeDomain | ) |
Generated
| void MPIKDNodePacked::setCoversWholeDomain | ( | int | elementIndex, |
| const bool & | coversWholeDomain | ||
| ) |
Generated
| void MPIKDNodePacked::setFirstChildID | ( | const int & | firstChildID | ) |
Generated
| void MPIKDNodePacked::setHighCorner | ( | int | elementIndex, |
| const int & | highCorner | ||
| ) |
Generated
| void MPIKDNodePacked::setLoad | ( | const double & | load | ) |
Generated
| void MPIKDNodePacked::setLowCorner | ( | int | elementIndex, |
| const int & | lowCorner | ||
| ) |
Generated
| void MPIKDNodePacked::setNextSendingProcess | ( | const int & | nextSendingProcess | ) |
Generated
| void MPIKDNodePacked::setNodeID | ( | const int & | nodeID | ) |
Generated
| void MPIKDNodePacked::setNumProcs | ( | const int & | numProcs | ) |
Generated
| void MPIKDNodePacked::setOptimalLoadPerProcess | ( | const double & | OptimalLoadPerProcess | ) |
Generated
| void MPIKDNodePacked::setOwningProc | ( | const int & | owningProc | ) |
Generated
| void MPIKDNodePacked::setSecondChildID | ( | const int & | secondChildID | ) |
Generated
| std::string MPIKDNodePacked::toString | ( | ) | const |
Generated
| void MPIKDNodePacked::toString | ( | std::ostream & | out | ) | const |
Generated
|
static |
Global that represents the mpi datatype. There are two variants: Datatype identifies only those attributes marked with parallelise. FullDatatype instead identifies the whole record with all fields.