ViewVC logotype

Contents of /trunk/projects/theory/snapdm/xsd/simdb/protocol.xsd

Parent Directory Parent Directory | Revision Log Revision Log

Revision 500 - (show annotations)
Fri May 16 04:44:38 2008 UTC (12 years, 6 months ago) by gerard.lemson
File size: 12034 byte(s)
latest generated versions of the schemas
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3 xmlns="http://www.ivoa.net/xml/SNAP/v0.1/simdb/protocol"
4 xmlns:base="http://www.ivoa.net/xml/dm/base/v0.1"
5 xmlns:p5="http://www.ivoa.net/xml/SNAP/v0.1/simdb"
6 xmlns:p6="http://www.ivoa.net/xml/SNAP/v0.1/simdb/object"
7 targetNamespace="http://www.ivoa.net/xml/SNAP/v0.1/simdb/protocol">
8 <xsd:annotation>
9 <xsd:documentation>Generated from UML-&gt;XMI-&gt;intermediate-&gt;XSD.</xsd:documentation>
10 </xsd:annotation>
11 <xsd:import namespace="http://www.ivoa.net/xml/SNAP/v0.1/simdb"
12 schemaLocation="http://volute.googlecode.com/svn/trunk/projects/theory/snapdm/xsd/simdb.xsd"/>
13 <xsd:import namespace="http://www.ivoa.net/xml/SNAP/v0.1/simdb/object"
14 schemaLocation="http://volute.googlecode.com/svn/trunk/projects/theory/snapdm/xsd/simdb/object.xsd"/>
15 <xsd:import namespace="http://www.ivoa.net/xml/dm/base/v0.1"
16 schemaLocation="http://volute.googlecode.com/svn/trunk/projects/theory/snapdm/xsd/base.xsd"/>
17 <xsd:complexType name="Physics">
18 <xsd:annotation>
19 <xsd:documentation>This class represents physical processes that are taken into account by a simulation. These may correspond to equations of motion evolving the simulated system from one state to the next, but also specifications of parameters describing initial conditions belong her.</xsd:documentation>
20 <xsd:appinfo>xmiid=_12_1_8e0028f_1173262198953_752563_1200</xsd:appinfo>
21 </xsd:annotation>
22 <xsd:sequence>
23 <xsd:element name="name" type="xsd:string" minOccurs="0"/>
24 <xsd:element name="description" type="xsd:string" minOccurs="0"/>
25 <xsd:element name="texForm" type="xsd:string" minOccurs="0"/>
26 <xsd:element name="physicslabel" type="xsd:string" minOccurs="0"/>
27 </xsd:sequence>
28 </xsd:complexType>
30 <xsd:complexType name="Simulator">
31 <xsd:annotation>
32 <xsd:documentation>This class represents the simulation software that is available to run a simulation.
33 We do not prescribe this model in great detail here [TBD should we?]. We only add the collection of physical processes that are available.
35 TODO one might argue we need a separate collection of numerical algorithms that implement the physical processes.
37 </xsd:documentation>
38 <xsd:appinfo>xmiid=_12_1_8e0028f_1173260371343_174540_519</xsd:appinfo>
39 </xsd:annotation>
40 <xsd:complexContent>
41 <xsd:extension base="Protocol">
42 <xsd:sequence>
43 <xsd:element name="physicalProcess" type="Physics" maxOccurs="unbounded"/>
44 </xsd:sequence>
45 </xsd:extension>
46 </xsd:complexContent>
47 </xsd:complexType>
49 <xsd:complexType name="Protocol" abstract="true">
50 <xsd:annotation>
51 <xsd:documentation>The base class of all protocols producing snapshots. These objects define how SNAP experiments can be performed, like a blue-print, template. For simulations the protocol will be the simulation code, here represented by SNAPSimulator. In the analysis model this class is more fully defined, but for the logical model for discovering SNAP experiments much of its components are moved to the SNAPExperiment itself</xsd:documentation>
52 <xsd:appinfo>xmiid=_12_1_8e0028f_1175789188406_755001_115</xsd:appinfo>
53 </xsd:annotation>
54 <xsd:complexContent>
55 <xsd:extension base="p5:Resource">
56 <xsd:sequence>
57 <xsd:element name="code" type="xsd:string" minOccurs="0"/>
58 <xsd:element name="version" type="xsd:string" minOccurs="0"/>
59 <xsd:element name="parameter" type="InputParameter" minOccurs="0" maxOccurs="unbounded"/>
60 <xsd:element name="parameterGroup" type="ParameterGroup" minOccurs="0" maxOccurs="unbounded"/>
61 <xsd:element name="representation" type="RepresentationObjectType" minOccurs="0"
62 maxOccurs="unbounded"/>
63 </xsd:sequence>
64 </xsd:extension>
65 </xsd:complexContent>
66 </xsd:complexType>
68 <xsd:complexType name="ClusterFinder">
69 <xsd:annotation>
70 <xsd:documentation>A cluster finder protocol.</xsd:documentation>
71 <xsd:appinfo>xmiid=_14_0_8e0028f_1202820488812_969868_2587</xsd:appinfo>
72 </xsd:annotation>
73 <xsd:complexContent>
74 <xsd:extension base="Protocol"/>
75 </xsd:complexContent>
76 </xsd:complexType>
78 <xsd:complexType name="Visualiser">
79 <xsd:annotation>
80 <xsd:documentation>A protocol for visualing results of other SimDB-type experiments.
82 TODO as this returns a non-SimDB-like result (i.e. NOT a representation of the 3+1D univers), does this belong in the model?</xsd:documentation>
83 <xsd:appinfo>xmiid=_12_1_8e0028f_1175790177281_251863_280</xsd:appinfo>
84 </xsd:annotation>
85 <xsd:complexContent>
86 <xsd:extension base="Protocol"/>
87 </xsd:complexContent>
88 </xsd:complexType>
90 <xsd:complexType name="InputParameter">
91 <xsd:annotation>
92 <xsd:documentation>This class represent a parameter setting for a SNAP experiment. The parameter can be used in describing the physics (for example mass of a particle), in the initial conditions (for example cosmology), in the numerical implementation (for example mesh size)</xsd:documentation>
93 <xsd:appinfo>xmiid=_12_1_8e0028f_1173260612156_632863_688</xsd:appinfo>
94 </xsd:annotation>
95 <xsd:sequence>
96 <xsd:element name="name" type="xsd:string" minOccurs="0"/>
97 <xsd:element name="datatype" type="p5:DataType" minOccurs="0"/>
98 <xsd:element name="cardinality" type="p5:Cardinality" minOccurs="0"/>
99 <xsd:element name="label" type="xsd:string" minOccurs="0"/>
100 <xsd:element name="description" type="xsd:string" minOccurs="0"/>
101 </xsd:sequence>
102 </xsd:complexType>
104 <xsd:complexType name="ParameterGroup">
105 <xsd:annotation>
106 <xsd:documentation>Represents a (natural) grouping of input parameters.
107 Especially in protocols with large numbers of parameters it may be useful to group these
108 for browsing purposes for example. As browsing is likely an important mode of access to SimDB resources this possibility was introduced.</xsd:documentation>
109 <xsd:appinfo>xmiid=_14_0_8e0028f_1202835054703_251049_3232</xsd:appinfo>
110 </xsd:annotation>
111 <xsd:sequence>
112 <xsd:element name="name" type="xsd:string" minOccurs="0"/>
113 <xsd:element name="description" type="xsd:string" minOccurs="0"/>
114 <xsd:element name="member" type="ParameterGroupMember" maxOccurs="unbounded"/>
115 </xsd:sequence>
116 </xsd:complexType>
118 <xsd:complexType name="ParameterGroupMember">
119 <xsd:annotation>
120 <xsd:documentation>Associative class, representing a selection of a parameter in a parameter grouping.</xsd:documentation>
121 <xsd:appinfo>xmiid=_14_0_8e0028f_1202835113906_103077_3309</xsd:appinfo>
122 </xsd:annotation>
123 <xsd:sequence>
124 <xsd:element name="parameter" type="base:Reference">
125 <xsd:annotation>
126 <xsd:appinfo>xmiidref=_12_1_8e0028f_1173260612156_632863_688</xsd:appinfo>
127 </xsd:annotation>
128 </xsd:element>
129 </xsd:sequence>
130 </xsd:complexType>
132 <xsd:complexType name="SubvolumeExtractor">
133 <xsd:annotation>
134 <xsd:documentation>Protocol that extracts the representation objects in a sub-volume of an existing snapshot of another experiment.
136 TODO SimDAP should define whether this is the proper definition for this type of protocol.</xsd:documentation>
137 <xsd:appinfo>xmiid=_12_1_8e0028f_1175790195921_468870_325</xsd:appinfo>
138 </xsd:annotation>
139 <xsd:complexContent>
140 <xsd:extension base="Protocol"/>
141 </xsd:complexContent>
142 </xsd:complexType>
144 <xsd:complexType name="RepresentationObjectType">
145 <xsd:annotation>
146 <xsd:documentation>This class represents the smallest units from which a target system/object is built. It defines also the actual objects that the Snapshot-s contain. Examples are the particles in an N-body simulation, the cells in an adaptive mesh simulations, the halos in the result of a group finder</xsd:documentation>
147 <xsd:appinfo>xmiid=_12_1_8e0028f_1173260105000_913974_289</xsd:appinfo>
148 </xsd:annotation>
149 <xsd:complexContent>
150 <xsd:extension base="p6:ObjectType">
151 <xsd:sequence>
152 <xsd:element name="type" type="RepresentationObject" minOccurs="0"/>
153 <xsd:element name="label" type="xsd:string" minOccurs="0"/>
154 </xsd:sequence>
155 </xsd:extension>
156 </xsd:complexContent>
157 </xsd:complexType>
159 <xsd:simpleType name="RepresentationObject">
160 <xsd:annotation>
161 <xsd:documentation>Represents a standard name for the objects that can be used to represent a snapshot of the universe in SNAP data products. Examples from simulations are “n-body particle”, “SPH particle”, “mesh cell”. But also simplified representations of astronomical objects could be used here, for example in halo catalogues or semi-analytical galaxy catalogues, both results of post-processing experiments
163 NB This should be transferred to an appropriate external ontology!</xsd:documentation>
164 <xsd:appinfo>xmiid=_12_1_8e0028f_1175855145890_581998_136</xsd:appinfo>
165 </xsd:annotation>
166 <xsd:restriction base="xsd:string">
167 <xsd:enumeration value="point particle">
168 <xsd:annotation>
169 <xsd:documentation>Represents the case where point particles are used to represent the simulated world.</xsd:documentation>
170 </xsd:annotation>
171 </xsd:enumeration>
172 <xsd:enumeration value="SPH particle">
173 <xsd:annotation>
174 <xsd:documentation>Represents the case where extended particles with hydro properties are used to represent the simulated world in an SPH simulation.</xsd:documentation>
175 </xsd:annotation>
176 </xsd:enumeration>
177 <xsd:enumeration value="extended particle">
178 <xsd:annotation>
179 <xsd:documentation>Represents the case whereextended particles are used to represent the simulated world.</xsd:documentation>
180 </xsd:annotation>
181 </xsd:enumeration>
182 <xsd:enumeration value="simple mesh cell">
183 <xsd:annotation>
184 <xsd:documentation>Represents the case where simple, non-structured/subdivided mesh cells are used to represent the simulated world in a regular grid.</xsd:documentation>
185 </xsd:annotation>
186 </xsd:enumeration>
187 <xsd:enumeration value="hierarchical mesh cell">
188 <xsd:annotation>
189 <xsd:documentation>Represents the case where mesh cells taht may be hierarchically subdivided are used to represent the simulated world in an adaptive mesh refinemenet simulation.</xsd:documentation>
190 </xsd:annotation>
191 </xsd:enumeration>
192 <xsd:enumeration value="model astro object">
193 <xsd:annotation>
194 <xsd:documentation>Represents the case where mock astronomical objects with their "physical" properties are used to represent the simulated world. Mainly found in results of post-processing. Examples are dark matter halos as the result of a cluster finder, synthetic galaxies as the result of semi-analytical simulations or halo occupation distributions algorithms.</xsd:documentation>
195 </xsd:annotation>
196 </xsd:enumeration>
197 <xsd:enumeration value="custom">
198 <xsd:annotation>
199 <xsd:documentation>Represents the case wherecustom objects, for which there is no existing term available in this enumeration, are used to represent the simulated world.
200 </xsd:documentation>
201 </xsd:annotation>
202 </xsd:enumeration>
203 </xsd:restriction>
204 </xsd:simpleType>
206 </xsd:schema>

ViewVC Help
Powered by ViewVC 1.1.26