Conversation
|
Are there regression tests for |
|
Question relating to this PR as I am wondering if the misalignment happens elsewhere: Should there be a dispatch for operators such that if the argument is in the wrong location it throws? |
briochemc
left a comment
There was a problem hiding this comment.
Staggering looks good to me!
Hmm. We could implement that. However, it would only throw an error on CPU beacuse on GPU, |
There are tests for the conservation of tracers in z star and the fidelity of the implicit solve. |
Interesting. I think this change concerns whether the pressure gradient is correct. We may not be testing it. |
|
I think we should merge this asap |
|
I am a bit afraid of the possible loss of performance, but ok let's merge it and keep it in mind |
|
maybe we can add a zstar option in the benchmarks PR, if we see there is a very large difference between zstar and static coordinate we can worry otherwise there is no issue. |
|
We should also have immersed-boundary-aware interpolations for this derivative to be actually correct across immersed boundaries |
should we do that in this PR? |
we can add the pressure gradient calculation based on buoyancy back if needed. There is a trade-off; one is a derivative but the other requires evaluating TEOS10? |
|
are the failing tests related? should we merge this? |
|
They do not seem to be related. I think we can merge this. Distributed tests are acting up a bit |
* glw/prescribed-free-surface: (0.105.3) Fix interpolation of terms in chain horizontal derivatives for MutableVerticalDiscretization (CliMA#5339) Fix ContinuousForcing field index mismatch in HydrostaticFreeSurfaceModel (CliMA#5370) Add dependency guardrail to Common Pitfalls (CliMA#5371) Fix typo SKR3 -> SRK3 (CliMA#5360) Add new reference to Zheng et al. (2025) in index (CliMA#5364) Add 9 missing papers to the reference list (CliMA#5363) Update papers section in index.md (CliMA#5362) Restructure AGENTS.md into multi-file agent configuration (CliMA#5350) (0.105.2) Fix `with_halo` for a `TripolarGrid` (CliMA#5353) (0.105.2) Fix and test checkpointing with open-domain simulations with a radiation `OpenBoundaryCondition` (CliMA#5347)
Found by @briochemc, cc @simone-silvestri
discussion: #5101 (comment)