treverhines / RBF

Python package containing the tools necessary for radial basis function (RBF) applications
MIT License
215 stars 50 forks source link

On the possibility of extracting a mesh from min_energy_nodes #21

Open RomanLF opened 2 years ago

RomanLF commented 2 years ago

Hello,

I recently asked myself, for plot utilites and node refinement in a 3D domain if it was possible to extract a unstructured triangular mesh from the nodes and normals returned by the function min_energy_nodes. As we extract the normals I guess triangulation is involved in the process. Is there a way to recover a whole mesh by applying min_energy_nodes ?

Best regards,

Roman

treverhines commented 2 years ago

The only mesh used by min_energy_nodes is the user-specified collection of facets to define the domain boundary. That is where the surface normal vectors come from. If you want a mesh for the entire domain, perhaps you could use a constrained Delaunay triangulation from some other meshing/computational geometry package.

RomanLF commented 2 years ago

Hello,

Thank you for your answer.

Roman