l103.trust

Implementation level
Type Status
CML extraction template image0
HTML5 representation image1
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.

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

Template definition.

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