black_box_newton_solver.cc File Reference

Namespaces

 oomph
 DRAIG: Change all instances of (SPATIAL_DIM) to (DIM-1).
 
 oomph::BlackBoxFDNewtonSolver
 Namespace for black-box FD Newton solver.
 

Functions

void oomph::BlackBoxFDNewtonSolver::black_box_fd_newton_solve (ResidualFctPt residual_fct, const Vector< double > &params, Vector< double > &unknowns, JacobianFctPt jacobian_fct)
 
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 > &params, Vector< double > &newton_dir, Vector< double > &x, double &half_residual_squared, const double &stpmax)
 Line search helper for globally convergent Newton method. More...
 

Variables

unsigned oomph::BlackBoxFDNewtonSolver::Max_iter = 20
 Max. # of Newton iterations. More...
 
unsigned oomph::BlackBoxFDNewtonSolver::N_iter_taken = 0
 Number of Newton iterations taken in most recent invocation. More...
 
bool oomph::BlackBoxFDNewtonSolver::Doc_Progress = false
 
double oomph::BlackBoxFDNewtonSolver::FD_step = 1.0e-8
 FD step. More...
 
double oomph::BlackBoxFDNewtonSolver::Tol = 1.0e-8
 Tolerance. More...
 
bool oomph::BlackBoxFDNewtonSolver::Use_step_length_control = false
 Use steplength control do make globally convergent (default false) More...