Skip to content

Instantly share code, notes, and snippets.

@leelasd
Created November 13, 2018 18:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leelasd/2a0d86430a4a766d7c263f1c2dc2b493 to your computer and use it in GitHub Desktop.
Save leelasd/2a0d86430a4a766d7c263f1c2dc2b493 to your computer and use it in GitHub Desktop.
mol new "../../ionized.psf"
mol addfile "../1KLM_metad.dcd" waitfor all
cv molid 0
#cv configfile "MetaDynamics_wRMSD.in"
cv configfile "TTT.in"
set numFrames [ molinfo 0 get numframes ]
for { set frame 0 } { $frame < $numFrames } { incr frame } {
animate goto $frame
cv frame $frame
cv colvar "CNUM" update
set colvarValue [ cv colvar "CNUM" value ]
# cv colvar "COMDistance" update
# set colvarValue [ cv colvar "COMDistance" value ]
puts "Frame: $frame; Colvar: $colvarValue"
}
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment