|
Ifpack2 Templated Preconditioning Package Version 1.0
|
Declaration of Ifpack2::Details::registerLinearSolverFactory. More...
#include "Ifpack2_ConfigDefs.hpp"Go to the source code of this file.
Namespaces | |
| namespace | Ifpack2 |
| Preconditioners and smoothers for Tpetra sparse matrices. | |
Functions | |
| void | Ifpack2::Details::registerLinearSolverFactory () |
| Register Ifpack2's LinearSolverFactory with the central repository, for all enabled combinations of template parameters. | |
Declaration of Ifpack2::Details::registerLinearSolverFactory.
|
extern |
Register Ifpack2's LinearSolverFactory with the central repository, for all enabled combinations of template parameters.
For all combinations of template parameters that Ifpack2 enables, register Ifpack2::Details::LinearSolverFactory with the central repository. This will let any clients of Trilinos::Details::getLinearSolver create Ifpack2 solvers with those template parameters.
You may call this function multiple times; it will only have an effect the first time (it is idempotent).
Users do not normally have to call this function, but see Bug
Trilinos_ENABLE_LINEAR_SOLVER_FACTORY_REGISTRATION was set to OFF). It never hurts to invoke this function manually, though, since it is idempotent.If you need to register Ifpack2's LinearSolverFactory for a set of template parameters that is not enabled, see Ifpack2_Details_LinearSolverFactory.hpp (in this directory).