From 01b2ffac1f138cfcb23db95aa1bbe599af28d85d Mon Sep 17 00:00:00 2001 From: "Eric T. Johnson" Date: Thu, 10 Oct 2024 15:09:36 -0400 Subject: [PATCH] Update yt/frontends/amrex/data_structures.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Clément Robert --- yt/frontends/amrex/data_structures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt/frontends/amrex/data_structures.py b/yt/frontends/amrex/data_structures.py index 9b78e115fa..36496d1a51 100644 --- a/yt/frontends/amrex/data_structures.py +++ b/yt/frontends/amrex/data_structures.py @@ -905,9 +905,9 @@ def _parse_header_file(self): self.domain_right_edge = dre if self.geometry == "spherical" and self.dimensionality < 3: dre = self.domain_right_edge.copy() + dre[2] = 2.0 * np.pi if self.dimensionality < 2: dre[1] = np.pi - dre[2] = 2.0 * np.pi self.domain_right_edge = dre header_file.close()