l103.trust

Implementation level

Type

Status

CML extraction template

image1

HTML5 representation

image2

Template attributes

Attribute

Value

source

Gaussian log

id

l103.trust

pattern

\s*Trust.*\s*

endPattern

.*Number.*\s*

endOffset

1

xml:base

l103/l103.trust.xml

Input

Trust Radius=3.00D-01 FncErr=1.00D-07 GrdErr=1.00D-06
Number of steps in this run=  20 maximum allowed number of steps= 100.

Output text

1<comment class="example.output" id="l103.trust">
2    <module cmlx:templateRef="l103.trust">
3      <scalar dataType="xsd:double" dictRef="g:trustrad">0.3</scalar>
4      <scalar dataType="xsd:double" dictRef="g:fncerr">1.0E-7</scalar>
5      <scalar dataType="xsd:double" dictRef="g:grderr">1.0E-6</scalar>
6      <scalar dataType="xsd:integer" dictRef="g:nstep">20</scalar>
7      <scalar dataType="xsd:integer" dictRef="g:allowedstep">100</scalar>
8    </module>
9  </comment>

Template definition

1<record repeat="*" id="length">\s*Trust Radius={E,g:trustrad} FncErr={E,g:fncerr} GrdErr={E,g:grderr}</record>
2<record repeat="*" id="angle">\s*Number of steps in this run={I,g:nstep} maximum allowed number of steps= {I,g:allowedstep}\.\s*</record>
3<transform process="pullup" xpath=".//cml:scalar" repeat="2" />
4<transform process="delete" xpath=".//cml:list[count(*)=0]" />
5<transform process="delete" xpath=".//cml:list[count(*)=0]" />