FEI  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
snl_fei::Broker Class Referenceabstract

#include <snl_fei_Broker.hpp>

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

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 30 of file snl_fei_Broker.hpp.

Constructor & Destructor Documentation

virtual snl_fei::Broker::~Broker ( )
inlinevirtual

Usual virtual destructor.

Definition at line 33 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_LinSysCore, and snl_fei::Broker_FEData.

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

Produce an instance of an fei::Matrix

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

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

Produce an instance of an fei::LinearSystem

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

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_LinSysCore, and snl_fei::Broker_FEData.


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