|
OPAL (Object Oriented Parallel Accelerator Library)
2.2.0
OPAL
|
#include "Message/GlobalComm.hpp"

Go to the source code of this file.
Functions | |
| template<class InputIterator , class OutputIterator , class ReduceOp > | |
| bool | reduce (Communicate &, InputIterator, InputIterator, OutputIterator, const ReduceOp &, bool *IncludeVal=0) |
| template<class InputIterator , class OutputIterator , class ReduceOp > | |
| bool | reduce (InputIterator, InputIterator, OutputIterator, const ReduceOp &, bool *IncludeVal=0) |
| template<class T , class ReduceOp > | |
| bool | reduce (Communicate &comm, T &input, T &output, const ReduceOp &op) |
| template<class T , class ReduceOp > | |
| bool | reduce (T &input, T &output, const ReduceOp &op) |
| template<class T , class ReduceOp > | |
| bool | reduce_masked (Communicate &comm, T &input, T &output, const ReduceOp &op, bool IncludeVal) |
| template<class T , class ReduceOp > | |
| bool | reduce_masked (T &input, T &output, const ReduceOp &op, bool IncludeVal) |
| template<class InputIterator , class RandomIterator , class ScatterOp > | |
| bool | scatter (Communicate &, InputIterator, InputIterator, RandomIterator, int *, int *, const ScatterOp &) |
| template<class InputIterator , class RandomIterator , class ScatterOp > | |
| bool | scatter (InputIterator, InputIterator, RandomIterator, int *, int *, const ScatterOp &) |
| template<typename T > | |
| void | gather (const T *input, T *output, int count, int root=0) |
| template<typename T > | |
| void | scatter (const T *input, T *output, int count, int root=0) |
| template<typename T , class Op > | |
| void | reduce (const T *input, T *output, int count, Op op, int root=0) |
| template<typename T , class Op > | |
| void | new_reduce (const T *input, T *output, int count, Op op, int root=0) |
| template<typename T , class Op > | |
| void | new_reduce (T *inout, int count, Op op, int root=0) |
| template<typename T , class Op > | |
| void | reduce (const T &input, T &output, int count, Op op, int root=0) |
| template<typename T , class Op > | |
| void | allreduce (const T *input, T *output, int count, Op op) |
| template<typename T , class Op > | |
| void | allreduce (const T &input, T &output, int count, Op op) |
| template<typename T , class Op > | |
| void | allreduce (T *inout, int count, Op op) |
| template<typename T , class Op > | |
| void | allreduce (T &inout, int count, Op op) |
Definition at line 510 of file GlobalComm.hpp.
References IpplInfo::getComm().
Referenced by Distribution::adjustPhaseSpace(), allreduce(), PartBunchBase< T, Dim >::calcBeamParameters(), MultiBunchHandler::calcBunchBeamParameters(), PartBunchBase< T, Dim >::calcGammas_cycl(), PartBunchBase< T, Dim >::calcMoments(), ParallelCyclotronTracker::computePathLengthUpdate(), PartBunchBase< T, Dim >::countTotalNumPerBunch(), ParallelCyclotronTracker::deleteParticle(), PeakFinder::evaluate(), ParallelTTracker::evenlyDistributeParticles(), CollimatorPhysics::gatherStatistics(), PartBunchBase< T, Dim >::get_bounds(), AmrParticleBase< PLayout >::getGlobalBounds_m(), ParticleSpatialLayout< T, Dim, Mesh >::new_swap_particles(), LossDataSink::splitSets(), and AmrYtWriter::writeBunch().

Definition at line 520 of file GlobalComm.hpp.
References allreduce().

| void allreduce | ( | T * | inout, |
| int | count, | ||
| Op | op | ||
| ) |
Definition at line 526 of file GlobalComm.hpp.
References IpplInfo::getComm().

| void allreduce | ( | T & | inout, |
| int | count, | ||
| Op | op | ||
| ) |
Definition at line 537 of file GlobalComm.hpp.
References allreduce().

