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 Member Functions | Private Attributes | List of all members
snl_fei::Broker_LinSysCore Class Reference

#include <snl_fei_Broker_LinSysCore.hpp>

Inheritance diagram for snl_fei::Broker_LinSysCore:
Inheritance graph
[legend]

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

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

snl_fei::Broker_LinSysCore::~Broker_LinSysCore ( )
virtual

destructor

Definition at line 36 of file snl_fei_Broker_LinSysCore.cpp.

Member Function Documentation

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 fei::SharedPtr< T >::get(), fei::MatrixGraph::getRowSpace(), linsyscore_, matrixGraph_, numLocalEqns_, reducer_, fei::SharedPtr< T >::reset(), and setGlobalOffsets().

fei::SharedPtr<fei::Matrix> snl_fei::Broker_LinSysCore::createMatrix ( )
inlinevirtual
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 fei::SharedPtr< T >::get(), matrixGraph_, and setMatrixStructure().

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

int snl_fei::Broker_LinSysCore::setGlobalOffsets ( )
inlineprivate
int snl_fei::Broker_LinSysCore::setMatrixStructure ( )
inlineprivate

Member Data Documentation

fei::SharedPtr<LinearSystemCore> snl_fei::Broker_LinSysCore::linsyscore_
private
fei::SharedPtr<fei::MatrixGraph> snl_fei::Broker_LinSysCore::matrixGraph_
private
fei::SharedPtr<fei::Reducer> snl_fei::Broker_LinSysCore::reducer_
private

Definition at line 230 of file snl_fei_Broker_LinSysCore.hpp.

Referenced by createMatrix(), createVector(), and setGlobalOffsets().

Lookup* snl_fei::Broker_LinSysCore::lookup_
private

Definition at line 231 of file snl_fei_Broker_LinSysCore.hpp.

Referenced by setMatrixStructure().

bool snl_fei::Broker_LinSysCore::setGlobalOffsets_
private

Definition at line 233 of file snl_fei_Broker_LinSysCore.hpp.

Referenced by setGlobalOffsets().

int snl_fei::Broker_LinSysCore::numLocalEqns_
private

Definition at line 234 of file snl_fei_Broker_LinSysCore.hpp.

Referenced by createMatrix(), createVector(), and setGlobalOffsets().

bool snl_fei::Broker_LinSysCore::setMatrixStructure_
private

Definition at line 235 of file snl_fei_Broker_LinSysCore.hpp.

Referenced by setMatrixStructure().

bool snl_fei::Broker_LinSysCore::blockMatrix_
private

Definition at line 236 of file snl_fei_Broker_LinSysCore.hpp.

Referenced by setMatrixStructure().


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