TABLE OF CONTENTS


::pwtk::pwi::fixAtomsLast

SYNOPSIS

proc ::pwtk::pwi::fixAtomsLast {natoms  {fixString "0 0 0"}} {

PURPOSE

Fix the last $natoms atoms by setting if_pos(:) flags to $fixString (default = {0 0 0}).

ARGUMENTS

SOURCE

    set nat [::pwtk::pwi::getNAtoms]
    ::pwtk::pwi::fixAtomsRange $nat-$natoms+1  $nat  $fixString
}