Skip to content

Comments

Add change mass/charge command.#1048

Merged
drroe merged 10 commits intoAmber-MD:masterfrom
drroe:change.mass
Aug 23, 2023
Merged

Add change mass/charge command.#1048
drroe merged 10 commits intoAmber-MD:masterfrom
drroe:change.mass

Conversation

@drroe
Copy link
Contributor

@drroe drroe commented Aug 23, 2023

Version 6.20.4.

Add ability to change mass/charge to the change command:

change {mass|charge} [of <mask>] {to <value>|fromset <data set>}

So to e.g. change the masses of atoms to the results of an atomicfluct calculation:

parm ../AFV.parm7
trajin ../AFV.nc
align first !@H=
atomicfluct MyFluct #out AFV.myfluct.dat
run
change mass fromset MyFluct

Adds tests and update manual.

@drroe drroe added the New keywords New keywords for existing commands. label Aug 23, 2023
@drroe drroe self-assigned this Aug 23, 2023
@drroe drroe merged commit 21def2c into Amber-MD:master Aug 23, 2023
@drroe drroe deleted the change.mass branch August 23, 2023 16:45
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