l103.itemconverge ​
Implementation level ​
Type | Status |
---|---|
CML extraction template | |
HTML5 representation |
Template attributes ​
Attribute | Value |
---|---|
source | Gaussian log |
id | l103.itemconverge |
repeat | * |
pattern | \s*Item\s+Value.* |
endOffset | 1 |
endPattern | \s*RMS\s+Displacement.* |
xml:base | l103/l103.itemconverge.xml |
Input ​
Item Value Threshold Converged?
Maximum Force 0.012566 0.000450 NO
RMS Force 0.007948 0.000300 NO
Maximum Displacement 0.038691 0.001800 NO
RMS Displacement 0.024470 0.001200 NO
Output text ​
xml
<comment class="example.output" id="l103.itemconverge">
<module cmlx:templateRef="l103.itemconverge">
<list cmlx:lineCount="4" cmlx:templateRef="row">
<array dataType="xsd:string" dictRef="g:item" />
<array dataType="xsd:double" dictRef="g:value" size="4">4.5E-4 3.0E-4 0.0018 0.0012</array>
<array dataType="xsd:double" dictRef="g:threshold" size="4">0.0 0.0 0.0 0.0</array>
<array dataType="xsd:string" dictRef="g:converged" size="4">NO NO NO NO</array>
</list>
</module>
</comment>
Template definition ​
xml
<record />
<record id="row" repeat="*" makeArray="true">\s*{X,g:item}\s+{F,g:value}{F,g:threshold}{A,g:converged}\s*</record>
<transform process="delete" xpath=".//cml:list[count(*)=0]" />
<transform process="delete" xpath=".//cml:list[count(*)=0]" />