Skip to content

Commit 90b98a4

Browse files
author
Miguel de la Varga
committed
[MINOR]
1 parent eeb6956 commit 90b98a4

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

gempy_engine/API/dual_contouring/multi_scalar_dual_contouring.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def dual_contouring_multi_scalar(
135135

136136
# endregion
137137
# Check for repeated voxels across stacks
138-
if options.debug or len(all_left_right_codes) > 1:
138+
if (options.debug or len(all_left_right_codes) > 1) and False:
139139
voxel_overlaps = find_repeated_voxels_across_stacks(foo)
140140
if voxel_overlaps and options.debug:
141141
print(f"Found voxel overlaps between stacks: {voxel_overlaps}")

tests/test_common/test_modules/test_dual_II.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,15 @@ def test_dual_contouring_on_fault_model(one_fault_model, n_oct_levels=4):
2222
options.evaluation_options.mesh_extraction_fancy = True
2323

2424
options.evaluation_options.number_octree_levels = n_oct_levels
25+
options.evaluation_options.number_octree_levels_surface = n_oct_levels
2526

2627
solutions: Solutions = compute_model(interpolation_input, options, structure)
2728

2829
outputs: list[OctreeLevel] = solutions.octrees_output
2930

3031
if plot_pyvista or True:
3132
helper_functions_pyvista.plot_pyvista(
32-
solutions.octrees_output,
33+
# octree_list=solutions.octrees_output,
34+
octree_list=None,
3335
dc_meshes=solutions.dc_meshes
3436
)

0 commit comments

Comments
 (0)