Castro (Compressible Astrophysics): An adaptive mesh, astrophysical compressible (radiation-, magneto-) hydrodynamics simulation code for massively parallel CPU and GPU architectures.
For inflow BCs, we should adopt the strategy from Maestro and others where the ghost cell value represents the interface value, and not the cell-center. And then we should use modified stencils at the edge to ensure that we see the correct inflow state.
For inflow BCs, we should adopt the strategy from Maestro and others where the ghost cell value represents the interface value, and not the cell-center. And then we should use modified stencils at the edge to ensure that we see the correct inflow state.