FEI Package Browser (Single Doxygen Collection)
Version of the Day
|
#include <snl_fei_Broker_LinSysCore.hpp>
Public Member Functions | |
Broker_LinSysCore (fei::SharedPtr< LinearSystemCore > lsc, fei::SharedPtr< fei::MatrixGraph > matrixGraph, fei::SharedPtr< fei::Reducer > reducer, bool blockMatrix) | |
virtual | ~Broker_LinSysCore () |
fei::SharedPtr< fei::Vector > | createVector (bool isSolutionVector=false) |
fei::SharedPtr< fei::Matrix > | createMatrix () |
fei::SharedPtr< fei::LinearSystem > | createLinearSystem () |
void | setMatrixGraph (fei::SharedPtr< fei::MatrixGraph > matrixGraph) |
Public Member Functions inherited from snl_fei::Broker | |
virtual | ~Broker () |
Private Member Functions | |
int | setGlobalOffsets () |
int | setMatrixStructure () |
Private Attributes | |
fei::SharedPtr< LinearSystemCore > | linsyscore_ |
fei::SharedPtr< fei::MatrixGraph > | matrixGraph_ |
fei::SharedPtr< fei::Reducer > | reducer_ |
Lookup * | lookup_ |
bool | setGlobalOffsets_ |
int | numLocalEqns_ |
bool | setMatrixStructure_ |
bool | blockMatrix_ |
Implementation of snl_fei::Broker specialized to broker objects from a LinearSystemCore instance.
Definition at line 37 of file snl_fei_Broker_LinSysCore.hpp.
snl_fei::Broker_LinSysCore::Broker_LinSysCore | ( | fei::SharedPtr< LinearSystemCore > | lsc, |
fei::SharedPtr< fei::MatrixGraph > | matrixGraph, | ||
fei::SharedPtr< fei::Reducer > | reducer, | ||
bool | blockMatrix | ||
) |
Constructor
Definition at line 18 of file snl_fei_Broker_LinSysCore.cpp.
References LinearSystemCore::setNumRHSVectors().
|
virtual |
destructor
Definition at line 36 of file snl_fei_Broker_LinSysCore.cpp.
|
inlinevirtual |
Produce an instance of an fei::Vector. This overloading of the createVector() method is for use by Broker implementations that are dispensing 'views' of vectors that reside in LinearSystemCore or FiniteElementData container implementations. In those cases, there is a distinction that must be made between solution-vectors and rhs-vectors.
isSolutionVector |
Implements snl_fei::Broker.
Definition at line 57 of file snl_fei_Broker_LinSysCore.hpp.
References fei::SharedPtr< T >::get(), fei::MatrixGraph::getRowSpace(), linsyscore_, matrixGraph_, numLocalEqns_, reducer_, fei::SharedPtr< T >::reset(), and setGlobalOffsets().
|
inlinevirtual |
Produce an instance of an fei::Matrix
Implements snl_fei::Broker.
Definition at line 82 of file snl_fei_Broker_LinSysCore.hpp.
References fei::SharedPtr< T >::get(), linsyscore_, matrixGraph_, numLocalEqns_, reducer_, fei::SharedPtr< T >::reset(), and setMatrixStructure().
|
inlinevirtual |
Produce an instance of an fei::LinearSystem
Implements snl_fei::Broker.
Definition at line 110 of file snl_fei_Broker_LinSysCore.hpp.
References fei::SharedPtr< T >::get(), matrixGraph_, and setMatrixStructure().
|
inlinevirtual |
Set the MatrixGraph object used by this broker.
Implements snl_fei::Broker.
Definition at line 123 of file snl_fei_Broker_LinSysCore.hpp.
References matrixGraph_.
|
inlineprivate |
Definition at line 127 of file snl_fei_Broker_LinSysCore.hpp.
References CHK_ERR, fei::SharedPtr< T >::get(), fei::VectorSpace::getCommunicator(), fei::VectorSpace::getGlobalBlkIndexOffsets(), fei::VectorSpace::getGlobalIndexOffsets(), fei::Reducer::getLocalReducedEqns(), fei::MatrixGraph::getRowSpace(), fei::GlobalMax(), linsyscore_, fei::localProc(), matrixGraph_, MPI_Comm, numLocalEqns_, fei::numProcs(), reducer_, LinearSystemCore::setGlobalOffsets(), and setGlobalOffsets_.
Referenced by createVector(), and setMatrixStructure().
|
inlineprivate |
Definition at line 176 of file snl_fei_Broker_LinSysCore.hpp.
References blockMatrix_, CHK_ERR, fei::MatrixGraph::createGraph(), fei::SharedPtr< T >::get(), Lookup::getBlkEqnSize(), fei::VectorSpace::getCommunicator(), fei::MatrixGraph::getRowSpace(), fei::GlobalSum(), linsyscore_, lookup_, matrixGraph_, MPI_Comm, fei::SparseRowGraph::packedColumnIndices, fei::SparseRowGraph::rowNumbers, fei::SparseRowGraph::rowOffsets, setGlobalOffsets(), LinearSystemCore::setLookup(), LinearSystemCore::setMatrixStructure(), and setMatrixStructure_.
Referenced by createLinearSystem(), and createMatrix().
|
private |
Definition at line 228 of file snl_fei_Broker_LinSysCore.hpp.
Referenced by createMatrix(), createVector(), setGlobalOffsets(), and setMatrixStructure().
|
private |
Definition at line 229 of file snl_fei_Broker_LinSysCore.hpp.
Referenced by createLinearSystem(), createMatrix(), createVector(), setGlobalOffsets(), setMatrixGraph(), and setMatrixStructure().
|
private |
Definition at line 230 of file snl_fei_Broker_LinSysCore.hpp.
Referenced by createMatrix(), createVector(), and setGlobalOffsets().
|
private |
Definition at line 231 of file snl_fei_Broker_LinSysCore.hpp.
Referenced by setMatrixStructure().
|
private |
Definition at line 233 of file snl_fei_Broker_LinSysCore.hpp.
Referenced by setGlobalOffsets().
|
private |
Definition at line 234 of file snl_fei_Broker_LinSysCore.hpp.
Referenced by createMatrix(), createVector(), and setGlobalOffsets().
|
private |
Definition at line 235 of file snl_fei_Broker_LinSysCore.hpp.
Referenced by setMatrixStructure().
|
private |
Definition at line 236 of file snl_fei_Broker_LinSysCore.hpp.
Referenced by setMatrixStructure().