Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
rbeucher committed Nov 6, 2020
1 parent 9cc6770 commit b94d24a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UWGeodynamics/_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -2717,7 +2717,7 @@ def reload_passive_tracers(self, step):
particleEscape=tracer.particleEscape)
obj.load(fpath)
if tracer.advector:
tracer.advector = uw.systems.SwarmAdvector(Model.velocityField, tracer, order=2)
obj.advector = uw.systems.SwarmAdvector(Model.velocityField, obj, order=2)

# Reload global indices
fpath = os.path.join(self.restartDir, tracer.name + '_global_index-%s.h5' % step)
Expand Down

0 comments on commit b94d24a

Please sign in to comment.