Definition at line 449 of file GlobalComm.hpp.
References IpplInfo::getComm().
Referenced by PartBunchBase< T, Dim >::calcNumPartsOutside(), ParticleAttrib< CacheDataCIC< double, 3U > >::gather(), PartBunchBase< T, Dim >::gatherLoadBalanceStatistics(), and IpplMemoryUsage::sample().

| void new_reduce | ( | const T * | input, |
| T * | output, | ||
| int | count, | ||
| Op | op, | ||
| int | root = 0 |
||
| ) |
Definition at line 477 of file GlobalComm.hpp.
References IpplInfo::getComm().
Referenced by MemoryProfiler::compute(), and LossDataSink::computeSetStatistics().

| void new_reduce | ( | T * | inout, |
| int | count, | ||
| Op | op, | ||
| int | root = 0 |
||
| ) |
Definition at line 488 of file GlobalComm.hpp.
References IpplInfo::getComm(), and IpplInfo::myNode().

| bool reduce | ( | Communicate & | , |
| InputIterator | , | ||
| InputIterator | , | ||
| OutputIterator | , | ||
| const ReduceOp & | , | ||
| bool * | IncludeVal = 0 |
||
| ) |
Definition at line 55 of file GlobalComm.hpp.
References IpplInfo::abort(), Communicate::broadcast_others(), COMM_ANY_NODE, COMM_REDUCE_CYCLE, COMM_REDUCE_RECV_TAG, COMM_REDUCE_SEND_TAG, Message::MsgItem::data(), endl(), ERRORMSG, getMessage(), Communicate::getNodes(), Message::item(), Communicate::myNode(), TagMaker::next_tag(), PETE_apply(), putMessage(), Communicate::receive_block(), Communicate::send(), and Message::size().
Referenced by PartBunchBase< T, Dim >::boundp_destroyT(), PartBunchBase< T, Dim >::calcEMean(), EnvelopeBunch::calcEmittance(), EnvelopeBunch::calcEnergyChirp(), PartBunchBase< T, Dim >::calcGammas(), PartBunchBase< T, Dim >::calcLineDensity(), ParallelCyclotronTracker::calcMeanP(), PartBunchBase< T, Dim >::calcMeanPhi(), ParallelCyclotronTracker::calcMeanR(), GreenWakeFunction::CalcWakeFFT(), BeamStripping::checkBeamStripping(), ParallelCyclotronTracker::checkNumPart(), Distribution::checkParticleNumber(), BareField< T, Dim >::CompressedFraction(), P3MPoissonSolver::compute_temperature(), P3MPoissonSolver::computeAvgSpaceChargeForces(), PeakFinder::computeCentroid_m(), ParallelTTracker::computeExternalFields(), ParallelTTracker::computeParticleMatterInteraction(), PartBunchBase< T, Dim >::correctEnergy(), Distribution::createDistributionFromFile(), PeakFinder::createHistogram_m(), ParallelCyclotronTracker::deleteParticle(), PartBunchBase< T, Dim >::destroyT(), Stripper::doFinaliseCheck(), CCollimator::doFinaliseCheck(), Distribution::doRestartOpalCycl(), Distribution::emitParticles(), Distribution::fillEBinHistogram(), AmrPartBunch::gatherLevelStatistics(), PartBins::getDelBinCont(), PartBinsCyc::getGlobalBinCount(), PartBins::getGlobalBinCount(), PartBunchBase< T, Dim >::getIfBeamEmitting(), PartBunchBase< T, Dim >::getLastEmittedEnergyBin(), Distribution::getMaxTOrZ(), Distribution::getMinTOrZ(), Distribution::getNumberOfParticlesInFile(), PartBins::getTotalNum(), PartBins::getTotalNumPerBin(), ParallelSliceTracker::hasEndOfLineReached(), ParallelTTracker::hasEndOfLineReached(), LossDataSink::hasNoParticlesToDump(), LossDataSink::hasTimeAttribute(), ParticleAttrib< CacheDataCIC< double, 3U > >::isDirty(), IpplMessageCounterRegion::print(), Timing::print(), Distribution::printDist(), IpplCounter::printIt(), PartBunchBase< T, Dim >::Rebin(), reduce(), Distribution::reflectDistribution(), PartBunchBase< T, Dim >::resetPartBinID2(), PartBins::resetPartInBin(), PartBins::resetPartInBin_cyc(), LossDataSink::saveH5(), EnvelopeBunch::setBinnedLShape(), Distribution::setupEmissionModelNone(), Distribution::shiftBeam(), PartBins::sortArray(), EnvelopeBunch::timeStep(), ParticleLayoutFromGrid::update(), PartBins::updateDeletedPartsInBin(), PartBunchBase< T, Dim >::updateNumTotal(), PartBins::updatePartInBin(), PartBins::updateStatus(), Distribution::writeOutFileHeader(), Distribution::writeOutFileInjection(), DataSink::writePartlossZASCII(), and ParallelTTracker::writePhaseSpace().

