Castro icon indicating copy to clipboard operation
Castro copied to clipboard

derived variables are not high-order

Open zingale opened this issue 6 years ago • 2 comments

The derived variables in the plotfiles are only computed to second-order accuracy. We may want to handle this via AMReX directly.

zingale avatar Mar 14 '18 20:03 zingale

I think the way to this is to just fill ghost cells on the level for the derive MF, convert to centers, do the derivation including 1 ghost cell, and then convert back. But... we do this using a mask at C-F interfaces so we don't interact there. This means using 1-sided Laplacians at the C-F interface for the transformation from centers to average and back (like we currently do for the physical boundaries).

zingale avatar Jul 14 '19 16:07 zingale

So in order to implement this, we need a mask.

zingale avatar Jul 14 '19 16:07 zingale