FEI Package Browser (Single Doxygen Collection)
Version of the Day
|
#include <snl_fei_Broker_FEData.hpp>
Public Member Functions | |
Broker_FEData (fei::SharedPtr< FiniteElementData > feData, fei::SharedPtr< fei::MatrixGraph > matrixGraph, int nodeIDType) | |
virtual | ~Broker_FEData () |
virtual fei::SharedPtr < fei::Vector > | createVector (bool isSolutionVector=false) |
virtual fei::SharedPtr < fei::Matrix > | createMatrix () |
virtual fei::SharedPtr < fei::LinearSystem > | createLinearSystem () |
virtual void | setMatrixGraph (fei::SharedPtr< fei::MatrixGraph > matrixGraph) |
Public Member Functions inherited from snl_fei::Broker | |
virtual | ~Broker () |
Private Member Functions | |
int | setStructure () |
Private Attributes | |
fei::SharedPtr< FiniteElementData > | feData_ |
fei::SharedPtr< fei::MatrixGraph > | matrixGraph_ |
int | nodeIDType_ |
bool | setStructure_ |
bool | setMatrixMatrixGraph_ |
fei::Lookup_Impl * | lookup_ |
Implementation of snl_fei::Broker specialized to broker objects from a FiniteElementData instance.
Definition at line 34 of file snl_fei_Broker_FEData.hpp.
snl_fei::Broker_FEData::Broker_FEData | ( | fei::SharedPtr< FiniteElementData > | feData, |
fei::SharedPtr< fei::MatrixGraph > | matrixGraph, | ||
int | nodeIDType | ||
) |
Constructor
Definition at line 14 of file snl_fei_Broker_FEData.cpp.
|
virtual |
destructor
Definition at line 27 of file snl_fei_Broker_FEData.cpp.
|
inlinevirtual |
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.
isSolutionVector |
Implements snl_fei::Broker.
Definition at line 53 of file snl_fei_Broker_FEData.hpp.
References feData_, fei::SharedPtr< T >::get(), fei::VectorSpace::getNumIndices_Owned(), fei::MatrixGraph::getRowSpace(), matrixGraph_, fei::SharedPtr< T >::reset(), and setStructure().
|
inlinevirtual |
Produce an instance of an fei::Matrix
Implements snl_fei::Broker.
Definition at line 70 of file snl_fei_Broker_FEData.hpp.
References feData_, fei::SharedPtr< T >::get(), fei::VectorSpace::getNumIndices_Owned(), fei::MatrixGraph::getRowSpace(), matrixGraph_, fei::SharedPtr< T >::reset(), and setStructure().
|
inlinevirtual |
Produce an instance of an fei::LinearSystem
Implements snl_fei::Broker.
Definition at line 87 of file snl_fei_Broker_FEData.hpp.
References feData_, fei::SharedPtr< T >::get(), lookup_, matrixGraph_, snl_fei::LinearSystem_FEData::setLookup(), and setStructure().
|
inlinevirtual |
Set the MatrixGraph object used by this broker.
Implements snl_fei::Broker.
Definition at line 103 of file snl_fei_Broker_FEData.hpp.
References matrixGraph_.
|
inlineprivate |
Definition at line 109 of file snl_fei_Broker_FEData.hpp.
References CHK_ERR, FiniteElementData::describeStructure(), ERReturn, f(), feData_, fei::SharedPtr< T >::get(), fei::MatrixGraph::getConnectivityBlock(), fei::MatrixGraph::getConnectivityBlockIDs(), fei::MatrixGraph::getConnectivityBlocks(), fei::ConnectivityBlock::getConnectivityIDs(), fei::Pattern::getFieldIDs(), fei::MatrixGraph::getLocalNumLagrangeConstraints(), fei::Record< GlobalIDType >::getNumber(), fei::MatrixGraph::getNumConnectivityBlocks(), fei::Pattern::getNumFieldsPerID(), fei::Pattern::getNumIDs(), fei::Pattern::getNumIndices(), fei::VectorSpace::getNumOwnedAndSharedIDs(), snl_fei::RecordCollection::getRecordWithLocalID(), fei::ConnectivityBlock::getRowConnectivities(), fei::ConnectivityBlock::getRowPattern(), fei::MatrixGraph::getRowSpace(), lookup_, matrixGraph_, n, nodeIDType_, FiniteElementData::setConnectivity(), FiniteElementData::setLookup(), and setStructure_.
Referenced by createLinearSystem(), createMatrix(), and createVector().
|
private |
Definition at line 219 of file snl_fei_Broker_FEData.hpp.
Referenced by createLinearSystem(), createMatrix(), createVector(), and setStructure().
|
private |
Definition at line 220 of file snl_fei_Broker_FEData.hpp.
Referenced by createLinearSystem(), createMatrix(), createVector(), setMatrixGraph(), and setStructure().
|
private |
Definition at line 222 of file snl_fei_Broker_FEData.hpp.
Referenced by setStructure().
|
private |
Definition at line 223 of file snl_fei_Broker_FEData.hpp.
Referenced by setStructure().
|
private |
Definition at line 224 of file snl_fei_Broker_FEData.hpp.
|
private |
Definition at line 226 of file snl_fei_Broker_FEData.hpp.
Referenced by createLinearSystem(), and setStructure().