firedrakeproject / gusto

Three dimensional atmospheric dynamical core using the Gung Ho numerics.
http://firedrakeproject.org/gusto/
MIT License
12 stars 11 forks source link

Allow reference profiles to be updated #542

Closed tommbendall closed 5 days ago

tommbendall commented 2 months ago

This PR allows the reference profiles used in the Semi-Implicit Quasi Newton time stepper to be updated with time.

This is set by an argument to the time stepper. When the reference profiles are updated, the compressible linear solver also needs to recompute some operators. I have also attempted to make this work with checkpointing.