Namespaces | Typedefs | Functions
black_box_newton_solver.h File Reference

Go to the source code of this file.

Namespaces

 oomph
 //////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
 
 oomph::BlackBoxFDNewtonSolver
 Namespace for black-box FD Newton solver.
 

Typedefs

typedef void(* oomph::BlackBoxFDNewtonSolver::ResidualFctPt) (const Vector< double > &parameters, const Vector< double > &unknowns, Vector< double > &residuals)
 
typedef void(* oomph::BlackBoxFDNewtonSolver::JacobianFctPt) (const Vector< double > &, const Vector< double > &, DenseDoubleMatrix &jacobian)
 

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...