mesh-adaptation / goalie

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

Clean up wrapping of getter functions #22

Open jwallwork23 opened 1 year ago

jwallwork23 commented 1 year ago

The getter functions such as

def get_form(mesh_seq):
    def form(index, solutions):
        ...
        return {field: F}
    return form

are cumbersome. We should clean things up. Some possible approaches: