Skip to content

Conversation

@aleaverfay
Copy link
Collaborator

If you want to idealize a structure, one of the necessary components is to be able to constrain to particular coordinates. Coordinate constraint support is added here by mimicking the calculations for harmonic distance restraints except that the target distance between the actual and the target coordinates, x0, is fixed at 0.

Adding a unit test to show how to add coordinate constraints from a reference PDB of identical chemical composition for heavy atoms and a PDB of a beta2016-minimized copy of 1ubq whose coordinates have moved from the starting coordinates. I've tested but not committed a version of kinematic minimization using coordinate constraints and it successfully pulls this kin-minimized ubq back toward the starting coordinates (though not all the way).

We should probably allow a spring-constant parameter, k, for both coordinate constraints and distance restraints.

If the user doesn't install the cuda package using conda/mamba, then the nvtx3/
include directory isn't going to be accessible to the CPU "c++" compiler,
and thus will produce compilation errors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants