2021-09-16 12:54:28 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
|
|
<!-- TODO DTD or XML Schema-->
|
|
|
|
|
|
|
|
<gem-graph-model version="0.1">
|
|
|
|
|
|
|
|
<!-- Model identity informations -->
|
|
|
|
<identity>
|
2021-09-18 01:00:48 +02:00
|
|
|
<name>Model created for testing purposes</name>
|
|
|
|
<name value="(Three dimers)"/>
|
|
|
|
<owner>Jean Sirmai</owner>
|
2021-09-17 16:14:04 +02:00
|
|
|
<owner_id>2</owner_id>
|
|
|
|
<date>1629830000</date> <!--Warning: it's an arbitrary unchecked date...-->
|
2021-09-16 12:54:28 +02:00
|
|
|
<version>1.0</version>
|
|
|
|
|
|
|
|
</identity>
|
|
|
|
|
|
|
|
<!-- Model parameters -->
|
2021-09-18 01:00:48 +02:00
|
|
|
<parameters id="test" date="1629830000" author="Jean Sirmai">
|
2021-09-16 12:54:28 +02:00
|
|
|
<modelization>
|
|
|
|
<max_thread value="0"/> <!--Why "0" ?-->
|
|
|
|
<max_cycles value="13"/>
|
|
|
|
|
|
|
|
</modelization>
|
|
|
|
|
2021-09-18 01:00:48 +02:00
|
|
|
<space_param>
|
2021-09-19 19:13:10 +02:00
|
|
|
<dimension value="1"/>
|
|
|
|
<size x="39" y="0" z="0"/>
|
2021-09-16 12:54:28 +02:00
|
|
|
<site_multiplicity value="2"/> <!-- Indicates that there are two sites per cell-->
|
2021-09-19 19:13:10 +02:00
|
|
|
<boundaries/> <!-- TODO -->
|
2021-09-17 16:14:04 +02:00
|
|
|
|
2021-09-18 01:00:48 +02:00
|
|
|
</space_param>
|
2021-09-16 12:54:28 +02:00
|
|
|
|
|
|
|
</parameters>
|
|
|
|
|
|
|
|
<!-- Model objects definition -->
|
|
|
|
<objects>
|
2021-09-18 01:00:48 +02:00
|
|
|
<object id="dimer" date="1629830000" author="Jean Sirmai">
|
2021-09-19 19:13:10 +02:00
|
|
|
<!-- A dimer is made of two linked adjacent particles.-->
|
|
|
|
<!-- Site 1 of particle 0 points at east to next particle.-->
|
|
|
|
<!-- Site 0 of particle 1 points at west to previous particle.-->
|
2021-09-16 12:54:28 +02:00
|
|
|
<arrow x="0" y="0" z="0" site="0" weight="0"/>
|
|
|
|
<arrow x="0" y="0" z="0" site="1" weight="1"/>
|
|
|
|
<arrow x="1" y="0" z="0" site="0" weight="1"/>
|
|
|
|
<arrow x="1" y="0" z="0" site="1" weight="0"/>
|
|
|
|
|
|
|
|
</object>
|
|
|
|
|
|
|
|
</objects>
|
|
|
|
|
|
|
|
<!-- Space description (initial state) -->
|
2021-09-18 01:00:48 +02:00
|
|
|
<space id="test" date="1629830000" author="Jean Sirmai">
|
2021-09-16 12:54:28 +02:00
|
|
|
<arrow x="0" y="0" z="0" site="1" weight="1"/>
|
|
|
|
<arrow x="1" y="0" z="0" site="0" weight="1"/>
|
|
|
|
<arrow x="10" y="0" z="0" site="1" weight="1"/>
|
|
|
|
<arrow x="11" y="0" z="0" site="0" weight="1"/>
|
|
|
|
<arrow x="20" y="0" z="0" site="1" weight="1"/>
|
|
|
|
<arrow x="21" y="0" z="0" site="0" weight="1"/>
|
|
|
|
<!-- three dimers have been defined-->
|
|
|
|
|
|
|
|
</space>
|
|
|
|
|
|
|
|
<!-- Saved space description (saved states) -->
|
2021-09-19 19:13:10 +02:00
|
|
|
<savestates id="test" date="1629830000" author="Jean Sirmai">
|
2021-09-18 01:00:48 +02:00
|
|
|
<space id="test" date="1629830000" author="Jean Sirmai">
|
2021-09-16 12:54:28 +02:00
|
|
|
</space>
|
|
|
|
|
|
|
|
</savestates>
|
|
|
|
|
|
|
|
<!-- Model transitions definition (rules) -->
|
2021-09-18 01:00:48 +02:00
|
|
|
<transitions id="test" date="1629830000" author="Jean Sirmai">
|
|
|
|
<transition id="0" date="1629830000" author="Jean Sirmai" probability="1"> <!-- moves a dimer to east-->
|
2021-09-16 12:54:28 +02:00
|
|
|
<if>
|
|
|
|
<arrow x="0" y="0" z="0" site="1" weight="1"/>
|
|
|
|
<arrow x="1" y="0" z="0" site="0" weight="1"/> <!-- a dimer is identified-->
|
|
|
|
<!-- the local space origin is its "west" particule-->
|
|
|
|
<arrow x="2" y="0" z="0" site="1" weight="0"/> <!-- the east location next this dimer is empty-->
|
|
|
|
<arrow x="3" y="0" z="0" site="0" weight="0"/> <!-- In this very simple model, I do not need to check this condition-->
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<then> <!-- Therefore I can (and I want to) move it to its next east location-->
|
|
|
|
<arrow x="0" y="0" z="0" site="1" weight="0"/>
|
|
|
|
<arrow x="1" y="0" z="0" site="0" weight="0"/> <!-- The identified dimer no more exists ( :-(( -->
|
|
|
|
<arrow x="1" y="0" z="0" site="1" weight="1"/>
|
|
|
|
<arrow x="2" y="0" z="0" site="0" weight="1"/> <!-- Happily, it is now rebuilt at its east location ( ;-))-->
|
|
|
|
|
|
|
|
</then>
|
|
|
|
|
|
|
|
</transition>
|
|
|
|
|
|
|
|
</transitions>
|
|
|
|
|
|
|
|
<!-- Non context-specific tags -->
|
2021-09-19 19:13:10 +02:00
|
|
|
<ref id="Best reference!" date="1629830000" author="Jean Sirmai" lang="fr">
|
2021-09-18 01:00:48 +02:00
|
|
|
https://www.a-lec.org
|
|
|
|
</ref>
|
2021-09-19 19:13:10 +02:00
|
|
|
<quote id="Best quote" date="1629830000" author="Jean Sirmai" lang="fr">
|
2021-09-18 01:00:48 +02:00
|
|
|
This is a quote.
|
|
|
|
</quote>
|
2021-09-16 12:54:28 +02:00
|
|
|
|
|
|
|
</gem-graph-model>
|