Generalize synchronized remap to multiple pinned body rectangles
This commit is contained in:
1 parent
864a220dbe
commit
60ad6b8b0d
6 files changed
+375
-32
No files matched your search
@@ -55,7 +55,7 @@ class PinnedBodyRemap(unittest.TestCase):
|
||||
self.assertTrue(same_physical_boundary(old.boundary,new.boundary))
|
||||
back=remap(new,old,out.g)
|
||||
self.assertTrue(np.isnan(back.g[2][:,~old.leaf_masks[2]]).all())
|
||||
self.assertEqual(old.pinned_rectangle,A[0])
|
||||
self.assertEqual(old.pinned_rectangles,(A[0],))
|
||||
|
||||
def test_current_jets_and_source_independence(self):
|
||||
run,module,allocations,storage,objects=ready()
|
||||
|
||||
Reference in new issue
Block a user