energy3

Implementation level

Type

Status

CML extraction template

image1

HTML5 representation

image2

Template attributes

Attribute

Value

source

VASP outcar

id

energy3

name

Energy section 3

pattern

\s*E-fermi\s:.*

endPattern

.*

repeat

*

xml:base

energy3.xml

Input

E-fermi :  -0.1238     XC(G=0):  -6.5267     alpha+bet : -6.4535

Output text

1<comment class="example.output" id="energy2">
2        <module cmlx:templateRef="energy3" id="energy3">
3            <scalar dataType="xsd:double" dictRef="v:efermi" units="nonsi:electronvolt">-0.1238</scalar>
4        </module>
5    </comment>

Template definition

1<record>\s*E\-fermi\s:{F,v:efermi}.*</record>
2<transform process="pullup" xpath=".//cml:scalar" />
3<transform process="delete" xpath=".//cml:list" />
4<transform process="addUnits" xpath=".//cml:scalar[@dictRef='v:efermi']" value="nonsi:electronvolt" />