NonlinearProblem.h

Note

The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.

class NonlinearProblem

This is a base class for nonlinear problems which can return the nonlinear function F(u) and its Jacobian J = dF(u)/du.

NonlinearProblem()

Constructor

void form(GenericMatrix &A, GenericVector &b, const GenericVector &x)

Function called by Newton solver before requesting F or J. This can be used to compute F and J together

void F(GenericVector &b, const GenericVector &x) = 0

Compute F at current point x

void J(GenericMatrix &A, const GenericVector &x) = 0

Compute J = F’ at current point x