ParallelDescriptor.cpp File Reference

#include <cstdio>
#include <Utility.H>
#include <ParallelDescriptor.H>
#include <ParmParse.H>

Include dependency graph for ParallelDescriptor.cpp:


Namespaces

namespace  ParallelDescriptor
namespace  ParallelDescriptor::util

Functions

void ParallelDescriptor::util::DoAllReduceReal (Real &r, MPI_Op op)
void ParallelDescriptor::util::DoAllReduceLong (long &r, MPI_Op op)
void ParallelDescriptor::util::DoAllReduceInt (int &r, MPI_Op op)
void ParallelDescriptor::util::DoReduceReal (Real &r, MPI_Op op, int cpu)
void ParallelDescriptor::util::DoReduceLong (long &r, MPI_Op op, int cpu)
void ParallelDescriptor::util::DoReduceInt (int &r, MPI_Op op, int cpu)
void ParallelDescriptor::util::SetNProcsCFD ()
int ParallelDescriptor::MyProc ()
 Returns processor number of calling program.
int ParallelDescriptor::NProcs ()
 Returns number of CPUs involved in the computation.
int ParallelDescriptor::NProcsCFD ()
 Returns number of CPUs to use in CFD portion of computation.
bool ParallelDescriptor::IOProcessor ()
 Is this CPU the I/O Processor?
int ParallelDescriptor::IOProcessorNumber ()
 The CPU number of the I/O Processor.
MPI_Comm ParallelDescriptor::Communicator ()
 BoxLib's Parallel Communicator, probably MPI_COMM_WORLD.
std::ostream & operator<< (std::ostream &os, const CommData &cd)
std::ostream & operator<< (std::ostream &os, const Array< CommData > &cd)
void ParallelDescriptor::StartParallel (int *argc=0, char ***argv=0)
 Perform any needed parallel initialization.
void ParallelDescriptor::Gather (Real *sendbuf, int sendcount, Real *recvbuf, int root)
 Parallel gather.
std::vector< size_t > ParallelDescriptor::Gather (const size_t &t, int root)
ParallelDescriptor::Message ParallelDescriptor::Send (const std::vector< size_t > &buf, int dst_pid, int tag)
ParallelDescriptor::Message ParallelDescriptor::Recv (std::vector< size_t > &buf, int src_pid, int tag)
ParallelDescriptor::Message ParallelDescriptor::Recv (std::vector< char > &buf, int src_pid, int tag)
void ParallelDescriptor::EndParallel ()
 Perform any needed parallel finalization.
void ParallelDescriptor::Abort ()
 Issue architecture specific Abort.
void ParallelDescriptor::Abort (int errorcode)
 Abort with specified error code.
const char * ParallelDescriptor::ErrorString (int errcode)
 ErrorString return string associated with error internal error condition.
void ParallelDescriptor::Barrier ()
void ParallelDescriptor::Barrier (MPI_Comm)
void ParallelDescriptor::Test (MPI_Request &request, int &flag, MPI_Status &status)
void ParallelDescriptor::Comm_dup (MPI_Comm comm, MPI_Comm &newcomm)
void ParallelDescriptor::ReduceRealMax (Real &rvar)
 Real max reduction.
void ParallelDescriptor::ReduceRealMin (Real &rvar)
 Real min reduction.
void ParallelDescriptor::ReduceRealSum (Real &rvar)
 Real sum reduction.
void ParallelDescriptor::ReduceRealMax (Real &rvar, int cpu)
 Real max reduction to specified cpu.
void ParallelDescriptor::ReduceRealMin (Real &rvar, int cpu)
 Real min reduction to specified cpu.
void ParallelDescriptor::ReduceRealSum (Real &rvar, int cpu)
 Real sum reduction to specified cpu.
void ParallelDescriptor::ReduceLongAnd (long &rvar)
 Long and-wise reduction.
void ParallelDescriptor::ReduceLongSum (long &rvar)
 Long sum reduction.
void ParallelDescriptor::ReduceLongMax (long &rvar)
 Long max reduction.
void ParallelDescriptor::ReduceLongMin (long &rvar)
 Long min reduction.
void ParallelDescriptor::ReduceLongAnd (long &rvar, int cpu)
 Long and-wise reduction to specified cpu.
void ParallelDescriptor::ReduceLongSum (long &rvar, int cpu)
 Long sum reduction to specified cpu.
void ParallelDescriptor::ReduceLongMax (long &rvar, int cpu)
 Long max reduction to specified cpu.
void ParallelDescriptor::ReduceLongMin (long &rvar, int cpu)
 Long min reduction to specified cpu.
void ParallelDescriptor::ReduceIntSum (int &rvar)
 Integer sum reduction.
void ParallelDescriptor::ReduceIntMax (int &rvar)
 Integer max reduction.
void ParallelDescriptor::ReduceIntMin (int &rvar)
 Integer min reduction.
void ParallelDescriptor::ReduceIntSum (int &rvar, int cpu)
 Integer sum reduction to specified cpu.
void ParallelDescriptor::ReduceIntMax (int &rvar, int cpu)
 Integer max reduction to specified cpu.
void ParallelDescriptor::ReduceIntMin (int &rvar, int cpu)
 Integer min reduction to specified cpu.
void ParallelDescriptor::ReduceBoolAnd (bool &rvar)
 And-wise boolean reduction.
void ParallelDescriptor::ReduceBoolOr (bool &rvar)
 Or-wise boolean reduction.
void ParallelDescriptor::ReduceBoolAnd (bool &rvar, int cpu)
 And-wise boolean reduction to specified cpu.
void ParallelDescriptor::ReduceBoolOr (bool &rvar, int cpu)
 Or-wise boolean reduction to specified cpu.
double ParallelDescriptor::second ()
 Returns wall-clock seconds since start of execution.
void ParallelDescriptor::Waitsome (Array< MPI_Request > &reqs, int &completed, Array< int > &indx, Array< MPI_Status > &status)
int ParallelDescriptor::SeqNum ()
 Returns sequential message sequence numbers in range 1000-9000.

Variables

int ParallelDescriptor::m_MyId = -1
int ParallelDescriptor::m_nProcs = -1
int ParallelDescriptor::m_nProcsCFD = -1
MPI_Comm ParallelDescriptor::m_comm
const int ParallelDescriptor::ioProcessor = 0

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const Array< CommData > &  cd 
)

References Array< T >::size().

std::ostream& operator<< ( std::ostream &  os,
const CommData cd 
)


Generated on Fri Nov 21 10:10:59 2008 for AMRParticlePaths by  doxygen 1.5.5