TABLE OF CONTENTS


::pwtk::pwi::deleteAtomsRange

SYNOPSIS

proc ::pwtk::pwi::deleteAtomsRange {from to} {

PURPOSE

Delete atoms from ATOMIC_POSITIONS card starting from atom $from to atom $to.

ARGUMENTS

SOURCE

    set nat  [::pwtk::pwi::getNAtoms]
    set from [::pwtk::parseIndex1 $from $nat]
    set to   [::pwtk::parseIndex1 $to   $nat]

    ::pwtk::pwi::deleteAtoms $from-$to
}