We add a LocalisationFunctions object that allows one to make all of the component's localisation functions for a given function space, taking that out of every iteration in ensemble_transform and coupling, right at the start of assimilation and store them.
Tested for all FunctionSpaces that works with basis coefficient localisation around a single vertex (DG0, DG1, DGn, CG1) with different radius of localisation
Changed examples to create this object first and uses that. Should speed up the examples.
Alterations:
LocalisationFunctions
object that allows one to make all of the component's localisation functions for a given function space, taking that out of every iteration inensemble_transform
andcoupling
, right at the start of assimilation and store them.FunctionSpace
s that works with basis coefficient localisation around a single vertex (DG0, DG1, DGn, CG1) with different radius of localisation