| bool reduce | ( | InputIterator | , |
| InputIterator | , | ||
| OutputIterator | , | ||
| const ReduceOp & | , | ||
| bool * | IncludeVal = 0 |
||
| ) |
Definition at line 194 of file GlobalComm.hpp.
References IpplInfo::Comm, and reduce().

| bool reduce | ( | Communicate & | comm, |
| T & | input, | ||
| T & | output, | ||
| const ReduceOp & | op | ||
| ) |
Definition at line 71 of file GlobalComm.h.
References reduce_masked().

Definition at line 78 of file GlobalComm.h.
References reduce_masked().

| void reduce | ( | const T * | input, |
| T * | output, | ||
| int | count, | ||
| Op | op, | ||
| int | root = 0 |
||
| ) |
Definition at line 467 of file GlobalComm.hpp.
References IpplInfo::getComm().

| void reduce | ( | const T & | input, |
| T & | output, | ||
| int | count, | ||
| Op | op, | ||
| int | root = 0 |
||
| ) |
Definition at line 504 of file GlobalComm.hpp.
References reduce().

| bool reduce_masked | ( | Communicate & | comm, |
| T & | input, | ||
| T & | output, | ||
| const ReduceOp & | op, | ||
| bool | IncludeVal | ||
| ) |
Definition at line 208 of file GlobalComm.hpp.
References IpplInfo::abort(), Communicate::broadcast_others(), COMM_ANY_NODE, COMM_REDUCE_CYCLE, COMM_REDUCE_RECV_TAG, COMM_REDUCE_SEND_TAG, getMessage(), Communicate::getNodes(), Communicate::myNode(), Hypervolume::n, TagMaker::next_tag(), PETE_apply(), putMessage(), Communicate::receive_block(), Communicate::send(), Message::size(), and T.
Referenced by reduce(), reduce_masked(), and Reduction().

| bool reduce_masked | ( | T & | input, |
| T & | output, | ||
| const ReduceOp & | op, | ||
| bool | IncludeVal | ||
| ) |
Definition at line 334 of file GlobalComm.hpp.
References IpplInfo::Comm, and reduce_masked().

| bool scatter | ( | Communicate & | , |
| InputIterator | , | ||
| InputIterator | , | ||
| RandomIterator | , | ||
| int * | , | ||
| int * | , | ||
| const ScatterOp & | |||
| ) |
Definition at line 353 of file GlobalComm.hpp.
References COMM_ANY_NODE, COMM_REDUCE_CYCLE, COMM_REDUCE_SCATTER_TAG, Message::MsgItem::data(), endl(), ERRORMSG, Message::get(), getMessage(), Communicate::getNodes(), Message::item(), Communicate::myNode(), TagMaker::next_tag(), PETE_apply(), putMessage(), Communicate::receive_block(), Communicate::send(), and Message::size().
Referenced by BinaryRepartition(), BoxLibParticle< PLayout >::scatter(), ParticleAttrib< CacheDataCIC< double, 3U > >::scatter(), and scatter().

| bool scatter | ( | InputIterator | , |
| InputIterator | , | ||
| RandomIterator | , | ||
| int * | , | ||
| int * | , | ||
| const ScatterOp & | |||
| ) |
Definition at line 440 of file GlobalComm.hpp.
References IpplInfo::Comm, and scatter().

Definition at line 458 of file GlobalComm.hpp.
References IpplInfo::getComm().

1.8.5