Class NewtonKrylovSolverManager is a singleton manager class to provide access to generic NewtonKrylovSolver implementations.
#include <ibtk/NewtonKrylovSolverManager.h>
◆ SolverMaker
Typedef for functions to construct NewtonKrylovSolvers.
◆ NewtonKrylovSolverManager() [1/2]
| IBTK::NewtonKrylovSolverManager::NewtonKrylovSolverManager |
( |
| ) |
|
|
protected |
◆ ~NewtonKrylovSolverManager()
| IBTK::NewtonKrylovSolverManager::~NewtonKrylovSolverManager |
( |
| ) |
|
|
protecteddefault |
◆ NewtonKrylovSolverManager() [2/2]
- Note
- This constructor is not implemented and should not be used.
- Parameters
-
| from | The value to copy to this object. |
◆ 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.
◆ freeManager()
| static 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.
◆ allocateSolver()
◆ registerSolverFactoryFunction()
| void IBTK::NewtonKrylovSolverManager::registerSolverFactoryFunction |
( |
const std::string & |
solver_type, |
|
|
SolverMaker |
solver_maker |
|
) |
| |
Register a solver factory function with the solver manager class.
◆ operator=()
- Note
- This operator is not implemented and should not be used.
- Parameters
-
| that | The value to assign to this object. |
- Returns
- A reference to this object.
◆ UNDEFINED
| const std::string IBTK::NewtonKrylovSolverManager::UNDEFINED |
|
static |
Key to use for "undefined" solver types.
◆ DEFAULT
| const std::string IBTK::NewtonKrylovSolverManager::DEFAULT |
|
static |
Default Newton-Krylov solver types automatically provided by the manager class.
◆ PETSC
| const std::string IBTK::NewtonKrylovSolverManager::PETSC |
|
static |
◆ s_solver_manager_instance
Static data members used to control access to and destruction of singleton data manager instance.
◆ s_registered_callback
| bool IBTK::NewtonKrylovSolverManager::s_registered_callback |
|
staticprivate |
◆ s_shutdown_priority
| unsigned char IBTK::NewtonKrylovSolverManager::s_shutdown_priority |
|
staticprivate |
◆ d_solver_maker_map
| std::map<std::string, SolverMaker> IBTK::NewtonKrylovSolverManager::d_solver_maker_map |
|
private |
Mapping from solver type names to solver maker functions.
The documentation for this class was generated from the following file: