firedrakeproject / firedrake

Firedrake is an automated system for the portable solution of partial differential equations using the finite element method (FEM)
https://firedrakeproject.org
Other
497 stars 157 forks source link

Rediscretised multigrid needs to add hooks for retransferring coarse grid coefficients #1549

Open wence- opened 4 years ago

wence- commented 4 years ago

Similar to the way we have hooks that transfer context information on subsequent solves, we need to register a trail of breadcrumbs such that we can retransfer coarse grid coefficients.

This should be done in tandem with reintroducing versioning of data in pyop2 to avoid retransferring stuff that is unchanged.

wence- commented 4 years ago

(The state that we linearise around is not a problem because PETSc takes care of moving that).