Go to the source code of this file.
Namespaces | |
namespace | oomph |
DRAIG: Change all instances of (SPATIAL_DIM) to (DIM-1). | |
namespace | oomph::BlackBoxFDNewtonSolver |
Namespace for black-box FD Newton solver. | |
Functions | |
void | oomph::BlackBoxFDNewtonSolver::black_box_fd_newton_solve (ResidualFctPt residual_fct, const Vector< double > ¶ms, Vector< double > &unknowns, JacobianFctPt jacobian_fct) |
Black-box FD Newton solver: Calling sequence for residual function is. | |
void | oomph::BlackBoxFDNewtonSolver::line_search (const Vector< double > &x_old, const double half_residual_squared_old, const Vector< double > &gradient, ResidualFctPt residual_fct, const Vector< double > ¶ms, Vector< double > &newton_dir, Vector< double > &x, double &half_residual_squared, const double &stpmax) |
Line search helper for globally convergent Newton method. | |
Variables | |
unsigned | oomph::BlackBoxFDNewtonSolver::Max_iter = 20 |
Max. # of Newton iterations. | |
unsigned | oomph::BlackBoxFDNewtonSolver::N_iter_taken = 0 |
Number of Newton iterations taken in most recent invocation. | |
bool | oomph::BlackBoxFDNewtonSolver::Doc_Progress = false |
Flag to indicate if progress of Newton iteration is to be documented (defaults to false) | |
double | oomph::BlackBoxFDNewtonSolver::FD_step = 1.0e-8 |
FD step. | |
double | oomph::BlackBoxFDNewtonSolver::Tol = 1.0e-8 |
Tolerance. | |
bool | oomph::BlackBoxFDNewtonSolver::Use_step_length_control = false |
Use steplength control do make globally convergent (default false) | |