TABLE OF CONTENTS


::pwtk::relax_fromPWO

SYNOPSIS

proc ::pwtk::relax_fromPWO {engine args} {

PURPOSE

Load the structure from the PWO (pw.x output) file and make a pw.x or cp.x 'relax' calculation, depending on the 'engine' specs, i.e.:

USAGE

   relax_fromPWO engine [options] pwoFile

 more specifically:

   relax_fromPWO engine ?-fix_first n?  ?-fix_last n?  ?-fix fixIndexList?  ?-fix_string fixString? \
                        ?-head headName?  ?-cell? pwoFile

OPTIONS

For the description of options, see ::pwtk::run_fromPWO

SIDE EFFECTS

"calculation", "prefix", "outdir_postfix", and "nat" are set to appropriate values.

RETURN VALUE

The name of the output file, i.e. relax.$head.out

SOURCE

    ::pwtk::print "Setting calculation = 'relax'\n"
    CONTROL " calculation = 'relax' "
    IONS ""
    return [eval run_fromPWO $engine $args]
}