Bases: dolfin.cpp.fem.HierarchicalNonlinearVariationalProblem
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.
Overloaded versions
NonlinearVariationalProblem(F, u)
Create nonlinear variational problem without boundary conditions. The Jacobian form is not specified which requires the use of a nonlinear solver that does not rely on the Jacobian.
NonlinearVariationalProblem(F, u, J)
Create nonlinear variational problem without boundary conditions. The Jacobian form is specified which allows the use of a nonlinear solver that relies on the Jacobian (using Newton’s method).
NonlinearVariationalProblem(F, u, bc)
Create nonlinear variational problem with a single boundary condition. The Jacobian form is not specified which requires the use of a nonlinear solver that does not rely on the Jacobian.
NonlinearVariationalProblem(F, u, bc, J)
Create nonlinear variational problem with a single boundary condition. The Jacobian form is specified which allows the use of a nonlinear solver that relies on the Jacobian (using Newton’s method).
NonlinearVariationalProblem(F, u, bcs)
Create nonlinear variational problem with a list of boundary conditions. The Jacobian form is not specified which requires the use of a nonlinear solver that does not rely on the Jacobian.
NonlinearVariationalProblem(F, u, bcs, J)
Create nonlinear variational problem with a list of boundary conditions. The Jacobian form is specified which allows the use of a nonlinear solver that relies on the Jacobian (using Newton’s method).
NonlinearVariationalProblem(F, u, bcs)
Create nonlinear variational problem, shared pointer version. The Jacobian form is not specified which requires the use of a nonlinear solver that does not rely on the Jacobian.
NonlinearVariationalProblem(F, u, bcs, J)
Create nonlinear variational problem, shared pointer version. The Jacobian form is specified which allows the use of a nonlinear solver that relies on the Jacobian (using Newton’s method).
Return boundary conditions
Check whether Jacobian has been defined
Check whether lower bound has been defined
Check whether upper bound have has defined
Return Jacobian form
Return lower bound
Return residual form
Overloaded versions
set_bounds(lb, ub)
Set the bounds for bound constrained solver
set_bounds(lb, ub)
Set the bounds for bound constrained solver
set_bounds(lb_func, ub_func)
Set the bounds for bound constrained solver
set_bounds(lb_func, ub_func)
Set the bounds for bound constrained solver
Return the solution
Return the test space
The membership flag
Return the trial space
Return upper bound