# NonlinearVariationalProblem¶

class dolfin.fem.solving.NonlinearVariationalProblem(F, u, bcs=None, J=None, form_compiler_parameters=None)

This class represents a nonlinear variational problem: Find u in V such that

F(u; v) = 0  for all v in V^,


where V is the trial space and V^ is the test space.

Create nonlinear variational problem F(u; v) = 0.

Optional arguments bcs and J may be passed to specify boundary conditions and the Jacobian J = dF/du.

Another optional argument form_compiler_parameters may be specified to pass parameters to the form compiler.