FEI Package Browser (Single Doxygen Collection)
Version of the Day
|
#include <fei_EqnComm.hpp>
Public Member Functions | |
EqnComm (MPI_Comm comm, int numLocalEqns) | |
EqnComm (MPI_Comm comm, int numLocalEqns, const std::vector< int > &globalOffsets) | |
virtual | ~EqnComm () |
const std::vector< int > & | getGlobalOffsets () const |
int | getOwnerProc (int eqn) const |
Private Attributes | |
MPI_Comm | comm_ |
std::vector< int > | globalOffsets_ |
Definition at line 17 of file fei_EqnComm.hpp.
fei::EqnComm::EqnComm | ( | MPI_Comm | comm, |
int | numLocalEqns | ||
) |
constructor
Definition at line 14 of file fei_EqnComm.cpp.
References comm_, globalOffsets_, fei::localProc(), and fei::numProcs().
fei::EqnComm::EqnComm | ( | MPI_Comm | comm, |
int | numLocalEqns, | ||
const std::vector< int > & | globalOffsets | ||
) |
Definition at line 50 of file fei_EqnComm.cpp.
|
virtual |
destructor
Definition at line 56 of file fei_EqnComm.cpp.
const std::vector< int > & fei::EqnComm::getGlobalOffsets | ( | ) | const |
Definition at line 61 of file fei_EqnComm.cpp.
References globalOffsets_.
Referenced by fei::Matrix_core::setEqnComm().
int fei::EqnComm::getOwnerProc | ( | int | eqn | ) | const |
Definition at line 67 of file fei_EqnComm.cpp.
References FEI_OSTRINGSTREAM, globalOffsets_, and fei::numProcs().
|
private |
Definition at line 31 of file fei_EqnComm.hpp.
Referenced by EqnComm().
|
private |
Definition at line 32 of file fei_EqnComm.hpp.
Referenced by EqnComm(), getGlobalOffsets(), and getOwnerProc().