fei::Factory Class Reference

#include <fei_Factory.hpp>

Inheritance diagram for fei::Factory:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 Factory (MPI_Comm comm)
virtual ~Factory ()
virtual fei::SharedPtr< Factoryclone () const =0
virtual void parameters (const fei::ParameterSet &paramset)
virtual fei::SharedPtr< FEIcreateFEI (fei::SharedPtr< LibraryWrapper > wrapper, MPI_Comm comm)
virtual fei::SharedPtr< FEIcreateFEI (MPI_Comm comm)
virtual int getOutputLevel () const =0

Detailed Description

Interface for creating fei:: instances. In all cases, input arguments (arguments required to construct the requested class) are followed by the result or output argument.

This interface inherits the various fei:: factory interfaces as a convenience mechanism, so that user code can deal with one factory object instead of a different factory for each class. In addition to inheriting the fei:: factories, this interface also provides methods for creating instances of the 'old' FEI class.

Definition at line 37 of file fei_Factory.hpp.


Constructor & Destructor Documentation

fei::Factory::Factory ( MPI_Comm  comm  ) 

constructor

Definition at line 20 of file fei_Factory.cpp.

fei::Factory::~Factory (  )  [virtual]

virtual destructor

Reimplemented from fei::LinearSystem::Factory.

Reimplemented in snl_fei::Factory.

Definition at line 31 of file fei_Factory.cpp.


Member Function Documentation

virtual fei::SharedPtr<Factory> fei::Factory::clone (  )  const [pure virtual]

Create and return a new Factory of the same type.

Implemented in snl_fei::Factory, and Factory_Trilinos.

void fei::Factory::parameters ( const fei::ParameterSet paramset  )  [virtual]

Set parameters.

Reimplemented in snl_fei::Factory, and Factory_Trilinos.

Definition at line 38 of file fei_Factory.cpp.

fei::SharedPtr< FEI > fei::Factory::createFEI ( fei::SharedPtr< LibraryWrapper wrapper,
MPI_Comm  comm 
) [virtual]

Produce an instance of the "old" FEI class (implements the FEI 2.1 interface specification).

This function is virtual, but not pure-virtual. An implementation is provided by this class, and can be inherited by derived classes if desired.

Definition at line 65 of file fei_Factory.cpp.

fei::SharedPtr< FEI > fei::Factory::createFEI ( MPI_Comm  comm  )  [virtual]

Produce an instance of the "old" FEI class (implements the FEI 2.1 interface specification).

This function is virtual, but not pure-virtual. An implementation is provided by this class, and can be inherited by derived classes if desired.

Definition at line 76 of file fei_Factory.cpp.

virtual int fei::Factory::getOutputLevel (  )  const [pure virtual]

Query screen output-level (set by parameter-string "outputLevel n" via parameters())

Implemented in snl_fei::Factory, and Factory_Trilinos.


The documentation for this class was generated from the following files:
Generated on Wed May 12 01:33:51 2010 for FEI by  doxygen 1.4.7