TABLE OF CONTENTS


::pwtk::pwo::nelec

SYNOPSIS

proc ::pwtk::pwo::nelec {pwo {index end}} {

PURPOSE

Get the "nelec" value (number of electrons) from the pw.x output file.

ARGUMENTS

See ::pwtk::pwo::ibrav

SOURCE

    return [::pwtk::grep_field {number of electrons       =} $pwo 4 $index]
}