Skip to content

Commit df91890

Browse files
sbryngelsonclaude
andcommitted
Revert 2D hyper_cleaning prohibition per @ChrisZYJ feedback
Hyper_cleaning is valid in 2D; the 1D prohibition exists because Bx=0 identically in 1D, not because of dimensionality in general. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 2ba93f2 commit df91890

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

toolchain/mfc/case_validator.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1029,7 +1029,6 @@ def check_mhd_simulation(self):
10291029
relativity = self.get('relativity', 'F') == 'T'
10301030
hyper_cleaning = self.get('hyper_cleaning', 'F') == 'T'
10311031
n = self.get('n', 0)
1032-
p = self.get('p', 0)
10331032

10341033
self.prohibit(mhd and riemann_solver is not None and riemann_solver not in [1, 4],
10351034
"MHD simulations require riemann_solver = 1 (HLL) or riemann_solver = 4 (HLLD)")
@@ -1041,8 +1040,6 @@ def check_mhd_simulation(self):
10411040
"Hyperbolic cleaning requires mhd to be enabled")
10421041
self.prohibit(hyper_cleaning and n is not None and n == 0,
10431042
"Hyperbolic cleaning is not supported for 1D simulations")
1044-
self.prohibit(hyper_cleaning and p is not None and p == 0,
1045-
"Hyperbolic cleaning is not supported for 2D simulations")
10461043

10471044

10481045
def check_igr_simulation(self): # pylint: disable=too-many-locals

0 commit comments

Comments
 (0)