File tree Expand file tree Collapse file tree 4 files changed +3
-10
lines changed
tutorials/z_other_tutorials Expand file tree Collapse file tree 4 files changed +3
-10
lines changed Original file line number Diff line number Diff line change 140
140
# The octree refinement is making the octree grid almost dense, and smaller chunks are needed to avoid running out of memory.
141
141
# Adjusting parameters accordingly:
142
142
143
- geo_model .interpolation_options .evaluation_options .error_threshold = 0.5
143
+ geo_model .interpolation_options .evaluation_options .octree_error_threshold = 0.5
144
144
geo_model .interpolation_options .evaluation_options .evaluation_chunk_size = 50_000
145
145
146
146
# %%
Original file line number Diff line number Diff line change 148
148
# %%
149
149
geo_model .interpolation_options .kernel_options .range *= 0.2
150
150
geo_model .interpolation_options .evaluation_options .verbose = True
151
- geo_model .interpolation_options .evaluation_options .error_threshold = 1.5
151
+ geo_model .interpolation_options .evaluation_options .octree_error_threshold = 1.5
152
152
geo_model .interpolation_options .evaluation_options .number_octree_levels_surface = 5
153
153
154
154
# %%
Original file line number Diff line number Diff line change 62
62
63
63
interpolation_options : gp .data .InterpolationOptions = geo_model .interpolation_options
64
64
65
- interpolation_options .kernel_options .range = 1.7
66
- interpolation_options .evaluation_options .number_octree_levels_surface = 4
67
- interpolation_options .evaluation_options .compute_scalar_gradient = False
68
- interpolation_options .evaluation_options .curvature_threshold = 1
69
- interpolation_options .evaluation_options .min_octree_level = 1
70
-
71
- interpolation_options .evaluation_options .verbose = True
72
65
73
66
# %%
74
67
# Compute the geological model
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ def create_geomodel(
58
58
)
59
59
60
60
interpolation_options : InterpolationOptions = InterpolationOptions (
61
- range = 5 ,
61
+ range = 1.7 ,
62
62
c_o = 10 ,
63
63
mesh_extraction = True ,
64
64
number_octree_levels = refinement ,
You can’t perform that action at this time.
0 commit comments