Schema QMCXML.xsd


schema location:  http://xml.comp-phys.org/2002/10/QMCXML.xsd
 
Elements  Complex types 
ARCHIVE  CheckPointType 
PARAMETERS  ExecutedType 
SIMULATION  MachineType 
MCRunType 


schema location:  http://xml.comp-phys.org/RNG.xsd
 
Elements  Complex types 
RNG  RNGState 


schema location:  http://xml.comp-phys.org/averages.xsd
 
Elements  Groups  Complex types  Attr. groups 
AVERAGES  MCResultGroup  MCResultType  ErrorEvaluationAttribute 
SCALAR_AVERAGE 
VECTOR_AVERAGE 


schema location:  http://xml.comp-phys.org/parameter.xsd
 
Complex types 
ParameterType 


element ARCHIVE
diagram
children SIMULATION
source
<xs:element name="ARCHIVE">
  <xs:complexType>
    <xs:all minOccurs="0" maxOccurs="unbounded">
      <xs:element ref="SIMULATION"/>
    </xs:all>
  </xs:complexType>
</xs:element>

element PARAMETERS
diagram
type ParameterType
used by
elements SIMULATION/REALIZATION SIMULATION
complexType MCRunType
attributes
Name  Type  Use  Default  Fixed  Annotation
name  xs:string  required      
source
<xs:element name="PARAMETERS" type="ParameterType"/>

element SIMULATION
diagram
children PARAMETERS AVERAGES MCRUN REALIZATION
used by
element ARCHIVE
source
<xs:element name="SIMULATION">
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="PARAMETERS"/>
      <xs:element ref="AVERAGES" minOccurs="0"/>
      <xs:choice>
        <xs:element name="MCRUN" type="MCRunType" minOccurs="0" maxOccurs="unbounded"/>
        <xs:element name="REALIZATION" minOccurs="0" maxOccurs="unbounded">
          <xs:complexType>
            <xs:sequence>
              <xs:element ref="PARAMETERS" minOccurs="0"/>
              <xs:element ref="RNG" minOccurs="0"/>
              <xs:element name="MCRUN" type="MCRunType" minOccurs="0" maxOccurs="unbounded"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element SIMULATION/MCRUN
diagram
type MCRunType
children CHECKPOINT PARAMETERS RNG EXECUTED AVERAGES
source
<xs:element name="MCRUN" type="MCRunType" minOccurs="0" maxOccurs="unbounded"/>

element SIMULATION/REALIZATION
diagram
children PARAMETERS RNG MCRUN
source
<xs:element name="REALIZATION" minOccurs="0" maxOccurs="unbounded">
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="PARAMETERS" minOccurs="0"/>
      <xs:element ref="RNG" minOccurs="0"/>
      <xs:element name="MCRUN" type="MCRunType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element SIMULATION/REALIZATION/MCRUN
diagram
type MCRunType
children CHECKPOINT PARAMETERS RNG EXECUTED AVERAGES
source
<xs:element name="MCRUN" type="MCRunType" minOccurs="0" maxOccurs="unbounded"/>

complexType CheckPointType
diagram
used by
element MCRunType/CHECKPOINT
attributes
Name  Type  Use  Default  Fixed  Annotation
type  xs:string  optional      
file  xs:string  required      
source
<xs:complexType name="CheckPointType">
  <xs:attribute name="type" type="xs:string" use="optional"/>
  <xs:attribute name="file" type="xs:string" use="required"/>
</xs:complexType>

complexType ExecutedType
diagram
children FROM TO MACHINE
used by
element MCRunType/EXECUTED
source
<xs:complexType name="ExecutedType">
  <xs:sequence>
    <xs:element name="FROM" type="xs:string"/>
    <xs:element name="TO" type="xs:string"/>
    <xs:element name="MACHINE" type="MachineType"/>
  </xs:sequence>
</xs:complexType>

element ExecutedType/FROM
diagram
type xs:string
source
<xs:element name="FROM" type="xs:string"/>

