Use closest normal for boundary index list with single_link
All threads resolved!
All threads resolved!
Compare changes
+ 41
− 29
@@ -35,45 +35,59 @@ def numpy_data_type_for_boundary_object(boundary_object, dim):
@@ -35,45 +35,59 @@ def numpy_data_type_for_boundary_object(boundary_object, dim):
index_arr_dtype = np.dtype([(name, np.int32) for name in coordinate_names] + [(direction_member_name, np.int32)])
index_arr_dtype = np.dtype([(name, np.int32) for name in coordinate_names] + [(direction_member_name, np.int32)])
@@ -119,10 +133,8 @@ def create_boundary_index_list(flag_field, stencil, boundary_mask, fluid_mask,
@@ -119,10 +133,8 @@ def create_boundary_index_list(flag_field, stencil, boundary_mask, fluid_mask,