LaGriT
LaGriT copied to clipboard
[Tinerator] setting max_edge_length does not work
I have been trying the option of max_edge_length
in the build_refined_triplane
function in dem_class.py
to generate coarser mesh away from the refined feature, but it did not change the meshing results.
Here is the code snippet:
min_edge_length = 1
max_edge_length = 20
# Variably-refined mesh
my_dem.build_refined_triplane(min_edge_length, max_edge_length, slope = 0.5, refine_dist = 0.5, interactive=False)
I tried changing max_edge_length
from 8 to 20 and slope
from 0.5 to 5, but none of those generated significantly different meshes (by eyeballing).
I also tried changing refine_dist
option and it only affected the extent of the refine mesh, not the size of the coarse mesh.