Skip to content

Commit

Permalink
Temporarily revert to project as the default transfer method (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
ddundo authored May 3, 2024
1 parent f36d55b commit 4bd290b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions goalie/mesh_seq.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __init__(self, time_partition, initial_meshes, **kwargs):
:kwarg get_form: a function as described in :meth:`~.MeshSeq.get_form`
:kwarg get_solver: a function as described in :meth:`~.MeshSeq.get_solver`
:kwarg transfer_method: the method to use for transferring fields between
meshes. Options are "interpolate" (default) and "project". See
meshes. Options are "project" (default) and "interpolate". See
:func:`animate.interpolation.transfer` for details
:type transfer_method: :class:`str`
:kwarg transfer_kwargs: kwargs to pass to the chosen transfer method
Expand All @@ -66,7 +66,7 @@ def __init__(self, time_partition, initial_meshes, **kwargs):
self._get_initial_condition = kwargs.get("get_initial_condition")
self._get_form = kwargs.get("get_form")
self._get_solver = kwargs.get("get_solver")
self._transfer_method = kwargs.get("transfer_method", "interpolate")
self._transfer_method = kwargs.get("transfer_method", "project")
self._transfer_kwargs = kwargs.get("transfer_kwargs", {})
self.params = kwargs.get("parameters")
self.steady = time_partition.steady
Expand Down

0 comments on commit 4bd290b

Please sign in to comment.