Skip to content

Instantly share code, notes, and snippets.

@pjanik
Created October 12, 2012 12:38
Show Gist options
  • Save pjanik/3879017 to your computer and use it in GitHub Desktop.
Save pjanik/3879017 to your computer and use it in GitHub Desktop.
simple-ke-model$0.mml
<?xml version="1.0" encoding="UTF-8"?>
<java version="1.7.0_07" class="java.beans.XMLDecoder">
<object class="org.concord.mw2d.models.Element" id="Element0">
<void property="mass">
<double>0.16666666666666666</double>
</void>
<void property="sigma">
<double>7.0</double>
</void>
</object>
<object class="org.concord.mw2d.models.Element" id="Element1">
<void property="ID">
<int>1</int>
</void>
<void property="mass">
<double>0.3333333333333333</double>
</void>
<void property="sigma">
<double>14.0</double>
</void>
</object>
<object class="org.concord.mw2d.models.Element" id="Element2">
<void property="ID">
<int>2</int>
</void>
<void property="mass">
<double>0.5</double>
</void>
<void property="sigma">
<double>21.0</double>
</void>
</object>
<object class="org.concord.mw2d.models.Element" id="Element3">
<void property="ID">
<int>3</int>
</void>
<void property="mass">
<double>0.6666666666666666</double>
</void>
<void property="sigma">
<double>28.0</double>
</void>
</object>
<object class="org.concord.mw2d.models.Affinity">
<void property="epsilon">
<void method="put">
<object class="org.concord.mw2d.models.Pair" id="Pair0">
<void property="element1">
<object idref="Element2"/>
</void>
<void property="element2">
<object idref="Element3"/>
</void>
</object>
<double>0.1</double>
</void>
<void method="put">
<object class="org.concord.mw2d.models.Pair" id="Pair1">
<void property="element1">
<object idref="Element0"/>
</void>
<void property="element2">
<object idref="Element1"/>
</void>
</object>
<double>0.1</double>
</void>
<void method="put">
<object class="org.concord.mw2d.models.Pair" id="Pair2">
<void property="element1">
<object idref="Element1"/>
</void>
<void property="element2">
<object idref="Element3"/>
</void>
</object>
<double>0.1</double>
</void>
<void method="put">
<object class="org.concord.mw2d.models.Pair" id="Pair3">
<void property="element1">
<object idref="Element0"/>
</void>
<void property="element2">
<object idref="Element2"/>
</void>
</object>
<double>0.1</double>
</void>
<void method="put">
<object class="org.concord.mw2d.models.Pair" id="Pair4">
<void property="element1">
<object idref="Element1"/>
</void>
<void property="element2">
<object idref="Element2"/>
</void>
</object>
<double>0.1</double>
</void>
<void method="put">
<object class="org.concord.mw2d.models.Pair" id="Pair5">
<void property="element1">
<object idref="Element0"/>
</void>
<void property="element2">
<object idref="Element3"/>
</void>
</object>
<double>0.1</double>
</void>
<void method="put">
<object class="org.concord.mw2d.models.Pair" id="Pair6">
<void property="element1">
<object idref="Element0"/>
</void>
<void property="element2">
<object class="org.concord.mw2d.models.Element" id="Element4">
<void property="ID">
<int>4</int>
</void>
<void property="mass">
<double>5.0</double>
</void>
</object>
</void>
</object>
<double>0.1</double>
</void>
<void method="put">
<object class="org.concord.mw2d.models.Pair" id="Pair7">
<void property="element1">
<object idref="Element1"/>
</void>
<void property="element2">
<object idref="Element4"/>
</void>
</object>
<double>0.1</double>
</void>
<void method="put">
<object class="org.concord.mw2d.models.Pair" id="Pair8">
<void property="element1">
<object idref="Element2"/>
</void>
<void property="element2">
<object idref="Element4"/>
</void>
</object>
<double>0.1</double>
</void>
<void method="put">
<object class="org.concord.mw2d.models.Pair" id="Pair9">
<void property="element1">
<object idref="Element3"/>
</void>
<void property="element2">
<object idref="Element4"/>
</void>
</object>
<double>0.1</double>
</void>
</void>
<void property="lbMixing">
<void method="put">
<object idref="Pair0"/>
<boolean>true</boolean>
</void>
<void method="put">
<object idref="Pair1"/>
<boolean>true</boolean>
</void>
<void method="put">
<object idref="Pair2"/>
<boolean>true</boolean>
</void>
<void method="put">
<object idref="Pair3"/>
<boolean>true</boolean>
</void>
<void method="put">
<object idref="Pair4"/>
<boolean>true</boolean>
</void>
<void method="put">
<object idref="Pair5"/>
<boolean>true</boolean>
</void>
<void method="put">
<object idref="Pair6"/>
<boolean>true</boolean>
</void>
<void method="put">
<object idref="Pair7"/>
<boolean>true</boolean>
</void>
<void method="put">
<object idref="Pair8"/>
<boolean>true</boolean>
</void>
<void method="put">
<object idref="Pair9"/>
<boolean>true</boolean>
</void>
</void>
<void property="repulsive">
<void method="put">
<object idref="Pair0"/>
<boolean>false</boolean>
</void>
<void method="put">
<object idref="Pair1"/>
<boolean>false</boolean>
</void>
<void method="put">
<object idref="Pair2"/>
<boolean>false</boolean>
</void>
<void method="put">
<object idref="Pair3"/>
<boolean>false</boolean>
</void>
<void method="put">
<object idref="Pair4"/>
<boolean>false</boolean>
</void>
<void method="put">
<object idref="Pair5"/>
<boolean>false</boolean>
</void>
<void method="put">
<object idref="Pair6"/>
<boolean>false</boolean>
</void>
<void method="put">
<object idref="Pair7"/>
<boolean>false</boolean>
</void>
<void method="put">
<object idref="Pair8"/>
<boolean>false</boolean>
</void>
<void method="put">
<object idref="Pair9"/>
<boolean>false</boolean>
</void>
</void>
<void property="sigma">
<void method="put">
<object idref="Pair0"/>
<double>24.24871130596428</double>
</void>
<void method="put">
<object idref="Pair1"/>
<double>9.899494936611665</double>
</void>
<void method="put">
<object idref="Pair2"/>
<double>19.79898987322333</double>
</void>
<void method="put">
<object idref="Pair3"/>
<double>12.12435565298214</double>
</void>
<void method="put">
<object idref="Pair4"/>
<double>17.146428199482248</double>
</void>
<void method="put">
<object idref="Pair5"/>
<double>14.0</double>
</void>
<void method="put">
<object idref="Pair6"/>
<double>9.16515138991168</double>
</void>
<void method="put">
<object idref="Pair7"/>
<double>12.96148139681572</double>
</void>
<void method="put">
<object idref="Pair8"/>
<double>15.874507866387544</double>
</void>
<void method="put">
<object idref="Pair9"/>
<double>18.33030277982336</double>
</void>
</void>
</object>
<object class="org.concord.mw2d.models.AtomicModel$State">
<void property="boundary">
<object class="org.concord.mw2d.models.RectangularBoundary$Delegate">
<void property="height">
<double>200.0</double>
</void>
<void property="viewSize">
<object class="java.awt.Dimension" id="Dimension0">
<void class="java.awt.Dimension" method="getField">
<string>width</string>
<void method="set">
<object idref="Dimension0">
<void class="java.awt.Dimension" method="getField">
<string>height</string>
<void method="set">
<object idref="Dimension0"/>
<int>200</int>
</void>
</void>
</object>
<int>400</int>
</void>
</void>
</object>
</void>
<void property="width">
<double>400.0</double>
</void>
</object>
</void>
<void property="lightSource">
<object class="org.concord.mw2d.models.LightSource"/>
</void>
<void property="numberOfParticles">
<int>9</int>
</void>
<void property="properties">
<void method="put">
<string>filename</string>
<string>simple-ke-shading$0.mml</string>
</void>
<void method="put">
<string>date</string>
<object class="java.util.Date">
<long>1349869630000</long>
</object>
</void>
<void method="put">
<string>url</string>
<string>/home/piotr/Concord/lab/imports/legacy-mw-content/conversion-and-physics-examples/simple-ke-shading$0.mml</string>
</void>
<void method="put">
<string>size</string>
<long>13291</long>
</void>
<void method="put">
<string>codebase</string>
<string>/imports/legacy-mw-content/conversion-and-physics-examples</string>
</void>
</void>
<void property="quantumRule">
<object class="org.concord.mw2d.models.QuantumRule"/>
</void>
<void property="timeStep">
<double>1.0</double>
</void>
<void property="universe">
<object class="org.concord.mw2d.models.Universe"/>
</void>
</object>
<object class="org.concord.mw2d.AtomisticView$State">
<void property="colorCode">
<string>None</string>
</void>
<void property="elementColors">
<void index="3">
<int>-16711936</int>
</void>
</void>
<void property="energizer">
<boolean>true</boolean>
</void>
<void property="forceFlavor">
<void property="color">
<object class="java.awt.Color">
<int>255</int>
<int>0</int>
<int>255</int>
<int>255</int>
</object>
</void>
</void>
<void property="momentumFlavor">
<void property="color">
<object class="java.awt.Color">
<int>0</int>
<int>0</int>
<int>255</int>
<int>255</int>
</object>
</void>
</void>
<void property="shading">
<boolean>true</boolean>
</void>
</object>
<object class="org.concord.mw2d.models.Atom">
<void property="rx">
<double>289.8493645166666</double>
</void>
<void property="ry">
<double>113.61521715043287</double>
</void>
<void property="vx">
<double>-0.05059776554655418</double>
</void>
<void property="vy">
<double>-0.21448725566902022</double>
</void>
</object>
<object class="org.concord.mw2d.models.Atom">
<void property="rx">
<double>101.0</double>
</void>
<void property="ry">
<double>172.0</double>
</void>
<void property="vx">
<double>0.043660632207789735</double>
</void>
<void property="vy">
<double>-0.013688735317054931</double>
</void>
</object>
<object class="org.concord.mw2d.models.Atom">
<void property="charge">
<double>-0.1</double>
</void>
<void property="rx">
<double>202.818203953246</double>
</void>
<void property="ry">
<double>157.70354083988548</double>
</void>
<void property="vx">
<double>-0.07227065599534259</double>
</void>
<void property="vy">
<double>0.20384219261353362</double>
</void>
</object>
<object class="org.concord.mw2d.models.Atom">
<void property="rx">
<double>339.0</double>
</void>
<void property="ry">
<double>42.0</double>
</void>
<void property="vx">
<double>-0.05597994222049756</double>
</void>
<void property="vy">
<double>0.05061316828413636</double>
</void>
</object>
<object class="org.concord.mw2d.models.Atom">
<void property="ID">
<int>2</int>
</void>
<void property="charge">
<double>-0.1</double>
</void>
<void property="rx">
<double>175.0</double>
</void>
<void property="ry">
<double>46.0</double>
</void>
</object>
<object class="org.concord.mw2d.models.Atom">
<void property="ID">
<int>1</int>
</void>
<void property="rx">
<double>100.0</double>
</void>
<void property="ry">
<double>54.0</double>
</void>
<void property="vx">
<double>0.022436566846491555</double>
</void>
<void property="vy">
<double>-0.04354998661880563</double>
</void>
</object>
<object class="org.concord.mw2d.models.Atom">
<void property="ID">
<int>3</int>
</void>
<void property="rx">
<double>244.0</double>
</void>
<void property="ry">
<double>91.0</double>
</void>
<void property="vx">
<double>0.014527542601713269</double>
</void>
<void property="vy">
<double>0.03144759695794332</double>
</void>
</object>
<object class="org.concord.mw2d.models.Atom">
<void property="ID">
<int>2</int>
</void>
<void property="charge">
<double>0.1</double>
</void>
<void property="rx">
<double>104.0</double>
</void>
<void property="ry">
<double>111.0</double>
</void>
<void property="vx">
<double>0.039982834150445415</double>
</void>
<void property="vy">
<double>-0.0011721039767361966</double>
</void>
</object>
<object class="org.concord.mw2d.models.Atom">
<void property="ID">
<int>2</int>
</void>
<void property="rx">
<double>312.0</double>
</void>
<void property="ry">
<double>180.0</double>
</void>
<void property="vx">
<double>0.02633567070396392</double>
</void>
<void property="vy">
<double>-0.0301070307902769</double>
</void>
</object>
<object class="org.concord.mw2d.models.MolecularModel$State"/>
</java>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment