You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, it's not possible to pass most of the parameters from an external function. Is it possible to add 'refine_intersected', "use_mass_center_when_refining", "refinement_type","connect_hanging_nodes" and "account_for_samples_outside_face" as arguments to two functions:
Mesh2d.refine() and Network.mesh2d_refine_mesh()? This enables setting the parameters from hydrolib. Especially "use_mass_center_when_refining" gives much better results.
The text was updated successfully, but these errors were encountered:
In net/models.py a function is defined to pass refinement parameter to Meshkernel:
def refine(self, polygon: mk.GeometryList, level: int, min_edge_size: float = 10.0):
"""Refine the mesh within a polygon, by a number of steps (level)
However, it's not possible to pass most of the parameters from an external function. Is it possible to add 'refine_intersected', "use_mass_center_when_refining", "refinement_type","connect_hanging_nodes" and "account_for_samples_outside_face" as arguments to two functions:
Mesh2d.refine() and Network.mesh2d_refine_mesh()? This enables setting the parameters from hydrolib. Especially "use_mass_center_when_refining" gives much better results.
The text was updated successfully, but these errors were encountered: