Logo ROOT  
Reference Guide
ROOT::Minuit2::MPIProcess Class Reference

Definition at line 46 of file MPIProcess.h.

Public Member Functions

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

Static Public Member Functions

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

Private Attributes

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

Static Private Attributes

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

#include <Minuit2/MPIProcess.h>

Constructor & Destructor Documentation

◆ MPIProcess()

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

Definition at line 35 of file MPIProcess.cxx.

◆ ~MPIProcess()

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

Definition at line 147 of file MPIProcess.cxx.

Member Function Documentation

◆ EndElementIndex()

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

Definition at line 61 of file MPIProcess.h.

◆ GetMPIGlobalRank()

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

Definition at line 70 of file MPIProcess.h.

◆ GetMPIGlobalSize()

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

Definition at line 71 of file MPIProcess.h.

◆ GetMPIRank()

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

Definition at line 65 of file MPIProcess.h.

◆ GetMPISize()

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

Definition at line 64 of file MPIProcess.h.

◆ NumElements4Job()

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

Definition at line 54 of file MPIProcess.h.

◆ NumElements4JobIn()

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

Definition at line 51 of file MPIProcess.h.

◆ NumElements4JobOut()

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

Definition at line 52 of file MPIProcess.h.

◆ SetCartDimension()

static bool ROOT::Minuit2::MPIProcess::SetCartDimension ( unsigned int  dimX,
unsigned int  dimY 
)
static

◆ SetDoFirstMPICall()

static bool ROOT::Minuit2::MPIProcess::SetDoFirstMPICall ( bool  doFirstMPICall = true)
static

◆ StartElementIndex()

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

Definition at line 57 of file MPIProcess.h.

◆ StartMPI()

static void ROOT::Minuit2::MPIProcess::StartMPI ( )
inlinestatic

Definition at line 72 of file MPIProcess.h.

◆ SumReduce()

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

Definition at line 100 of file MPIProcess.h.

◆ SyncSymMatrixOffDiagonal()

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

Definition at line 201 of file MPIProcess.cxx.

◆ SyncVector()

bool ROOT::Minuit2::MPIProcess::SyncVector ( ROOT::Minuit2::MnAlgebraicVector mnvector)

Definition at line 160 of file MPIProcess.cxx.

◆ TerminateMPI()

static void ROOT::Minuit2::MPIProcess::TerminateMPI ( )
inlinestatic

Definition at line 85 of file MPIProcess.h.

Member Data Documentation

◆ fgCartDimension

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

Definition at line 126 of file MPIProcess.h.

◆ fgCartSizeX

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

Definition at line 124 of file MPIProcess.h.

◆ fgCartSizeY

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

Definition at line 125 of file MPIProcess.h.

◆ fgGlobalRank

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

Definition at line 122 of file MPIProcess.h.

◆ fgGlobalSize

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

Definition at line 121 of file MPIProcess.h.

◆ fgNewCart

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

Definition at line 127 of file MPIProcess.h.

◆ fNelements

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

Definition at line 117 of file MPIProcess.h.

◆ fNumElements4JobIn

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

Definition at line 129 of file MPIProcess.h.

◆ fNumElements4JobOut

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

Definition at line 130 of file MPIProcess.h.

◆ fRank

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

Definition at line 119 of file MPIProcess.h.

◆ fSize

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

Definition at line 118 of file MPIProcess.h.

Libraries for ROOT::Minuit2::MPIProcess:
[legend]

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