Data struct representing a chiral constraint. More...
#include <DistanceGeometry.h>
Public Types | |
using | AtomListType = std::vector< AtomIndex > |
using | SiteSequence = std::array< AtomListType, 4 > |
Public Member Functions | |
ChiralConstraint (SiteSequence passSites, double passLower, double passUpper) | |
bool | targetVolumeIsZero () const |
Data Fields | |
SiteSequence | sites |
Site definition sequence (odd permutations invert sign) | |
double | lower |
Lower bound on signed volume. | |
double | upper |
Upper bound on signed volume. | |
double | weight = 1.0 |
Weight of the chiral constraint. More... | |
Data struct representing a chiral constraint.
Contains four atom sets and lower and upper bounds on the signed volume spanned by their average spatial positions.
double Scine::Molassembler::DistanceGeometry::ChiralConstraint::weight = 1.0 |
Weight of the chiral constraint.
This allows tuning of the relative importance of chiral constraints.