firedrakeproject / asQ

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

Time averaging for spatial Jacobian in block solve of paradiag step-(b) #30

Closed JHopeCollins closed 2 years ago

JHopeCollins commented 2 years ago

The proper paradiag matrix needs a global time average to set this Jacobian, but this involves an allreduce over the ensemble_comm. Just taking an average over the local time-slice is faster, but makes the preconditioner dependent of the time-partition.

There should be an option to switch between these two averages.