Add bounded pinned-circle manual L2 remapping

This commit is contained in:
TRON committed 2026-10-16 10:41:56 -07:00
1 parent 766658185f
commit 6a7e9226db
6 files changed
+361 -21

No files matched your search

+1 -1
View File
@@ -185,7 +185,7 @@ class SynchronizedRemapTests(unittest.TestCase):
with self.assertRaises(ValueError):
RemapTopology.from_config(replace(CFG, **changes), parent, A)
for kwargs in (dict(coarse_boundary='slot_reservoir'), dict(objects=(object(),))):
with self.assertRaisesRegex(ValueError, 'body-free periodic'):
with self.assertRaisesRegex(ValueError, 'periodic 2D'):
RemapTopology.from_config(CFG, parent, A, **kwargs)
different = topology(A, cfg=replace(CFG, viscosity=.12))
with self.assertRaisesRegex(ValueError, 'unchanged'):