Namespaces | Functions | Variables
black_box_newton_solver.cc File Reference

Go to the source code of this file.

Namespaces

 oomph
 //////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
 
 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)
 Black-box FD Newton solver: Calling sequence for residual function is. More...
 
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
 Flag to indicate if progress of Newton iteration is to be documented (defaults to false) More...
 
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...