Fix small conservation error when using fct thickness and tracer advection#95
Conversation
…ction Add a halo update on layerThicknessEdgeFlux to fix a small tracer conservation error when using fct thickness and tracer advection.
TestingUsing the grounded slab advection test with prescribed velocity that I used extensively in #70. Calculating tracer volume using |
matthewhoffman
left a comment
There was a problem hiding this comment.
@trhille , good sleuthing. This looks straightforward. It's too bad we have to pass domain around just to do a halo update, but solutions to address that are well beyond the scope of this PR and the solution you have here is the obvious one.
|
All |
|
All |


Add a halo update on
layerThicknessEdgeFluxto fix a small tracer conservation error when using fct thickness and tracer advection. That error was documented in this comment in PR #70 : #70 (comment).