NanoComp / libctl

Guile-based library implementing flexible control files for scientific simulations
GNU General Public License v2.0
18 stars 23 forks source link

support general polyhedra from triangular meshes #67

Open stevengj opened 8 months ago

stevengj commented 8 months ago

It would be nice to support importing a general triangular mesh for an object, e.g. from gmsh or an STL file, in order to define an arbitrary tetrahedral surface.

There are some functions in SCUFF for this kind of thing that we could borrow, e.g. https://github.com/HomerReid/scuff-em/blob/9c6d0cb7695463af803dee8d04cdae939740cdcc/libs/libscuff/PointInObject.cc