Class NewtonKrylovSolverManager is a singleton manager class to provide access to generic NewtonKrylovSolver implementations.
More...
#include </home/runner/work/IBAMR/IBAMR/ibtk/include/ibtk/NewtonKrylovSolverManager.h>
Class NewtonKrylovSolverManager is a singleton manager class to provide access to generic NewtonKrylovSolver implementations.
◆ SolverMaker
Typedef for functions to construct NewtonKrylovSolvers.
◆ allocateSolver()
◆ freeManager()
void IBTK::NewtonKrylovSolverManager::freeManager |
( |
| ) |
|
|
static |
Deallocate the NewtonKrylovSolverManager instance.
It is not necessary to call this function at program termination since it is automatically called by the ShutdownRegistry class.
◆ getManager()
Return a pointer to the instance of the solver manager. Access to NewtonKrylovSolverManager objects is mediated by the getManager() function.
- Returns
- A pointer to the solver manager instance.
◆ registerSolverFactoryFunction()
void IBTK::NewtonKrylovSolverManager::registerSolverFactoryFunction |
( |
const std::string & |
solver_type, |
|
|
SolverMaker |
solver_maker |
|
) |
| |
Register a solver factory function with the solver manager class.
◆ DEFAULT
const std::string IBTK::NewtonKrylovSolverManager::DEFAULT = "DEFAULT" |
|
static |
Default Newton-Krylov solver types automatically provided by the manager class.
◆ UNDEFINED
const std::string IBTK::NewtonKrylovSolverManager::UNDEFINED = "UNDEFINED" |
|
static |
Key to use for "undefined" solver types.
The documentation for this class was generated from the following files:
- /home/runner/work/IBAMR/IBAMR/ibtk/include/ibtk/NewtonKrylovSolverManager.h
- /home/runner/work/IBAMR/IBAMR/ibtk/src/solvers/impls/NewtonKrylovSolverManager.cpp