|
ESyS-Particle
2.3.4
|
A convenience class encapsulating an MPI barrier. Includes timing of the wait and a debug message ( via console.XDebug() ) More...
#include <mpibarrier.h>
Public Member Functions | |
| CMPIBarrier (MPI_Comm comm=MPI_COMM_WORLD) | |
| void | wait (const char *) |
Private Attributes | |
| MPI_Comm | m_comm |
| the MPI Communicator used More... | |
| int | m_id |
| the rank of the process More... | |
| double | m_time |
A convenience class encapsulating an MPI barrier. Includes timing of the wait and a debug message ( via console.XDebug() )
| void CMPIBarrier::wait | ( | const char * | msg | ) |
Wait on the barrier. The message and the time waited are output to console.XDebug()
| msg | the message |
References console, m_comm, m_id, m_time, and Console::XDebug().
Referenced by CLatticeMaster::addBondedIG(), CLatticeMaster::addCappedBondedIG(), CLatticeMaster::addConnections(), CLatticeMaster::addExIG(), CLatticeMaster::addParticles(), CLatticeMaster::addRotBondedIG(), CLatticeMaster::addRotThermBondedIG(), CLatticeMaster::addScalarHistoryInteractionSaveField(), CLatticeMaster::addScalarInteractionSaveField(), CLatticeMaster::addScalarParticleSaveField(), CLatticeMaster::addScalarTriangleSaveField(), CLatticeMaster::addShortBondedIG(), CLatticeMaster::addTaggedScalarInteractionSaveField(), CLatticeMaster::addTaggedScalarParticleDistributionSaver(), CLatticeMaster::addTaggedScalarParticleSaveField(), CLatticeMaster::addTaggedVectorParticleSaveField(), CLatticeMaster::addTaggedVectorParticleSaveFieldWT(), CLatticeMaster::addVectorInteractionSaveField(), CLatticeMaster::addVectorParticleSaveField(), CLatticeMaster::addVectorParticleSaveFieldWT(), CLatticeMaster::addVectorTriangleSaveField(), CLatticeMaster::applyForceToWall(), CLatticeMaster::checkNeighbors(), CLatticeMaster::createTriMesh(), CLatticeMaster::findParticleNearestTo(), CLatticeMaster::getParticlePosn(), ASubLattice::initComplex(), CheckPointController::issueCheckPointCmd(), CheckPointController::issueCheckPointCmdWTM(), CheckPointController::issueCheckPointLoadingCmd(), CheckPointController::issueSnapShotCmd(), TSubLattice< T >::loadCheckPointData(), CLatticeMaster::moveParticleTo(), CLatticeMaster::moveSingleNodeBy(), CLatticeMaster::moveSingleParticleTo(), CLatticeMaster::moveSphereBodyBy(), CLatticeMaster::moveTaggedNodesBy(), CLatticeMaster::moveTaggedParticlesBy(), CLatticeMaster::moveWallBy(), CLatticeMaster::oneStep(), CLatticeMaster::readAndDistributeMesh2D(), TSubLattice< T >::rebuildInteractions(), TSubLattice< T >::receiveConnections(), TSubLattice< T >::receiveParticles(), CLatticeMaster::runEnd(), CLatticeMaster::runOneStep(), CheckPointer::saveThroughMaster(), CLatticeMaster::saveTimingData(), TSubLattice< T >::searchNeighbors(), CLatticeMaster::searchNeighbors(), CLatticeMaster::setParticleAngVel(), CLatticeMaster::setParticleDensity(), CLatticeMaster::setParticleNonDynamic(), CLatticeMaster::setParticleNonRot(), CLatticeMaster::setParticleNonTrans(), CLatticeMaster::setParticleVel(), CLatticeMaster::setTaggedParticleVel(), CLatticeMaster::setVelocityOfWall(), CLatticeMaster::setWallNormal(), CLatticeMaster::tagParticleNearestTo(), CLatticeMaster::updateInteractions(), and BroadcastCommand::wait().

|
private |
the MPI Communicator used
Referenced by CMPIBarrier(), and wait().
|
private |
the rank of the process
Referenced by CMPIBarrier(), and wait().
|
private |
Referenced by wait().