Amesos2 - Direct Sparse Solver Interfaces
Version of the Day
|
Declaration of Amesos2::Details::registerLinearSolverFactory. More...
#include "Amesos2_config.h"
Go to the source code of this file.
Functions | |
void | Amesos2::Details::registerLinearSolverFactory () |
Register Amesos2's LinearSolverFactory with the central repository, for all enabled combinations of template parameters. More... | |
Declaration of Amesos2::Details::registerLinearSolverFactory.
void Amesos2::Details::registerLinearSolverFactory | ( | ) |
Register Amesos2's LinearSolverFactory with the central repository, for all enabled combinations of template parameters.
For all combinations of template parameters that Amesos2 enables, register Amesos2::Details::LinearSolverFactory with the central repository. This will let any clients of Trilinos::Details::getLinearSolver create Amesos2 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.If you need to register Amesos2's LinearSolverFactory for a set of template parameters that is not enabled, see Amesos2_Details_LinearSolverFactory.hpp (in this directory).