Skip to content

dump ​

Implementation level ​

TypeStatus
CML extraction template
HTML5 representation

Template attributes ​

AttributeValue
sourceLAMMPS log
iddump
pattern\s*dump\s.*
endPattern.*
endPattern2~
xml:basejob/dump.xml

Input ​

        dump Dump all custom 128 lammps_1.dat id type x y z fx fy fz vx vy vz        

Output text ​

xml
<comment class="example.output" id="dump">
        <module cmlx:templateRef="dump">
            <parameter>
                <scalar dataType="xsd:string" dictRef="x:label">dump</scalar>
                <scalar dataType="xsd:string" dictRef="x:value">Dump all custom 128 lammps_1.dat id type x y z fx fy fz vx vy vz</scalar>
            </parameter>
        </module>
    </comment>

Template definition ​

xml
<record id="parameter">&#123;A,x:label&#125;&#123;X,x:value&#125;</record>
<transform process="addChild" xpath="." elementName="cml:parameter" />
<transform process="move" xpath=".//cml:scalar" to=".//cml:parameter" />