scfconverged ​
Implementation level ​
| Type | Status |
|---|---|
| CML extraction template | |
| HTML5 representation |
Template attributes ​
| Attribute | Value |
|---|---|
| source | CP2K log |
| id | scfconverged |
| name | SCF convergence status |
| pattern | \s+\*\*\*\s+SCF run converged.* |
| endPattern | .* |
| repeat | * |
| keep | last |
| xml:base | scf/scfconverged.xml |
Input
*** SCF run converged in 18 steps ***
Output text
xml
<comment class="example.output" id="scfconverged">
<module cmlx:templateRef="scfconverged">
<list cmlx:templateRef="steps">
<scalar dataType="xsd:integer" dictRef="cp2k:scfConvergedSteps">18</scalar>
</list>
</module>
</comment>Template definition
xml
<record id="steps">\s+\*\*\*\s+SCF run converged in\s+{I,cp2k:scfConvergedSteps}\s+steps \*\*\*\s*</record>
<transform process="delete" xpath=".//cml:list[count(*)=0]" repeat="2" />