generate_error_control_forms

dolfin.fem.adaptivesolving.generate_error_control_forms(problem, goal)

Create UFL forms required for initializing an ErrorControl object

Arguments

problem (LinearVariationalProblem or NonlinearVariationalProblem)

The (primal) problem

goal (Form)

The goal functional

Returns

(tuple of forms, bool)