mesh-adaptation / goalie

Goal-oriented error estimation and mesh adaptation for finite element problems solved using Firedrake
Other
1 stars 1 forks source link

Introduce classes for solution data #26

Closed jwallwork23 closed 5 months ago

jwallwork23 commented 1 year ago

Currently the solve_forward, solve_adjoint, and indicate_errors methods return dictionaries of dictionaries of lists of lists of Functions. It would be good to introduce classes which hold these data, and allow extraction by label ("forward", "adjoint", etc.), mesh sequence index, or export, as well as the highest level field name.

We could also move functions for writing to VTU or plotting with matplotlib into these classes, to reduce much of the plotting code in the demos.

jwallwork23 commented 5 months ago

Closed by #114 and #116, remaining task moved to #117.