new space-param dimension format

This commit is contained in:
Jean Sirmai 2021-11-05 19:38:24 +01:00
parent cd5a8f35d1
commit ee24c4700a
Signed by: jean
GPG Key ID: FB3115C340E057E3
2 changed files with 22 additions and 9 deletions

View File

@ -29,9 +29,9 @@
<!-- loop_on_zero="false" anything moved before zero is lost--> <!-- loop_on_zero="false" anything moved before zero is lost-->
<!-- loop_on_max="true" anything moved beyond max reenters at the zero of space--> <!-- loop_on_max="true" anything moved beyond max reenters at the zero of space-->
<!-- loop_on_max="false" anything moved beyond max is lost--> <!-- loop_on_max="false" anything moved beyond max is lost-->
<size x="29" loop_on_zero="true" loop_on_max="true"/> <axis name="x" size="29" loop_on_zero="true" loop_on_max="true"/>
<size y="0" loop_on_zero="true" loop_on_max="true"/> <axis name="y" size="0" loop_on_zero="true" loop_on_max="true"/>
<size z="0" loop_on_zero="true" loop_on_max="true"/> <axis name="z" size="0" loop_on_zero="true" loop_on_max="true"/>
</dimension> </dimension>
<!-- Site_multiplicity = number of sites in a space unit. --> <!-- Site_multiplicity = number of sites in a space unit. -->
<!-- Each site points towards a neighbouring space unit. --> <!-- Each site points towards a neighbouring space unit. -->
@ -118,3 +118,4 @@
</transitions> </transitions>
</gem-graph-model> </gem-graph-model>

View File

@ -48,6 +48,18 @@
<xs:element name="quote" substitutionGroup="g_ref"/> <xs:element name="quote" substitutionGroup="g_ref"/>
<xs:element name="axis">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" ref="quote"/>
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="size" type="xs:integer" use="required"/>
<xs:attribute name="loop_on_zero" type="xs:string" use="required"/>
<xs:attribute name="loop_on_max" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="arrow"> <xs:element name="arrow">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
@ -137,13 +149,13 @@
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="dimension" type="xs:integer"/> <xs:element name="dimension">
<xs:complexType>
<xs:element name="size"> <xs:sequence minOccurs="1" maxOccurs="unbounded">
<xs:complexType> <xs:element ref="axis"/>
<xs:attributeGroup ref="xyz_site_nb"/> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="site_multiplicity" type="xs:integer"/> <xs:element name="site_multiplicity" type="xs:integer"/>