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
- from,to -- specify the [from,to] range of atoms to delete
SOURCE
set nat [::pwtk::pwi::getNAtoms] set from [::pwtk::parseIndex1 $from $nat] set to [::pwtk::parseIndex1 $to $nat] ::pwtk::pwi::deleteAtoms $from-$to }