element ExecutedType/TO
diagram
type xs:string
source
<xs:element name="TO" type="xs:string"/>

element ExecutedType/MACHINE
diagram
type MachineType
children NAME
source
<xs:element name="MACHINE" type="MachineType"/>

complexType MachineType
diagram
children NAME
used by
element ExecutedType/MACHINE
source
<xs:complexType name="MachineType">
  <xs:sequence>
    <xs:element name="NAME" type="xs:string"/>
  </xs:sequence>
</xs:complexType>

element MachineType/NAME
diagram
type xs:string
source
<xs:element name="NAME" type="xs:string"/>

complexType MCRunType
diagram
children CHECKPOINT PARAMETERS RNG EXECUTED AVERAGES
used by
elements SIMULATION/MCRUN SIMULATION/REALIZATION/MCRUN
source
<xs:complexType name="MCRunType">
  <xs:sequence>
    <xs:element name="CHECKPOINT" type="CheckPointType" minOccurs="0"/>
    <xs:element ref="PARAMETERS" minOccurs="0"/>
    <xs:element ref="RNG" minOccurs="0"/>
    <xs:element name="EXECUTED" type="ExecutedType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element ref="AVERAGES" minOccurs="0"/>
  </xs:sequence>
</xs:complexType>

element MCRunType/CHECKPOINT
diagram
type CheckPointType
attributes
Name  Type  Use  Default  Fixed  Annotation
type  xs:string  optional      
file  xs:string  required      
source
<xs:element name="CHECKPOINT" type="CheckPointType" minOccurs="0"/>

element MCRunType/EXECUTED
diagram
type ExecutedType
children FROM TO MACHINE
source
<xs:element name="EXECUTED" type="ExecutedType" minOccurs="0" maxOccurs="unbounded"/>

element RNG
diagram
children PARAMETER INITIALSTATE STATE
used by
element SIMULATION/REALIZATION
complexType MCRunType
attributes
Name  Type  Use  Default  Fixed  Annotation
type  xs:string  required      
source
<xs:element name="RNG">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="PARAMETER" type="ParameterType" minOccurs="0" maxOccurs="unbounded"/>
      <xs:element name="INITIALSTATE" type="RNGState" minOccurs="0"/>
      <xs:element name="STATE" type="RNGState" minOccurs="0"/>
    </xs:sequence>
    <xs:attribute name="type" type="xs:string" use="required"/>
  </xs:complexType>
</xs:element>

element RNG/PARAMETER
diagram
type ParameterType
attributes
Name  Type  Use  Default  Fixed  Annotation
name  xs:string  required      
source
<xs:element name="PARAMETER" type="ParameterType" minOccurs="0" maxOccurs="unbounded"/>

element RNG/INITIALSTATE
diagram
type RNGState
attributes
Name  Type  Use  Default  Fixed  Annotation
format  xs:string  optional  text    
source
<xs:element name="INITIALSTATE" type="RNGState" minOccurs="0"/>

element RNG/STATE
diagram
type RNGState
attributes
Name  Type  Use  Default  Fixed  Annotation
format  xs:string  optional  text    
source
<xs:element name="STATE" type="RNGState" minOccurs="0"/>

complexType RNGState
diagram
type extension of xs:string
used by
elements RNG/INITIALSTATE RNG/STATE
attributes
Name  Type  Use  Default  Fixed  Annotation
format  xs:string  optional  text    
source
<xs:complexType name="RNGState">
  <xs:simpleContent>
    <xs:extension base="xs:string">
      <xs:attribute name="format" type="xs:string" use="optional" default="text"/>
    </xs:extension>
  </xs:simpleContent>
</xs:complexType>

element AVERAGES
diagram
children VECTOR_AVERAGE SCALAR_AVERAGE
used by
element SIMULATION
complexType MCRunType
source
<xs:element name="AVERAGES">
  <xs:complexType>
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:element ref="VECTOR_AVERAGE"/>
      <xs:element ref="SCALAR_AVERAGE"/>
    </xs:choice>
  </xs:complexType>
