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::Factory Class Reference

#include <snl_fei_Factory.hpp>

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

Public Member Functions

 Factory (MPI_Comm comm, fei::SharedPtr< LibraryWrapper > wrapper)
 
 Factory (MPI_Comm comm, fei::SharedPtr< LinearSystemCore > lsc)
 
 Factory (MPI_Comm comm, fei::SharedPtr< FiniteElementData > feData, int nodeIDType)
 
virtual ~Factory ()
 
fei::SharedPtr< fei::Factoryclone () const
 
virtual void parameters (const fei::ParameterSet &parameterset)
 
virtual fei::SharedPtr
< fei::MatrixGraph
createMatrixGraph (fei::SharedPtr< fei::VectorSpace > rowSpace, fei::SharedPtr< fei::VectorSpace > columnSpace, const char *name)
 
virtual fei::SharedPtr
< fei::Vector
createVector (fei::SharedPtr< fei::VectorSpace > vecSpace, int numVectors=1)
 
virtual fei::SharedPtr
< fei::Vector
createVector (fei::SharedPtr< fei::VectorSpace > vecSpace, bool isSolutionVector, int numVectors=1)
 
virtual fei::SharedPtr
< fei::Vector
createVector (fei::SharedPtr< fei::MatrixGraph > matrixGraph, int numVectors=1)
 
virtual fei::SharedPtr
< fei::Vector
createVector (fei::SharedPtr< fei::MatrixGraph > matrixGraph, bool isSolutionVector, int numVectors=1)
 
virtual fei::SharedPtr
< fei::Matrix
createMatrix (fei::SharedPtr< fei::MatrixGraph > matrixGraph)
 
virtual fei::SharedPtr
< fei::LinearSystem
createLinearSystem (fei::SharedPtr< fei::MatrixGraph > &matrixGraph)
 
virtual fei::SharedPtr
< fei::Solver
createSolver (const char *name=0)
 
fei::SharedPtr< LibraryWrapperget_LibraryWrapper () const
 
int getOutputLevel () const
 
- Public Member Functions inherited from fei::Factory
 Factory (MPI_Comm comm)
 
virtual fei::SharedPtr< FEIcreateFEI (fei::SharedPtr< LibraryWrapper > wrapper, MPI_Comm comm)
 
virtual fei::SharedPtr< FEIcreateFEI (MPI_Comm comm)
 
- Public Member Functions inherited from fei::VectorSpace::Factory
virtual fei::SharedPtr
< VectorSpace
createVectorSpace (MPI_Comm, const char *name)
 

Private Member Functions

int createBroker (fei::SharedPtr< fei::MatrixGraph > matrixGraph)
 
int createBroker_LinSysCore (fei::SharedPtr< fei::MatrixGraph > matrixGraph, fei::SharedPtr< LinearSystemCore > lsc)
 
int createBroker_FEData (fei::SharedPtr< fei::MatrixGraph > matrixGraph, fei::SharedPtr< FiniteElementData > feData)
 

Private Attributes

MPI_Comm comm_
 
fei::SharedPtr< snl_fei::Brokerbroker_
 
fei::SharedPtr< fei::MatrixGraphmatrixGraph_
 
fei::SharedPtr< fei::Reducerreducer_
 
int nodeIDType_
 
fei::SharedPtr< LinearSystemCorelsc_
 
fei::SharedPtr< FiniteElementDatafeData_
 
fei::SharedPtr< LibraryWrapperwrapper_
 
int outputLevel_
 
bool blockMatrix_
 

Detailed Description

snl_fei:: implementation of the various fei:: Factory interfaces.

Definition at line 35 of file snl_fei_Factory.hpp.

Constructor & Destructor Documentation

snl_fei::Factory::Factory ( MPI_Comm  comm,
fei::SharedPtr< LibraryWrapper wrapper 
)
snl_fei::Factory::Factory ( MPI_Comm  comm,
fei::SharedPtr< LinearSystemCore lsc 
)

Constructor

Definition at line 36 of file snl_fei_Factory.cpp.

snl_fei::Factory::Factory ( MPI_Comm  comm,
fei::SharedPtr< FiniteElementData feData,
int  nodeIDType 
)

Constructor

Definition at line 52 of file snl_fei_Factory.cpp.

snl_fei::Factory::~Factory ( )
virtual

Destructor

Reimplemented from fei::Factory.

Definition at line 68 of file snl_fei_Factory.cpp.

Member Function Documentation

fei::SharedPtr< fei::Factory > snl_fei::Factory::clone ( ) const
virtual

Implementation of fei::Factory::clone()

Implements fei::Factory.

Definition at line 74 of file snl_fei_Factory.cpp.

References fei::SharedPtr< T >::reset().

void snl_fei::Factory::parameters ( const fei::ParameterSet parameterset)
virtual
fei::SharedPtr< fei::MatrixGraph > snl_fei::Factory::createMatrixGraph ( fei::SharedPtr< fei::VectorSpace rowSpace,
fei::SharedPtr< fei::VectorSpace columnSpace,
const char *  name 
)
virtual
fei::SharedPtr< fei::Vector > snl_fei::Factory::createVector ( fei::SharedPtr< fei::VectorSpace vecSpace,
int  numVectors = 1 
)
virtual

