nebstep ​
Implementation level ​
| Type | Status |
|---|---|
| CML extraction template | |
| HTML5 representation |
Template attributes ​
| Attribute | Value |
|---|---|
| source | CP2K log |
| id | nebstep |
| name | NEB band iteration |
| pattern | \s+BAND TYPE\s+=.* |
| endPattern | \s+BAND TOTAL ENERGY.* |
| endOffset | 1 |
| repeat | * |
| xml:base | optimization/nebstep.xml |
Input
BAND TYPE = CI-NEB
BAND TYPE OPTIMIZATION = SD
STEP NUMBER = 0
RMSD DISTANCE DEFINITION = T
NUMBER OF NEB REPLICA = 7
DISTANCES REP = 0.818217 0.818217 0.818217 0.818217
1.604413 1.604413
ENERGIES [au] = -16.182582 -16.049471 -15.897468 -16.057358
-16.105375 -15.884875 -16.153213
BAND TOTAL ENERGY [au] = -112.29867645947203
*******************************************************************************
Output text
xml
<comment class="example.output" id="nebstep">
<module cmlx:templateRef="nebstep">
<list cmlx:templateRef="bandType">
<scalar dataType="xsd:string" dictRef="cp2k:bandType">CI-NEB</scalar>
</list>
<list cmlx:templateRef="replicas">
<scalar dataType="xsd:integer" dictRef="cp2k:nreplicas">7</scalar>
</list>
<list cmlx:templateRef="step">
<scalar dataType="xsd:integer" dictRef="cp2k:stepNumber">0</scalar>
</list>
<list cmlx:templateRef="energy">
<scalar dataType="xsd:double" dictRef="cp2k:bandTotalEnergy">-112.29867645947203</scalar>
</list>
</module>
</comment>Template definition
xml
<record id="bandType">\s+BAND TYPE\s+=\s+{A,cp2k:bandType}\s*</record>
<record id="replicas">\s+NUMBER OF NEB REPLICA\s+=\s+{I,cp2k:nreplicas}\s*</record>
<record id="step">\s+STEP NUMBER\s+=\s+{I,cp2k:stepNumber}\s*</record>
<record id="energy">\s+BAND TOTAL ENERGY \[au\]\s+=\s+{E,cp2k:bandTotalEnergy}\s*</record>
<transform process="delete" xpath=".//cml:list[count(*)=0]" repeat="2" />