Introduce a generic field transfer interaction that includes interpolation and use it for current_to_mxll and mxll_field_to_medium interactions
Description
A generic field transfer interaction is introduced as an abstract class. It includes:
- regridding of the field from the partner to the system (i.e. the field transfer)
- interpolation to arbitrary order in time
The interactions current_to_mxll and mxll_field_to_medium are now based on this class. This simplifies the code and enables interpolation to arbitrary order for higher-order propagators.
News snippet
Introduce a generic field transfer interaction that includes interpolation
Checklist
-
I have checked that my code follows the Octopus coding standards -
I have added tests for all the new features added in this request.