</xs:element>

element SCALAR_AVERAGE
diagram
children MEAN ERROR VARIANCE AUTOCORR COUNT THERMALIZATION BINNED
used by
elements AVERAGES VECTOR_AVERAGE
attributes
Name  Type  Use  Default  Fixed  Annotation
indexvalue  xs:anySimpleType  optional      
name  xs:string  optional      
source
<xs:element name="SCALAR_AVERAGE">
  <xs:complexType>
    <xs:sequence>
      <xs:group ref="MCResultGroup" minOccurs="0"/>
      <xs:element name="BINNED" minOccurs="0" maxOccurs="unbounded">
        <xs:complexType>
          <xs:group ref="MCResultGroup"/>
          <xs:attribute name="type" use="optional">
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="logarithmic"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="size" type="xs:nonNegativeInteger" use="optional"/>
          <xs:attribute name="number" type="xs:nonNegativeInteger" use="optional"/>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="indexvalue" type="xs:anySimpleType" use="optional"/>
    <xs:attribute name="name" type="xs:string" use="optional"/>
  </xs:complexType>
</xs:element>

element SCALAR_AVERAGE/BINNED
diagram
children MEAN ERROR VARIANCE AUTOCORR COUNT THERMALIZATION
attributes
Name  Type  Use  Default  Fixed  Annotation
type  xs:string  optional      
size  xs:nonNegativeInteger  optional      
number  xs:nonNegativeInteger  optional      
source
<xs:element name="BINNED" minOccurs="0" maxOccurs="unbounded">
  <xs:complexType>
    <xs:group ref="MCResultGroup"/>
    <xs:attribute name="type" use="optional">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="logarithmic"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="size" type="xs:nonNegativeInteger" use="optional"/>
    <xs:attribute name="number" type="xs:nonNegativeInteger" use="optional"/>
  </xs:complexType>
</xs:element>

element VECTOR_AVERAGE
diagram
children SCALAR_AVERAGE
used by
element AVERAGES
attributes
Name  Type  Use  Default  Fixed  Annotation
name  xs:string  required      
nvalues  xs:decimal  required      
source
<xs:element name="VECTOR_AVERAGE">
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="SCALAR_AVERAGE" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="name" type="xs:string" use="required"/>
    <xs:attribute name="nvalues" type="xs:decimal" use="required"/>
  </xs:complexType>
</xs:element>

group MCResultGroup
diagram
children MEAN ERROR VARIANCE AUTOCORR COUNT THERMALIZATION
used by
elements SCALAR_AVERAGE/BINNED SCALAR_AVERAGE
source
<xs:group name="MCResultGroup">
  <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="MEAN" type="MCResultType"/>
    <xs:element name="ERROR" type="MCResultType"/>
    <xs:element name="VARIANCE" type="MCResultType"/>
    <xs:element name="AUTOCORR" type="MCResultType"/>
    <xs:element name="COUNT" type="xs:nonNegativeInteger"/>
    <xs:element name="THERMALIZATION" type="xs:nonNegativeInteger"/>
  </xs:choice>
</xs:group>

element MCResultGroup/MEAN
diagram
type MCResultType
attributes
Name  Type  Use  Default  Fixed  Annotation
method  xs:string  optional  simple    
program  xs:string  optional      
source
<xs:element name="MEAN" type="MCResultType"/>

element MCResultGroup/ERROR
diagram
type MCResultType
attributes
Name  Type  Use  Default  Fixed  Annotation
method  xs:string  optional  simple    
program  xs:string  optional      
source
<xs:element name="ERROR" type="MCResultType"/>

element MCResultGroup/VARIANCE
diagram
type MCResultType
attributes
Name  Type  Use  Default  Fixed  Annotation
method  xs:string  optional  simple    
program  xs:string  optional      
source