FEI Package Browser (Single Doxygen Collection)
Version of the Day
|
#include <fei_Factory.hpp>
Private Member Functions | |
Factory () | |
Factory (const Factory &src) | |
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.
fei::Factory::Factory | ( | MPI_Comm | comm | ) |
constructor
Definition at line 20 of file fei_Factory.cpp.
References fei::LogManager::getLogManager(), fei::localProc(), fei::numProcs(), and fei::LogManager::setNumProcs().
|
virtual |
virtual destructor
Reimplemented from fei::LinearSystem::Factory.
Reimplemented in snl_fei::Factory.
Definition at line 31 of file fei_Factory.cpp.
References fei::LogFile::closeOutputStream(), fei::LogFile::getLogFile(), fei::LogManager::getLogManager(), fei::NONE, and fei::LogManager::setOutputLevel().
|
private |
|
private |
|
pure virtual |
Create and return a new Factory of the same type.
Implemented in Factory_Trilinos, Factory_Aztec, and snl_fei::Factory.
Referenced by fei::FEI_Impl::FEI_Impl(), and test_Factory::runtests().
|
virtual |
Set parameters.
Reimplemented in Factory_Trilinos, Factory_Aztec, and snl_fei::Factory.
Definition at line 38 of file fei_Factory.cpp.
References fei::Param::BAD_TYPE, fei::ParameterSet::get(), fei::LogManager::getLogManager(), fei::Param::getStringValue(), fei::Param::getType(), fei::LogManager::setOutputLevel(), fei::LogManager::setOutputPath(), and fei::Param::STRING.
Referenced by beam_main(), fei::create_fei_Factory(), main(), snl_fei::Factory::parameters(), Factory_Aztec::parameters(), poisson3_main(), snl_fei_tester::setParameter(), test_Matrix_unit4(), and snl_fei_tester::testInitialization().
|
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.
References FEI_Implementation.
Referenced by beam_oldfei_main(), test_Factory::factory_test1(), main(), and poisson_main().
|
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.
|
pure virtual |
Query screen output-level (set by parameter-string "outputLevel n"
via parameters())
Implemented in Factory_Trilinos, Factory_Aztec, and snl_fei::Factory.