dump ​
Implementation level ​
| Type | Status |
|---|---|
| CML extraction template | |
| HTML5 representation |
Template attributes ​
| 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 ​
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">{A,x:label}{X,x:value}</record>
<transform process="addChild" xpath="." elementName="cml:parameter" />
<transform process="move" xpath=".//cml:scalar" to=".//cml:parameter" />