NanoComp / libctl

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

Normal to prism update #19

Closed HomerReid closed 6 years ago

HomerReid commented 6 years ago

Revised normal_to_object implementation for prisms to account for in-plane distance from point to prism face when determining closest face.

One consequence is that the result of normal_to_object for prisms now differs in some cases from the result for blocks, since the latter does not account for in-plane distances. Consequently, I have disabled the portion of the unit test (utils/test-prism.c) that looks at normals to objects.