Implementation of fei::Vector::Factory::createVector()

Implements fei::Vector::Factory.

Definition at line 167 of file snl_fei_Factory.cpp.

References fei::console_out(), and FEI_ENDL.

fei::SharedPtr< fei::Vector > snl_fei::Factory::createVector ( fei::SharedPtr< fei::VectorSpace vecSpace,
bool  isSolutionVector,
int  numVectors = 1 
)
virtual

Implementation of fei::Vector::Factory::createVector()

Implements fei::Vector::Factory.

Definition at line 190 of file snl_fei_Factory.cpp.

References fei::console_out(), and FEI_ENDL.

fei::SharedPtr< fei::Vector > snl_fei::Factory::createVector ( fei::SharedPtr< fei::MatrixGraph matrixGraph,
int  numVectors = 1 
)
virtual

Implementation of fei::Vector::Factory::createVector()

Implements fei::Vector::Factory.

Definition at line 214 of file snl_fei_Factory.cpp.

References fei::MatrixGraph::getReducer().

fei::SharedPtr< fei::Vector > snl_fei::Factory::createVector ( fei::SharedPtr< fei::MatrixGraph matrixGraph,
bool  isSolutionVector,
int  numVectors = 1 
)
virtual

Implementation of fei::Vector::Factory::createVector()

Implements fei::Vector::Factory.

Definition at line 231 of file snl_fei_Factory.cpp.

References fei::MatrixGraph::getReducer().

fei::SharedPtr< fei::Matrix > snl_fei::Factory::createMatrix ( fei::SharedPtr< fei::MatrixGraph matrixGraph)
virtual

Implementation of fei::Matrix::Factory::createMatrix()

Implements fei::Matrix::Factory.

Definition at line 249 of file snl_fei_Factory.cpp.

References fei::console_out(), and FEI_ENDL.

fei::SharedPtr< fei::LinearSystem > snl_fei::Factory::createLinearSystem ( fei::SharedPtr< fei::MatrixGraph > &  matrixGraph)
virtual
  Implementation of 

fei::LinearSystem::Factory::createLinearSystem()

Reimplemented from fei::LinearSystem::Factory.

Definition at line 274 of file snl_fei_Factory.cpp.

References fei::console_out(), and FEI_ENDL.

fei::SharedPtr< fei::Solver > snl_fei::Factory::createSolver ( const char *  name = 0)
virtual

Implementation of fei::Solver::Factory::createSolver()

Implements fei::Solver::Factory.

Definition at line 299 of file snl_fei_Factory.cpp.

fei::SharedPtr< LibraryWrapper > snl_fei::Factory::get_LibraryWrapper ( ) const

get LibraryWrapper attribute (power-users only)

Definition at line 307 of file snl_fei_Factory.cpp.

Referenced by fei::FEI_Impl::FEI_Impl().

int snl_fei::Factory::getOutputLevel ( ) const
virtual
  Query screen output-level (set by parameter-string "outputLevel n"

via parameters())

Implements fei::Factory.

Definition at line 313 of file snl_fei_Factory.cpp.

int snl_fei::Factory::createBroker ( fei::SharedPtr< fei::MatrixGraph matrixGraph)
private

Definition at line 320 of file snl_fei_Factory.cpp.

int snl_fei::Factory::createBroker_LinSysCore ( fei::SharedPtr< fei::MatrixGraph matrixGraph,
fei::SharedPtr< LinearSystemCore lsc 
)
private

Definition at line 335 of file snl_fei_Factory.cpp.

int snl_fei::Factory::createBroker_FEData ( fei::SharedPtr< fei::MatrixGraph matrixGraph,
fei::SharedPtr< FiniteElementData feData 
)
private

Definition at line 348 of file snl_fei_Factory.cpp.

Member Data Documentation

MPI_Comm snl_fei::Factory::comm_
private

Definition at line 110 of file snl_fei_Factory.hpp.

fei::SharedPtr<snl_fei::Broker> snl_fei::Factory::broker_
private

Definition at line 111 of file snl_fei_Factory.hpp.

fei::SharedPtr<fei::MatrixGraph> snl_fei::Factory::matrixGraph_
private

Definition at line 112 of file snl_fei_Factory.hpp.

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

Definition at line 113 of file snl_fei_Factory.hpp.

int snl_fei::Factory::nodeIDType_
private

Definition at line 115 of file snl_fei_Factory.hpp.

fei::SharedPtr<LinearSystemCore> snl_fei::Factory::lsc_
private

Definition at line 117 of file snl_fei_Factory.hpp.

Referenced by Factory().

fei::SharedPtr<FiniteElementData> snl_fei::Factory::feData_
private

Definition at line 118 of file snl_fei_Factory.hpp.

Referenced by Factory().

fei::SharedPtr<LibraryWrapper> snl_fei::Factory::wrapper_
private

Definition at line 119 of file snl_fei_Factory.hpp.

Referenced by Factory().

int snl_fei::Factory::outputLevel_
private

Definition at line 120 of file snl_fei_Factory.hpp.

bool snl_fei::Factory::blockMatrix_
private

Definition at line 121 of file snl_fei_Factory.hpp.


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