firedrakeproject / asQ

A library for implementing ParaDIAG timestepping algorithms using Firedrake
MIT License
4 stars 1 forks source link

Use Ensemble broadcast in next_window #41

Closed JHopeCollins closed 1 year ago

JHopeCollins commented 2 years ago

fd.Ensemble currently does not have a method to wrap MPI.Bcast, so in paradiag.next_window() we broadcast manually by grabbing the underlying data in the Function.

If Firedrake adds this wrapper method to the Ensemble class then paradiag.next_window() should be updated to use this instead.