Use low-Mach wall speed for shared-motion GPU gate
This commit is contained in:
1 parent
33dcb422c6
commit
d0bcefa60c
2 files changed
+9
-3
No files matched your search
@@ -50,8 +50,10 @@ def test_fixed_vs_shared_hold(tmp_path):
|
||||
|
||||
|
||||
def test_common_motion_member_order_has_no_population_effect(tmp_path):
|
||||
offsets = np.concatenate((np.arange(.5, 20.5, .5), np.arange(19.5, -20.5, -.5),
|
||||
np.arange(-19.5, .5, .5)))
|
||||
# MAX_STEP=.5 is a geometric bound, not a low-Mach stability guarantee.
|
||||
# Keep the complete +/-D excursion at wall speed .01, equal to mean inflow.
|
||||
offsets = np.concatenate((np.arange(1, 2001), np.arange(1999, -2001, -1),
|
||||
np.arange(-1999, 1))) * .01
|
||||
forward = simulate(tmp_path, moving=True, offsets=offsets)
|
||||
reverse = simulate(tmp_path, moving=True, offsets=offsets, reverse=True)
|
||||
assert forward[3] > 0 and forward[3] == reverse[3]
|
||||
|
||||
Reference in new issue
Block a user