FEI Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
fei::EqnComm Class Reference

#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_
 

Detailed Description

Definition at line 17 of file fei_EqnComm.hpp.

Constructor & Destructor Documentation

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.

fei::EqnComm::~EqnComm ( )
virtual

destructor

Definition at line 56 of file fei_EqnComm.cpp.

Member Function Documentation

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().

Member Data Documentation

MPI_Comm fei::EqnComm::comm_
private

Definition at line 31 of file fei_EqnComm.hpp.

Referenced by EqnComm().

std::vector<int> fei::EqnComm::globalOffsets_
private

Definition at line 32 of file fei_EqnComm.hpp.

Referenced by EqnComm(), getGlobalOffsets(), and getOwnerProc().


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