Updating objects and the update stage of AdaptiveSolver

Registered by Marie Rognes

For a variational problem solved using AdaptiveSolver, the members of
the variational problem, the associated boundary conditions, the error
control objects etc need to be somehow updated after each mesh
refinement.

This applies (at least) for

  * FunctionSpace
  * Function
  * BoundaryCondition
  * Form
  * ErrorControl

Taking Form as an example, one could either imagine an in-place update

  Form::update(const Mesh& new_mesh)

or an update returning a new Form on the new_mesh, something like

  const Form Form::update(const Mesh& new_mesh)

or something entirely different.

Once this is in place, the update step of AdaptiveSolver::solve needs
to be implemente

Blueprint information

Status:
Complete
Approver:
Marie Rognes
Priority:
Essential
Drafter:
None
Direction:
Needs approval
Assignee:
Anders Logg
Definition:
New
Series goal:
None
Implementation:
Implemented
Milestone target:
milestone icon 0.9.10
Started by
Marie Rognes
Completed by
Marie Rognes

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.