UMFPACKSolver Class Reference
UMFPACK based solver implementation. More...
#include <umfpack_solver.hpp>

Public Member Functions | |
UMFPACKSolver (double newton_Reps=1.0e-5, double newton_dXeps=1.0e-6, uint32_t newton_imax=10) | |
Constructor. | |
~UMFPACKSolver () | |
Destructor. | |
virtual void | solve (const Problem &p, Vector &X) |
Solve problem p defined in geometry g. Initial guess and solution are in vector X. | |
virtual void | reset (void) |
Reset solver. | |
void | set_newton_imax (uint32_t newton_imax) |
Sets maximum iteration count for Newton-Raphson steps. | |
void | set_newton_residual_eps (double newton_Reps) |
Sets the accuracy request for Newton-Raphson residual. | |
void | set_newton_step_eps (double newton_dXeps) |
Sets the accuracy request for Newton-Raphson step size. |
Detailed Description
UMFPACK based solver implementation.
An implementation of virtual class Solver using UMFPACK matrix solver library doing LU decomposition to solve linear matrix problems. This solver includes both linear and nonlinear solvers. Nonlinear solver based on Newton-Raphson iteration.
- Todo:
- Should this solver have a flag to use globally convergent version?
Constructor & Destructor Documentation
UMFPACKSolver::UMFPACKSolver | ( | double | newton_Reps = 1.0e-5 , |
|
double | newton_dXeps = 1.0e-6 , |
|||
uint32_t | newton_imax = 10 | |||
) |
Constructor.
UMFPACKSolver::~UMFPACKSolver | ( | ) |
Destructor.
Member Function Documentation
virtual void UMFPACKSolver::reset | ( | void | ) | [virtual] |
Reset solver.
This is a signal from the problem that the problem has changed and internal caches (if they exist) in the solver should be resetted.
Implements Solver.
void UMFPACKSolver::set_newton_imax | ( | uint32_t | newton_imax | ) | [inline] |
Sets maximum iteration count for Newton-Raphson steps.
void UMFPACKSolver::set_newton_residual_eps | ( | double | newton_Reps | ) | [inline] |
Sets the accuracy request for Newton-Raphson residual.
void UMFPACKSolver::set_newton_step_eps | ( | double | newton_dXeps | ) | [inline] |
Sets the accuracy request for Newton-Raphson step size.
Solve problem p defined in geometry g. Initial guess and solution are in vector X.
The documentation for this class was generated from the following file: