Skip to content

Add 'mass' keyword to the 'rdf' command#1149

Merged
drroe merged 4 commits intoAmber-MD:masterfrom
drroe:rdf.com
Sep 12, 2025
Merged

Add 'mass' keyword to the 'rdf' command#1149
drroe merged 4 commits intoAmber-MD:masterfrom
drroe:rdf.com

Conversation

@drroe
Copy link
Contributor

@drroe drroe commented Sep 12, 2025

Version 6.29.17. Addresses #1148.

Previously the manual/help entries for the rdf command stated that the byresX/bymolX keywords used center of mass, when in fact they used geometric center. This PR adds the mass keyword to the rdf command to allow calculation via either center of mass or geometric center (the latter is still the default to maintain backwards compatibility).

Updates the manual.

Daniel R. Roe added 4 commits September 12, 2025 09:12
…s for centerX/byresX/bymolX. Clarify in help that when 'mass' is not specified the geometric center for those keywords is used instead (which has been the default behavior).
@drroe drroe self-assigned this Sep 12, 2025
@drroe drroe added the New keywords New keywords for existing commands. label Sep 12, 2025
@drroe drroe merged commit d7e1ec5 into Amber-MD:master Sep 12, 2025
13 checks passed
@drroe drroe deleted the rdf.com branch September 12, 2025 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

New keywords New keywords for existing commands.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments