TABLE OF CONTENTS
::pwtk::path::energy
SYNOPSIS
proc ::pwtk::path::energy {pathFile index} {
PURPOSE
Get the index-th total energy from the neb.x path file.
ARGUMENTS
- pathFile -- neb.x path file
- index -- index of image for which to return the energy
RETURN VALUE
The total energy of the index-th image. If image is out of range, an empty string is returned.
SOURCE
set index [::pwtk::nebi::image_in_range_ $index [::pwtk::path::nImages $pathFile] ] return [dict get [::pwtk::path::energies $pathFile] E($index)] }