Skip to content

ground.state ​

Implementation level ​

TypeStatus
CML extraction template
HTML5 representation

Template attributes ​

AttributeValue
sourceTurbomole log
idground.state
nameGround state
pattern\s*Ground\sstate.*
endPattern\sTotal\senergy.*
endOffset1
xml:baseground.state.xml

Input ​

                                Ground state


 Total energy:                           -2746.335418094000 

Output text ​

xml
<comment class="example.output" id="ground.state">
        <module cmlx:lineCount="4" cmlx:templateRef="ground.state">
            <scalar dataType="xsd:double" dictRef="t:groundenergy">-2746.335418094</scalar>
        </module> 
    </comment>

Template definition ​

xml
<record repeat="3" />
<record id="energy">\s*Total\senergy:&#123;F,t:groundenergy&#125;</record>
<transform process="pullup" repeat="1" xpath=".//cml:scalar" />
<transform process="delete" xpath=".//cml:list" />