Ifpack_DynamicFactory.
More...
#include <Ifpack_DynamicFactory.h>
◆ builderFunction
◆ Create()
Creates an instance of Ifpack_Preconditioner given the std::string name of the preconditioner type (can fail with bad input).
- Parameters
-
PrecType | (In) - String name of preconditioner type to be created. |
Matrix | (In) - Matrix used to define the preconditioner |
overlap | (In) - specified overlap, defaulted to 0. |
Returns 0
if the preconditioner with that input name does not exist. Otherwise, return a newly created preconditioner object. Note that the client is responsible for calling delete
on the returned object once it is finished using it!
Definition at line 181 of file Ifpack_DynamicFactory.cpp.
◆ Initialize()
bool Ifpack_DynamicFactory::Initialize |
( |
| ) |
|
|
static |
Initializes the static data of the Ifpac_DynamicFactory class.
Returns true if initialization succeeded, otherwise false or FILE_NOT_FOUND
Definition at line 65 of file Ifpack_DynamicFactory.cpp.
◆ RegisterPreconditioner()
Register a new preconditioner with the factory.
- Parameters
-
PrecName | - String name of the new preconditioner |
PrecBuilder | - function pointer to the builder function |
Returns 0
if ok, otherwise 1
Definition at line 159 of file Ifpack_DynamicFactory.cpp.
◆ Print()
void Ifpack_DynamicFactory::Print |
( |
std::ostream & | os = std::cout | ) |
|
|
static |
◆ buildPreconditioner()
template<typename PrecType ,
bool StandAlone>
◆ PreconditionerMap_
◆ NumPreconditioners_
int Ifpack_DynamicFactory::NumPreconditioners_ = 0 |
|
staticprivate |
◆ Initialized_
bool Ifpack_DynamicFactory::Initialized_ = false |
|
staticprivate |
The documentation for this class was generated from the following files: