TABLE OF CONTENTS


::pwtk::pwo::nbnd

SYNOPSIS

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

PURPOSE

Get the "nbnd" value (number of Kohn-Sham states) from the pw.x output file.

ARGUMENTS

See ::pwtk::pwo::ibrav

SOURCE

    return [::pwtk::grep_field {number of Kohn-Sham states=} $pwo end $index]
}