@@ -887,8 +887,9 @@ def test_interp_complex_and_real(dtype):
887887 assert np .isclose (sc .data [0 ], fc .data [5 , 5 , 5 ])
888888 assert np .isclose (scre .data [0 ], fc .data [5 , 5 , 5 ].real )
889889
890- assert_structure (opC , ['p_sc' , 'p_sc,rscx,rscy,rscz' , 'p_sc,rscex,rscey,rscez' ],
891- 'p_sc,rscx,rscy,rscz,rscex,rscey,rscez' )
890+ assert_structure (opC , ['p_sc' , 'p_sc,rp_scx,rp_scy,rp_scz' ,
891+ 'p_sc,rp_scx,rp_scy,rp_scz' ],
892+ 'p_sc,rp_scx,rp_scy,rp_scz,rp_scx,rp_scy,rp_scz' )
892893
893894
894895class SD0 (SubDomain ):
@@ -1010,9 +1011,9 @@ def test_interpolate_subdomain(self):
10101011 assert np .all (np .isclose (sr1 .data , check1 ))
10111012 assert np .all (np .isclose (sr2 .data , check2 ))
10121013 assert_structure (op ,
1013- ['p_sr0' , 'p_sr0rsr0xrsr0y ' , 'p_sr1' ,
1014- 'p_sr1rsr1xrsr1y ' , 'p_sr2' , 'p_sr2rsr2xrsr2y ' ],
1015- 'p_sr0rsr0xrsr0yp_sr1rsr1xrsr1yp_sr2rsr2xrsr2y ' )
1014+ ['p_sr0' , 'p_sr0rp_sr0xrp_sr0y ' , 'p_sr1' ,
1015+ 'p_sr1rp_sr1xrp_sr1y ' , 'p_sr2' , 'p_sr2rp_sr2xrp_sr2y ' ],
1016+ 'p_sr0rp_sr0xrp_sr0yp_sr1rp_sr1xrp_sr1yp_sr2rp_sr2xrp_sr2y ' )
10161017
10171018 def test_interpolate_subdomain_sinc (self ):
10181019 """
@@ -1053,9 +1054,9 @@ def test_interpolate_subdomain_sinc(self):
10531054 assert np .all (np .isclose (sr0 .data , sr2 .data ))
10541055 assert np .all (np .isclose (sr1 .data , sr2 .data ))
10551056 assert_structure (op ,
1056- ['p_sr0' , 'p_sr0rsr0xrsr0y ' , 'p_sr1' ,
1057- 'p_sr1rsr1xrsr1y ' , 'p_sr2' , 'p_sr2rsr2xrsr2y ' ],
1058- 'p_sr0rsr0xrsr0yp_sr1rsr1xrsr1yp_sr2rsr2xrsr2y ' )
1057+ ['p_sr0' , 'p_sr0rp_sr0xrp_sr0y ' , 'p_sr1' ,
1058+ 'p_sr1rp_sr1xrp_sr1y ' , 'p_sr2' , 'p_sr2rp_sr2xrp_sr2y ' ],
1059+ 'p_sr0rp_sr0xrp_sr0yp_sr1rp_sr1xrp_sr1yp_sr2rp_sr2xrp_sr2y ' )
10591060
10601061 def test_inject_subdomain (self ):
10611062 """
@@ -1101,8 +1102,8 @@ def test_inject_subdomain(self):
11011102 assert np .all (np .isclose (f0 .data , check0 ))
11021103 assert np .all (np .isclose (f1 .data , check1 ))
11031104 assert_structure (op ,
1104- ['p_sr0rsr0xrsr0y ' ],
1105- 'p_sr0rsr0xrsr0y ' )
1105+ ['p_sr0rp_sr0xrp_sr0y ' ],
1106+ 'p_sr0rp_sr0xrp_sr0y ' )
11061107
11071108 def test_inject_subdomain_sinc (self ):
11081109 """
@@ -1133,8 +1134,8 @@ def test_inject_subdomain_sinc(self):
11331134 assert np .all (np .isclose (f0 .data , f2 .data [:9 , - 9 :]))
11341135 assert np .all (np .isclose (f1 .data , f2 .data [1 :- 1 , 1 :- 1 ]))
11351136 assert_structure (op ,
1136- ['p_sr0rsr0xrsr0y ' ],
1137- 'p_sr0rsr0xrsr0y ' )
1137+ ['p_sr0rp_sr0xrp_sr0y ' ],
1138+ 'p_sr0rp_sr0xrp_sr0y ' )
11381139
11391140 @pytest .mark .xfail (reason = "OOB issue" )
11401141 @pytest .mark .parallel (mode = 4 )
0 commit comments