<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?modxslt-stylesheet type="text/xsl" media="fuffa, screen and $GET[stylesheet]" href="./%24GET%5Bstylesheet%5D" alternate="no" title="Translation using provided stylesheet" charset="UTF-8" ?>
<?modxslt-stylesheet type="text/xsl" media="screen" alternate="no" title="Show raw source of the XML file" charset="UTF-8" ?>
<!-- edited with XMLSpy v2009 sp1 (http://www.altova.com) by USER USER (CEA - CENTRE DE CADARACHE) -->
<!--
  -* Generated by mod-xslt 1.3.8; http://www.mod-xslt2.com/
  -* Copyright (C) 2002,2003 Carlo Contavalli - <ccontavalli at masobit.net>
  -* derived from work by Philipp Dunkel and others (http://www.mod-xslt2.com/main/credits.xml)
  -* Thanks to http://www.masobit.net/ for paying me while working on mod-xslt
  -* and for providing resources to the project. -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:include schemaLocation="../utilities/dd_support.xsd"/>
	<xs:complexType name="ntm_time_slice_mode_detailed_evolution_deltaw">
		<xs:annotation>
			<xs:documentation>deltaw contribution to the Rutherford equation (detailed evolution)</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="value">
				<xs:annotation>
					<xs:documentation>Value of the contribution</xs:documentation>
					<xs:appinfo>
						<type>dynamic</type>
						<units>m^-1</units>
						<coordinate1>../../time_detailed</coordinate1>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="FLT_1D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="name">
				<xs:annotation>
					<xs:documentation>Name of the contribution</xs:documentation>
					<xs:appinfo>
						<type>dynamic</type>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="STR_0D"/>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ntm_time_slice_mode_detailed_evolution_torque">
		<xs:annotation>
			<xs:documentation>torque contribution to the Rutherford equation (detailed evolution)</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="value">
				<xs:annotation>
					<xs:documentation>Value of the contribution</xs:documentation>
					<xs:appinfo>
						<type>dynamic</type>
						<units>kg.m^2.s^-2</units>
						<coordinate1>../../time_detailed</coordinate1>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="FLT_1D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="name">
				<xs:annotation>
					<xs:documentation>Name of the contribution</xs:documentation>
					<xs:appinfo>
						<type>dynamic</type>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="STR_0D"/>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ntm_time_slice_mode_detailed_evolution">
		<xs:annotation>
			<xs:documentation>Detailed NTM evolution on a finer timebase than the time_slice array of structure</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="time_detailed">
				<xs:annotation>
					<xs:documentation>Time array used to describe the detailed evolution of the NTM</xs:documentation>
					<xs:appinfo>
						<type>dynamic</type>
						<units>s</units>
						<coordinate1>1...N</coordinate1>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="FLT_1D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="width">
				<xs:annotation>
					<xs:documentation>Full width of the mode</xs:documentation>
					<xs:appinfo>
						<type>dynamic</type>
						<units>m</units>
						<coordinate1>../time_detailed</coordinate1>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="FLT_1D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="dwidth_dt">
				<xs:annotation>
					<xs:documentation>Time derivative of the full width of the mode</xs:documentation>
					<xs:appinfo>
						<type>dynamic</type>
						<units>m/s</units>
						<coordinate1>../time_detailed</coordinate1>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="FLT_1D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="phase">
				<xs:annotation>
					<xs:documentation>Phase of the mode</xs:documentation>
					<xs:appinfo>
						<type>dynamic</type>
						<units>rad</units>
						<coordinate1>../time_detailed</coordinate1>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="FLT_1D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="dphase_dt">
				<xs:annotation>
					<xs:documentation>Time derivative of the phase of the mode</xs:documentation>
					<xs:appinfo>
						<type>dynamic</type>
						<units>rad/s</units>
						<coordinate1>../time_detailed</coordinate1>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="FLT_1D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="frequency">
				<xs:annotation>
					<xs:documentation>Frequency of the mode</xs:documentation>
					<xs:appinfo>
						<type>dynamic</type>
						<units>Hz</units>
						<coordinate1>../time_detailed</coordinate1>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="FLT_1D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="dfrequency_dt">
				<xs:annotation>
					<xs:documentation>Time derivative of the frequency of the mode</xs:documentation>
					<xs:appinfo>
						<type>dynamic</type>
						<units>s^-2</units>
						<coordinate1>../time_detailed</coordinate1>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="FLT_1D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="n_tor">
				<xs:annotation>
					<xs:documentation>Toroidal mode number</xs:documentation>
					<xs:appinfo>
						<type>dynamic</type>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="INT_0D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="m_pol">
				<xs:annotation>
					<xs:documentation>Poloidal mode number</xs:documentation>
					<xs:appinfo>
						<type>dynamic</type>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="INT_0D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="deltaw" type="ntm_time_slice_mode_detailed_evolution_deltaw" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>deltaw contributions to the Rutherford equation</xs:documentation>
					<xs:appinfo>
						<coordinate1>1...N</coordinate1>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element name="torque" type="ntm_time_slice_mode_detailed_evolution_torque" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>torque contributions to the Rutherford equation</xs:documentation>
					<xs:appinfo>
						<coordinate1>1...N</coordinate1>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element name="calculation_method">
				<xs:annotation>
					<xs:documentation>Description of how the mode evolution is calculated</xs:documentation>
					<xs:appinfo>
						<type>dynamic</type>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="STR_0D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="delta_diff">
				<xs:annotation>
					<xs:documentation>Extra diffusion coefficient for the transport equations of Te, ne, Ti </xs:documentation>
					<xs:appinfo>
						<type>dynamic</type>
						<coordinate1>1...3</coordinate1>
						<coordinate2>../time_detailed</coordinate2>
						<units>m^2.s^-1</units>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="FLT_2D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="rho_tor_norm">
				<xs:annotation>
					<xs:documentation>Normalised flux coordinate on which the mode is centred</xs:documentation>
					<xs:appinfo>
						<coordinate1>../time_detailed</coordinate1>
						<units>-</units>
						<type>dynamic</type>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="FLT_1D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="rho_tor">
				<xs:annotation>
					<xs:documentation>Flux coordinate on which the mode is centred</xs:documentation>
					<xs:appinfo>
						<coordinate1>../time_detailed</coordinate1>
						<units>m</units>
						<type>dynamic</type>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="FLT_1D"/>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ntm_time_slice_mode_evolution_deltaw">
		<xs:annotation>
			<xs:documentation>deltaw contribution to the Rutherford equation</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="value">
				<xs:annotation>
					<xs:documentation>Value of the contribution</xs:documentation>
					<xs:appinfo>
						<type>dynamic</type>
						<units>m^-1</units>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="FLT_0D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="name">
				<xs:annotation>
					<xs:documentation>Name of the contribution</xs:documentation>
					<xs:appinfo>
						<type>dynamic</type>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="STR_0D"/>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ntm_time_slice_mode_evolution_torque">
		<xs:annotation>
			<xs:documentation>torque contribution to the Rutherford equation</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="value">
				<xs:annotation>
					<xs:documentation>Value of the contribution</xs:documentation>
					<xs:appinfo>
						<type>dynamic</type>
						<units>kg.m^2.s^-2</units>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="FLT_0D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="name">
				<xs:annotation>
					<xs:documentation>Name of the contribution</xs:documentation>
					<xs:appinfo>
						<type>dynamic</type>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="STR_0D"/>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ntm_time_slice_mode_onset">
		<xs:annotation>
			<xs:documentation>Onset characteristics of an NTM</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="width">
				<xs:annotation>
					<xs:documentation>Seed island full width at onset time</xs:documentation>
					<xs:appinfo>
						<type>dynamic</type>
						<units>m</units>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="FLT_0D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="time_onset">
				<xs:annotation>
					<xs:documentation>Onset time</xs:documentation>
					<xs:appinfo>
						<type>dynamic</type>
						<units>s</units>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="FLT_0D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="time_offset">
				<xs:annotation>
					<xs:documentation>Offset time (when a mode disappears). If the mode reappears later in the simulation, use another index of the mode array of structure</xs:documentation>
					<xs:appinfo>
						<type>dynamic</type>
						<units>s</units>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="FLT_0D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="phase">
				<xs:annotation>
					<xs:documentation>Phase of the mode at onset</xs:documentation>
					<xs:appinfo>
						<type>dynamic</type>
						<units>rad</units>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="FLT_0D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="n_tor">
				<xs:annotation>
					<xs:documentation>Toroidal mode number</xs:documentation>
					<xs:appinfo>
						<type>dynamic</type>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="INT_0D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="m_pol">
				<xs:annotation>
					<xs:documentation>Poloidal mode number</xs:documentation>
					<xs:appinfo>
						<type>dynamic</type>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="INT_0D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="cause">
				<xs:annotation>
					<xs:documentation>Cause of the mode onset</xs:documentation>
					<xs:appinfo>
						<type>dynamic</type>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="STR_0D"/>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ntm_time_slice_mode">
		<xs:annotation>
			<xs:documentation>Description of an NTM</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="onset" type="ntm_time_slice_mode_onset">
				<xs:annotation>
					<xs:documentation>NTM onset characteristics</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="width">
				<xs:annotation>
					<xs:documentation>Full width of the mode</xs:documentation>
					<xs:appinfo>
						<type>dynamic</type>
						<units>m</units>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="FLT_0D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="dwidth_dt">
				<xs:annotation>
					<xs:documentation>Time derivative of the full width of the mode</xs:documentation>
					<xs:appinfo>
						<type>dynamic</type>
						<units>m/s</units>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="FLT_0D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="phase">
				<xs:annotation>
					<xs:documentation>Phase of the mode</xs:documentation>
					<xs:appinfo>
						<type>dynamic</type>
						<units>rad</units>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="FLT_0D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="dphase_dt">
				<xs:annotation>
					<xs:documentation>Time derivative of the phase of the mode</xs:documentation>
					<xs:appinfo>
						<type>dynamic</type>
						<units>rad/s</units>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="FLT_0D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="frequency">
				<xs:annotation>
					<xs:documentation>Frequency of the mode</xs:documentation>
					<xs:appinfo>
						<type>dynamic</type>
						<units>Hz</units>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="FLT_0D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="dfrequency_dt">
				<xs:annotation>
					<xs:documentation>Time derivative of the frequency of the mode</xs:documentation>
					<xs:appinfo>
						<type>dynamic</type>
						<units>s^-2</units>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="FLT_0D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="n_tor">
				<xs:annotation>
					<xs:documentation>Toroidal mode number</xs:documentation>
					<xs:appinfo>
						<type>dynamic</type>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="INT_0D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="m_pol">
				<xs:annotation>
					<xs:documentation>Poloidal mode number</xs:documentation>
					<xs:appinfo>
						<type>dynamic</type>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="INT_0D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="deltaw" type="ntm_time_slice_mode_evolution_deltaw" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>deltaw contributions to the Rutherford equation</xs:documentation>
					<xs:appinfo>
						<coordinate1>1...N</coordinate1>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element name="torque" type="ntm_time_slice_mode_evolution_torque" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>torque contributions to the Rutherford equation</xs:documentation>
					<xs:appinfo>
						<coordinate1>1...N</coordinate1>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element name="calculation_method">
				<xs:annotation>
					<xs:documentation>Description of how the mode evolution is calculated</xs:documentation>
					<xs:appinfo>
						<type>dynamic</type>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="STR_0D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="delta_diff">
				<xs:annotation>
					<xs:documentation>Extra diffusion coefficient for the transport equations of Te, ne, Ti </xs:documentation>
					<xs:appinfo>
						<type>dynamic</type>
						<coordinate1>1...3</coordinate1>
						<units>m^2.s^-1</units>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="FLT_1D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="rho_tor_norm">
				<xs:annotation>
					<xs:documentation>Normalised flux coordinate on which the mode is centred</xs:documentation>
					<xs:appinfo>
						<units>-</units>
						<type>dynamic</type>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="FLT_0D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="rho_tor">
				<xs:annotation>
					<xs:documentation>Flux coordinate on which the mode is centred</xs:documentation>
					<xs:appinfo>
						<units>m</units>
						<type>dynamic</type>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="FLT_0D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="detailed_evolution" type="ntm_time_slice_mode_detailed_evolution">
				<xs:annotation>
					<xs:documentation>Detailed NTM evolution on a finer timebase than the time_slice array of structure</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ntm_time_slice">
		<xs:annotation>
			<xs:documentation>Time slice description of NTMs</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="mode" type="ntm_time_slice_mode" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>List of the various NTM modes appearing during the simulation. If a mode appears several times, use several indices in this array of structure with the same m,n values.</xs:documentation>
					<xs:appinfo>
						<coordinate1>1...N</coordinate1>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
			<xs:element name="time" type="flt_type">
				<xs:annotation>
					<xs:documentation>Time</xs:documentation>
					<xs:appinfo>
						<units>s</units>
						<type>dynamic</type>
					</xs:appinfo>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="ntms">
		<xs:annotation>
			<xs:documentation>Description of neoclassical tearing modes</xs:documentation>
			<xs:appinfo>
				<lifecycle_status>alpha</lifecycle_status>
				<lifecycle_version>3.0.4</lifecycle_version>
				<lifecycle_last_change>3.0.4</lifecycle_last_change>
			</xs:appinfo>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="ids_properties"/>
				<xs:element name="vacuum_toroidal_field" type="b_tor_vacuum_1">
					<xs:annotation>
						<xs:documentation>Characteristics of the vacuum toroidal field (used in rho_tor definition)</xs:documentation>
						<xs:appinfo>
							<cocos_alias>IDSPATH</cocos_alias>
							<cocos_replace>ntms.vacuum_toroidal_field</cocos_replace>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
				<xs:element name="time_slice" type="ntm_time_slice" maxOccurs="unbounded">
					<xs:annotation>
						<xs:documentation>Description of neoclassical tearing modes for various time slices</xs:documentation>
						<xs:appinfo>
							<coordinate1>time</coordinate1>
							<type>dynamic</type>
						</xs:appinfo>
					</xs:annotation>
				</xs:element>
				<xs:element ref="code"/>
				<xs:element ref="time"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
</xs:schema>
