Skip to content

Conversation

drroe
Copy link
Contributor

@drroe drroe commented Jun 8, 2023

Version 6.19.3. Adds new commands and keywords related to the calculation of diffusion constants.

  1. Add the calcdiffusion Analysis command.
  2. Add the tordiff Action command.
  3. Add the scheme keyword to the unwrap Action command.

The calcdiffusion analysis command will calculate diffusion from multiple time origins.

	[crdset <coords set>] [maxlag <maxlag>] [<mask>] [time <dt>]
	[<name>] [out <file>] [diffout <file>]

This command does not perform imaging, so coordinate need to be unwrapped prior. This is the first Analysis command to be MPI parallelized (and is also OpenMP parallelized).

The tordiff action command calculate diffusion using the toroidal-view-preserving scheme (https://arxiv.org/abs/2303.09418), which is an alternate way of unwrapping NPT trajectories. It only works for orthogonal cells currently.

[<set name>] [<mask>] [mass] [out <file>] [diffout <file>] [time <dt>]

The scheme keyword for the unwrap Action ([scheme {frac|tor}]) will optionally use the toroidal-view-preserving scheme for unwrapping instead of the default of fractional coordinates. This currently only works by molecule and for orthogonal unit cells.

Updates the manual and also adds tests.

@drroe drroe added new action New Command New command for cpptraj New keywords New keywords for existing commands. labels Jun 8, 2023
@drroe drroe self-assigned this Jun 8, 2023
@drroe
Copy link
Contributor Author

drroe commented Jun 8, 2023

Jenkins failure is yet another python error I cannot reproduce locally. I am not a fan of python.

@drroe drroe merged commit 22fcc56 into Amber-MD:master Jun 8, 2023
@drroe drroe deleted the toroidal.diffusion branch June 8, 2023 18:07
@drroe
Copy link
Contributor Author

drroe commented Jun 8, 2023

@swails @hainm if you get a chance can you see if you can reproduce this pytraj error: https://jenkins.jasonswails.com/blue/organizations/jenkins/amber-github%2Fpytraj/detail/pytraj/599/pipeline

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new action New Command New command for cpptraj New keywords New keywords for existing commands.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant