FEI Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
snl_fei::Broker_LinSysCore Class Reference

#include <snl_fei_Broker_LinSysCore.hpp>

Inheritance diagram for snl_fei::Broker_LinSysCore:

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::VectorcreateVector (bool isSolutionVector=false)
fei::SharedPtr< fei::MatrixcreateMatrix ()
fei::SharedPtr< fei::LinearSystemcreateLinearSystem ()
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< LinearSystemCorelinsyscore_
fei::SharedPtr< fei::MatrixGraphmatrixGraph_
fei::SharedPtr< fei::Reducerreducer_
Lookuplookup_
bool setGlobalOffsets_
int numLocalEqns_
bool setMatrixStructure_
bool blockMatrix_

Detailed Description

Implementation of snl_fei::Broker specialized to broker objects from a LinearSystemCore instance.

Definition at line 37 of file snl_fei_Broker_LinSysCore.hpp.

Constructor & Destructor Documentation

◆ Broker_LinSysCore()

snl_fei::Broker_LinSysCore::Broker_LinSysCore ( fei::SharedPtr< LinearSystemCore > lsc,
fei::SharedPtr< fei::MatrixGraph > matrixGraph,
fei::SharedPtr< fei::Reducer > reducer,
bool blockMatrix )

◆ ~Broker_LinSysCore()

snl_fei::Broker_LinSysCore::~Broker_LinSysCore ( )
virtual

destructor

Definition at line 36 of file snl_fei_Broker_LinSysCore.cpp.

References lookup_.

Member Function Documentation

◆ createVector()

fei::SharedPtr< fei::Vector > snl_fei::Broker_LinSysCore::createVector ( bool isSolutionVector = false)
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.

Parameters
isSolutionVector

Implements snl_fei::Broker.

Definition at line 57 of file snl_fei_Broker_LinSysCore.hpp.

References linsyscore_, matrixGraph_, numLocalEqns_, reducer_, fei::SharedPtr< T >::reset(), and setGlobalOffsets().

◆ createMatrix()

fei::SharedPtr< fei::Matrix > snl_fei::Broker_LinSysCore::createMatrix ( )
inlinevirtual

◆ createLinearSystem()

fei::SharedPtr< fei::LinearSystem > snl_fei::Broker_LinSysCore::createLinearSystem ( )
inlinevirtual

Produce an instance of an fei::LinearSystem

Implements snl_fei::Broker.

Definition at line 110 of file snl_fei_Broker_LinSysCore.hpp.

References matrixGraph_, and setMatrixStructure().

◆ setMatrixGraph()

void snl_fei::Broker_LinSysCore::setMatrixGraph ( fei::SharedPtr< fei::MatrixGraph > matrixGraph)
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_.

◆ setGlobalOffsets()

int snl_fei::Broker_LinSysCore::setGlobalOffsets ( )
inlineprivate

◆ setMatrixStructure()

int snl_fei::Broker_LinSysCore::setMatrixStructure ( )
inlineprivate

Member Data Documentation

◆ linsyscore_

fei::SharedPtr<LinearSystemCore> snl_fei::Broker_LinSysCore::linsyscore_
private

◆ matrixGraph_

◆ reducer_

fei::SharedPtr<fei::Reducer> snl_fei::Broker_LinSysCore::reducer_
private

◆ lookup_

Lookup* snl_fei::Broker_LinSysCore::lookup_
private

◆ setGlobalOffsets_

bool snl_fei::Broker_LinSysCore::setGlobalOffsets_
private

Definition at line 233 of file snl_fei_Broker_LinSysCore.hpp.

Referenced by Broker_LinSysCore(), and setGlobalOffsets().

◆ numLocalEqns_

int snl_fei::Broker_LinSysCore::numLocalEqns_
private

◆ setMatrixStructure_

bool snl_fei::Broker_LinSysCore::setMatrixStructure_
private

Definition at line 235 of file snl_fei_Broker_LinSysCore.hpp.

Referenced by Broker_LinSysCore(), and setMatrixStructure().

◆ blockMatrix_

bool snl_fei::Broker_LinSysCore::blockMatrix_
private

Definition at line 236 of file snl_fei_Broker_LinSysCore.hpp.

Referenced by Broker_LinSysCore(), and setMatrixStructure().


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