mesh-adaptation / goalie

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

Generalise `ramp_complexity` #85

Open jwallwork23 opened 8 months ago

jwallwork23 commented 8 months ago

Could ramp_complexity not be renamed something more generic and moved to utility.py? It could also be used for #33.

Also see https://github.com/pyroteus/goalie/issues/58.

acse-ej321 commented 8 months ago

@jwallwork23 - just thinking about this and wondering if it might work simply to add an optional argument for a user-defined function to ramp_complexity to pass different algorithms for ramping up from the base to target over the number of iterations. Similar to how you have set up adaptor to be very flexible for the user to define the method for adapting?