dump
Type |
Status |
---|---|
CML extraction template |
|
HTML5 representation |
Attribute |
Value |
---|---|
source |
LAMMPS log |
id |
dump |
pattern |
\s*dump\s.* |
endPattern |
.* |
endPattern2 |
~ |
xml:base |
job/dump.xml |
Input
dump Dump all custom 128 lammps_1.dat id type x y z fx fy fz vx vy vz
Output text
1<comment class="example.output" id="dump">
2 <module cmlx:templateRef="dump">
3 <parameter>
4 <scalar dataType="xsd:string" dictRef="x:label">dump</scalar>
5 <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>
6 </parameter>
7 </module>
8 </comment>
Template definition
1<record id="parameter">{A,x:label}{X,x:value}</record>
2<transform process="addChild" xpath="." elementName="cml:parameter" />
3<transform process="move" xpath=".//cml:scalar" to=".//cml:parameter" />