AMReX-Fluids / IAMR

A parallel, adaptive mesh refinement (AMR) code that solves the variable-density incompressible Navier-Stokes equations.
https://amrex-fluids.github.io/IAMR/
79 stars 57 forks source link

Fix mac sync #118

Closed cgilet closed 2 years ago

cgilet commented 2 years ago

During the MAC sync, we need to reconstruct the edge states exactly as we made them during the advection step of advance. This was not happening correctly for the scalars when using Godunov with divU!=0 or, for divU=0, non-conservative scalars with external forcing.

This does not affect the mac_sync_compute version where edge states are passed in and not recomputed.