@@ -1190,18 +1190,21 @@ def test_interpolate_multiple_subdomains_unique_temps(self, mode):
11901190 # Create 3 non-overlapping subdomains
11911191 class LeftDomain (SubDomain ):
11921192 name = 'left'
1193+
11931194 def define (self , dimensions ):
11941195 x , y = dimensions
11951196 return {x : ('left' , 3 ), y : y }
11961197
11971198 class MiddleDomain (SubDomain ):
11981199 name = 'middle'
1200+
11991201 def define (self , dimensions ):
12001202 x , y = dimensions
12011203 return {x : ('middle' , 3 , 3 ), y : y }
12021204
12031205 class RightDomain (SubDomain ):
12041206 name = 'right'
1207+
12051208 def define (self , dimensions ):
12061209 x , y = dimensions
12071210 return {x : ('right' , 3 ), y : y }
@@ -1229,9 +1232,12 @@ def define(self, dimensions):
12291232 sr_right = SparseFunction (name = 'sr_right' , grid = grid , npoint = 2 )
12301233
12311234 # Points: one inside each subdomain, one outside
1232- sr_left .coordinates .data [:] = np .array ([[1.5 , 5.0 ], [8.5 , 5.0 ]]) # Inside left, outside
1233- sr_middle .coordinates .data [:] = np .array ([[5.5 , 5.0 ], [1.5 , 5.0 ]]) # Inside middle, outside
1234- sr_right .coordinates .data [:] = np .array ([[9.5 , 5.0 ], [5.5 , 5.0 ]]) # Inside right, outside
1235+ # Inside left, outside
1236+ sr_left .coordinates .data [:] = np .array ([[1.5 , 5.0 ], [8.5 , 5.0 ]])
1237+ # Inside middle, outside
1238+ sr_middle .coordinates .data [:] = np .array ([[5.5 , 5.0 ], [1.5 , 5.0 ]])
1239+ # Inside right, outside
1240+ sr_right .coordinates .data [:] = np .array ([[9.5 , 5.0 ], [5.5 , 5.0 ]])
12351241
12361242 # Create operator with all 3 interpolations
12371243 rec_left = sr_left .interpolate (f_left )
@@ -1260,9 +1266,11 @@ def define(self, dimensions):
12601266 f"Rank { rank } : Suspicious large value in { sr .name } .data: { sr .data } "
12611267
12621268 @pytest .mark .parallel (mode = 4 )
1263- @pytest .mark .skip (reason = "Test has degenerate MPI decomposition causing intermittent failures. "
1264- "Use test_interpolate_subdomain_mpi_mfe or "
1265- "test_interpolate_multiple_subdomains_unique_temps instead." )
1269+ @pytest .mark .skip (reason = "Test has degenerate MPI decomposition causing "
1270+ "intermittent failures. Use "
1271+ "test_interpolate_subdomain_mpi_mfe or "
1272+ "test_interpolate_multiple_subdomains_unique_temps "
1273+ "instead." )
12661274 def test_interpolate_subdomain_mpi (self , mode ):
12671275 """
12681276 Test interpolation off of a Function defined on a SubDomain with MPI.
0 commit comments