@@ -187,7 +187,7 @@ def get_mesh(self, return_tag_to_elements_map=False):
187187 group_base_elem_nr = 0
188188
189189 tag_to_meshwide_elements = {}
190- tag_to_faces = []
190+ tag_to_group_faces = []
191191
192192 for group_el_type , ngroup_elements in el_type_hist .items ():
193193 if group_el_type .dimensions != mesh_bulk_dim :
@@ -267,7 +267,7 @@ def get_mesh(self, return_tag_to_elements_map=False):
267267
268268 group_base_elem_nr += group .nelements
269269
270- group_tag_to_faces = {}
270+ tag_to_faces = {}
271271
272272 for tag , tagged_fvis in tag_to_fvis .items ():
273273 for fid , ref_fvi in enumerate (group .face_vertex_indices ()):
@@ -285,19 +285,19 @@ def get_mesh(self, return_tag_to_elements_map=False):
285285 np .sort (padded_fvis , axis = 1 ).T )
286286 face_element_indices = face_element_index_pairs [1 , :]
287287 if len (face_element_indices ) > 0 :
288- elements_and_faces = np .stack (
288+ group_faces = np .stack (
289289 (
290290 face_element_indices ,
291291 np .full (face_element_indices .shape , fid )),
292292 axis = - 1 )
293- if tag in group_tag_to_faces :
294- group_tag_to_faces [tag ] = np .concatenate ((
295- group_tag_to_faces [tag ],
296- elements_and_faces ))
293+ if tag in tag_to_faces :
294+ tag_to_faces [tag ] = np .concatenate ((
295+ tag_to_faces [tag ],
296+ group_faces ))
297297 else :
298- group_tag_to_faces [tag ] = elements_and_faces
298+ tag_to_faces [tag ] = group_faces
299299
300- tag_to_faces .append (group_tag_to_faces )
300+ tag_to_group_faces .append (tag_to_faces )
301301
302302 for tag in tag_to_meshwide_elements .keys ():
303303 tag_to_meshwide_elements [tag ] = np .array (
@@ -314,7 +314,7 @@ def get_mesh(self, return_tag_to_elements_map=False):
314314 if is_conforming and self .tags :
315315 from meshmode .mesh import _compute_facial_adjacency_from_vertices
316316 facial_adjacency_groups = _compute_facial_adjacency_from_vertices (
317- groups , np .int32 , np .int8 , tag_to_faces )
317+ groups , np .int32 , np .int8 , tag_to_group_faces )
318318
319319 mesh = Mesh (
320320 vertices , groups ,
0 commit comments