ROOT  6.06/09
Reference Guide
Public Member Functions | Static Public Member Functions | Private Attributes | Static Private Attributes | List of all members
ROOT::Minuit2::MPIProcess Class Reference

Definition at line 45 of file MPIProcess.h.

Public Member Functions

 MPIProcess (unsigned int nelements, unsigned int indexComm)
 
 ~MPIProcess ()
 
unsigned int NumElements4JobIn () const
 
unsigned int NumElements4JobOut () const
 
unsigned int NumElements4Job (unsigned int rank) const
 
unsigned int StartElementIndex () const
 
unsigned int EndElementIndex () const
 
unsigned int GetMPISize () const
 
unsigned int GetMPIRank () const
 
bool SyncVector (ROOT::Minuit2::MnAlgebraicVector &mnvector)
 
bool SyncSymMatrixOffDiagonal (ROOT::Minuit2::MnAlgebraicSymMatrix &mnmatrix)
 
void SumReduce (const double &sub, double &total)
 

Static Public Member Functions

static unsigned int GetMPIGlobalRank ()
 
static unsigned int GetMPIGlobalSize ()
 
static void StartMPI ()
 
static void TerminateMPI ()
 
static bool SetCartDimension (unsigned int dimX, unsigned int dimY)
 
static bool SetDoFirstMPICall (bool doFirstMPICall=true)
 

Private Attributes

unsigned int fNelements
 
unsigned int fSize
 
unsigned int fRank
 
unsigned int fNumElements4JobIn
 
unsigned int fNumElements4JobOut
 

Static Private Attributes

static unsigned int fgGlobalSize = 1
 
static unsigned int fgGlobalRank = 0
 
static unsigned int fgCartSizeX = 0
 
static unsigned int fgCartSizeY = 0
 
static unsigned int fgCartDimension = 0
 
static bool fgNewCart = true
 

#include <Minuit2/MPIProcess.h>

Constructor & Destructor Documentation

ROOT::Minuit2::MPIProcess::MPIProcess ( unsigned int  nelements,
unsigned int  indexComm 
)

Definition at line 35 of file MPIProcess.cxx.

ROOT::Minuit2::MPIProcess::~MPIProcess ( )

Definition at line 147 of file MPIProcess.cxx.

Member Function Documentation

unsigned int ROOT::Minuit2::MPIProcess::EndElementIndex ( ) const
inline
static unsigned int ROOT::Minuit2::MPIProcess::GetMPIGlobalRank ( )
inlinestatic

Definition at line 69 of file MPIProcess.h.

static unsigned int ROOT::Minuit2::MPIProcess::GetMPIGlobalSize ( )
inlinestatic

Definition at line 70 of file MPIProcess.h.

unsigned int ROOT::Minuit2::MPIProcess::GetMPIRank ( ) const
inline

Definition at line 64 of file MPIProcess.h.

unsigned int ROOT::Minuit2::MPIProcess::GetMPISize ( ) const
inline

Definition at line 63 of file MPIProcess.h.

unsigned int ROOT::Minuit2::MPIProcess::NumElements4Job ( unsigned int  rank) const
inline
unsigned int ROOT::Minuit2::MPIProcess::NumElements4JobIn ( ) const
inline

Definition at line 50 of file MPIProcess.h.

Referenced by NumElements4Job().

unsigned int ROOT::Minuit2::MPIProcess::NumElements4JobOut ( ) const
inline

Definition at line 51 of file MPIProcess.h.

Referenced by NumElements4Job(), and StartElementIndex().

static bool ROOT::Minuit2::MPIProcess::SetCartDimension ( unsigned int  dimX,
unsigned int  dimY 
)
static
static bool ROOT::Minuit2::MPIProcess::SetDoFirstMPICall ( bool  doFirstMPICall = true)
static
unsigned int ROOT::Minuit2::MPIProcess::StartElementIndex ( ) const
inline
static void ROOT::Minuit2::MPIProcess::StartMPI ( )
inlinestatic

Definition at line 71 of file MPIProcess.h.

Referenced by GetMPIGlobalRank(), GetMPIGlobalSize(), and MPIProcess().

void ROOT::Minuit2::MPIProcess::SumReduce ( const double sub,
double total 
)
inline

Definition at line 99 of file MPIProcess.h.

bool ROOT::Minuit2::MPIProcess::SyncSymMatrixOffDiagonal ( ROOT::Minuit2::MnAlgebraicSymMatrix mnmatrix)

Definition at line 201 of file MPIProcess.cxx.

Referenced by ROOT::Minuit2::MnHesse::operator()().

bool ROOT::Minuit2::MPIProcess::SyncVector ( ROOT::Minuit2::MnAlgebraicVector mnvector)
static void ROOT::Minuit2::MPIProcess::TerminateMPI ( )
inlinestatic

Definition at line 84 of file MPIProcess.h.

Member Data Documentation

unsigned int ROOT::Minuit2::MPIProcess::fgCartDimension = 0
staticprivate

Definition at line 125 of file MPIProcess.h.

Referenced by MPIProcess().

unsigned int ROOT::Minuit2::MPIProcess::fgCartSizeX = 0
staticprivate

Definition at line 123 of file MPIProcess.h.

Referenced by MPIProcess().

unsigned int ROOT::Minuit2::MPIProcess::fgCartSizeY = 0
staticprivate

Definition at line 124 of file MPIProcess.h.

Referenced by MPIProcess().

unsigned int ROOT::Minuit2::MPIProcess::fgGlobalRank = 0
staticprivate

Definition at line 121 of file MPIProcess.h.

Referenced by GetMPIGlobalRank(), MPIProcess(), and StartMPI().

unsigned int ROOT::Minuit2::MPIProcess::fgGlobalSize = 1
staticprivate

Definition at line 120 of file MPIProcess.h.

Referenced by GetMPIGlobalSize(), MPIProcess(), and StartMPI().

bool ROOT::Minuit2::MPIProcess::fgNewCart = true
staticprivate

Definition at line 126 of file MPIProcess.h.

Referenced by MPIProcess().

unsigned int ROOT::Minuit2::MPIProcess::fNelements
private

Definition at line 116 of file MPIProcess.h.

Referenced by MPIProcess(), StartElementIndex(), SyncSymMatrixOffDiagonal(), and SyncVector().

unsigned int ROOT::Minuit2::MPIProcess::fNumElements4JobIn
private

Definition at line 128 of file MPIProcess.h.

Referenced by MPIProcess(), and NumElements4JobIn().

unsigned int ROOT::Minuit2::MPIProcess::fNumElements4JobOut
private

Definition at line 129 of file MPIProcess.h.

Referenced by MPIProcess(), and NumElements4JobOut().

unsigned int ROOT::Minuit2::MPIProcess::fRank
private
unsigned int ROOT::Minuit2::MPIProcess::fSize
private

The documentation for this class was generated from the following files: