firedrakeproject / firedrake

Firedrake is an automated system for the portable solution of partial differential equations using the finite element method (FEM)
https://firedrakeproject.org
Other
483 stars 157 forks source link

Gather functional #3577

Closed colinjcotter closed 1 month ago

colinjcotter commented 1 month ago

Add a gather_functional option to EnsembleReducedFunctional.

The forward composition is: each ensemble rank computes its J, and then gather_functional collects all the Js, and computes a functional of them, recorded in gather_functional.