FEI Version of the Day
Public Member Functions
snl_fei::Broker Class Reference

#include <snl_fei_Broker.hpp>

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

List of all members.

Public Member Functions

virtual ~Broker ()
virtual fei::SharedPtr
< fei::Vector
createVector (bool isSolutionVector=false)=0
virtual fei::SharedPtr
< fei::Matrix
createMatrix ()=0
virtual fei::SharedPtr
< fei::LinearSystem
createLinearSystem ()=0
virtual void setMatrixGraph (fei::SharedPtr< fei::MatrixGraph > matrixGraph)=0

Detailed Description

Internal interface. Similar to a factory, for creating Matrix/Vector/etc instances which are views of LinearSystemCore implementations. One of these will be instantiated and used internally by snl_fei::Factory.

Definition at line 65 of file snl_fei_Broker.hpp.


Constructor & Destructor Documentation

virtual snl_fei::Broker::~Broker ( ) [inline, virtual]

Usual virtual destructor.

Definition at line 68 of file snl_fei_Broker.hpp.


Member Function Documentation

virtual fei::SharedPtr<fei::Vector> snl_fei::Broker::createVector ( bool  isSolutionVector = false) [pure virtual]

Produce an instance of an fei::Vector. This overloading of the create() 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

Implemented in snl_fei::Broker_FEData, and snl_fei::Broker_LinSysCore.

virtual fei::SharedPtr<fei::Matrix> snl_fei::Broker::createMatrix ( ) [pure virtual]

Produce an instance of an fei::Matrix

Implemented in snl_fei::Broker_FEData, and snl_fei::Broker_LinSysCore.

virtual fei::SharedPtr<fei::LinearSystem> snl_fei::Broker::createLinearSystem ( ) [pure virtual]

Produce an instance of an fei::LinearSystem

Implemented in snl_fei::Broker_FEData, and snl_fei::Broker_LinSysCore.

virtual void snl_fei::Broker::setMatrixGraph ( fei::SharedPtr< fei::MatrixGraph matrixGraph) [pure virtual]

Set the MatrixGraph object used by this broker.

Implemented in snl_fei::Broker_FEData, and snl_fei::Broker_LinSysCore.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends