l601.polariz

Implementation level
Type Status
CML extraction template image0
HTML5 representation image1
Template attributes
Attribute Value
source Gaussian log
id l601.polariz
name Polarizability
repeat *
pattern \s*Exact polarizability:.*
endPattern \s*Approx polarizability:.*
endOffset 1
xml:base l601/l601.polariz.xml

Input.

 Exact polarizability: 100.405   0.023  87.595  -0.336   0.000  50.847
Approx polarizability: 149.863   0.049 143.908  -0.405  -0.001  75.357

Output text.

<comment class="example.output" id="l601.pol">
    <module cmlx:templateRef="l601.polariz">
      <array dataType="xsd:double" size="6" dictRef="g:l601.pol.exact">100.405 0.023 87.595 -0.336 0.0 50.847</array>
      <array dataType="xsd:double" size="6" dictRef="g:l601.pol.approx">149.863 0.049 143.908 -0.405 -0.001 75.357</array>
    </module>
  </comment>

Template definition.

<record id="l601.pol">\s*Exact polarizability:{F,g:l601.pol.exact}{F,g:l601.pol}{F,g:l601.pol}{F,g:l601.pol}{F,g:l601.pol}{F,g:l601.pol}</record>
<record id="l601.pol">\s*Approx polarizability:{F,g:l601.pol.approx}{F,g:l601.pol}{F,g:l601.pol}{F,g:l601.pol}{F,g:l601.pol}{F,g:l601.pol}</record>
<transform process="createArray" xpath=".//cml:list[cml:scalar[@dictRef='g:l601.pol.exact']]" from="./cml:scalar" dictRef="g:l601.pol.exact" />
<transform process="createArray" xpath=".//cml:list[cml:scalar[@dictRef='g:l601.pol.approx']]" from="./cml:scalar" dictRef="g:l601.pol.approx" />
<transform process="pullup" xpath=".//cml:array" repeat="2" />
<transform process="delete" xpath=".//cml:list" />