-
Notifications
You must be signed in to change notification settings - Fork 64
Description
I'm running a few tests with ERF, trying very simple features to get familiar with it. So my potential bug report here is very simple.
I'm have periodic domain in x and y and was trying to have a box refinement region touching the xlo and ylo, but not xhi and yhi. If I try that, I get the following error within a few time steps:
amrex::Abort::63::Bad theta in check_for_negative_theta !!!
The error is gone if my refinement spans the entire x and y extents (that is, touching all four side boundaries). I also get the same fatal error when the refinement is simply not touching any periodic boundary (but touching zhi).
I'm attaching a reproducible MWE. I'm using the latest version as of this morning (6d41455).
PS: I believe there is a mistake in the documentation for the refinements. The following line (and a few others in the same page) should read amr.ref_ratio_vec.
ERF/Docs/sphinx_doc/MeshRefinement.rst
Line 49 in 6d41455
| amr.ref_ratio = 2 2 2 |