Refactor packaging, part I
Compare changes
- Frederik Hennig authored
+ 106
− 50
@@ -2,26 +2,22 @@ import warnings
@@ -2,26 +2,22 @@ import warnings
create_boundary_neighbor_index_list_3d, create_boundary_cell_index_list_2d, create_boundary_cell_index_list_3d
@@ -30,40 +26,59 @@ default_index_array_dtype = np.int32
@@ -30,40 +26,59 @@ default_index_array_dtype = np.int32
# boundary cells are extracted via np.where. To ensure continous memory access in the compute kernel these cells
# prevent out ouf bounds access. If boundary cell is at the border, some stencil directions would be out.
@@ -83,9 +98,14 @@ def _create_index_list_python(flag_field_arr, boundary_mask,
@@ -83,9 +98,14 @@ def _create_index_list_python(flag_field_arr, boundary_mask,
# prevent out ouf bounds access. If boundary cell is at the border, some stencil directions would be out.
@@ -101,8 +121,15 @@ def _create_index_list_python(flag_field_arr, boundary_mask,
@@ -101,8 +121,15 @@ def _create_index_list_python(flag_field_arr, boundary_mask,
@@ -119,11 +146,20 @@ def create_boundary_index_list(flag_field, stencil, boundary_mask, fluid_mask,
@@ -119,11 +146,20 @@ def create_boundary_index_list(flag_field, stencil, boundary_mask, fluid_mask,
@@ -142,22 +178,42 @@ def create_boundary_index_list(flag_field, stencil, boundary_mask, fluid_mask,
@@ -142,22 +178,42 @@ def create_boundary_index_list(flag_field, stencil, boundary_mask, fluid_mask,