/usr/share/xcrysden/Awk/pwo_coortype.awk is in xcrysden-data 1.5.60-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | # check which type of coorinates exists in a pw.x output file
BEGIN {
initial = 0;
dynamics = 0;
intermediate = 0;
optimized = 0;
}
/Cartesian axes/ || /Carthesian axes/ { initial = 1; }
/ Entering Dynamics/ { dynamics = 1; }
/ATOMIC_POSITIONS/ || /Search of equilibrium positions/ || /Entering Dynamics/ { intermediate = 1; }
/Begin final coordinates/ || /Final estimate of positions/ || / Final energy/ { optimized = 1; }
END {
if (initial) { printf "%s ", "initial"; }
if (dynamics) { printf "%s ", "dynamics"; }
if (intermediate) { printf "%s ", "intermediate"; }
if (optimized) { printf "%s ", "optimized"; }
}
|