MultiNewton.h Source File#
MultiNewton.h
Go to the documentation of this file.
Class MultiJac evaluates the Jacobian of a system of equations defined by a residual function supplie...
Definition MultiJac.h:24
Newton iterator for multi-domain, one-dimensional problems.
Definition MultiNewton.h:24
void step(double *x, double *step, OneDim &r, MultiJac &jac, int loglevel)
Compute the undamped Newton step.
Definition MultiNewton.cpp:157
double norm2(const double *x, const double *step, OneDim &r) const
Compute the weighted 2-norm of step.
Definition MultiNewton.cpp:145
int dampStep(const double *x0, const double *step0, double *x1, double *step1, double &s1, OneDim &r, MultiJac &jac, int loglevel, bool writetitle)
On entry, step0 must contain an undamped Newton step for the solution x0.
Definition MultiNewton.cpp:202
int solve(double *x0, double *x1, OneDim &r, MultiJac &jac, int loglevel)
Find the solution to F(X) = 0 by damped Newton iteration.
Definition MultiNewton.cpp:283
double boundStep(const double *x0, const double *step0, const OneDim &r, int loglevel)
Return the factor by which the undamped Newton step 'step0' must be multiplied in order to keep all s...
Definition MultiNewton.cpp:190
Generated by 1.9.7