mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-03 21:44:30 +08:00
Add custom distance bounds parameter for ETKDG conformer generation (#4516)
* add custom parameter to tune the relative weights of distance bounds to all the other force terms during ETKDG conformer generation * fixes as per reviewer comments
This commit is contained in:
@@ -348,7 +348,7 @@ ForceFields::ForceField *construct3DForceField(
|
||||
}
|
||||
|
||||
// minimum distance for all other atom pairs
|
||||
fdist = 10.0;
|
||||
fdist = etkdgDetails.boundsMatForceScaling * 10.0;
|
||||
for (unsigned int i = 1; i < N; ++i) {
|
||||
for (unsigned int j = 0; j < i; ++j) {
|
||||
if (!atomPairs[j * N + i]) {
|
||||
|
||||
Reference in New Issue
Block a user