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)