mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Added MGXS library rnc/rng data
This commit is contained in:
parent
56d8ea0413
commit
85a4c3f272
3 changed files with 376 additions and 1 deletions
|
|
@ -168,7 +168,7 @@ attributes/sub-elements required to describe the meta-data:
|
|||
tabular format should be performed or not. A value of ``true`` means
|
||||
the conversion should be performed, ``false`` means it should not.
|
||||
|
||||
*Default*: ``True``
|
||||
*Default*: ``true``
|
||||
|
||||
:num_points:
|
||||
If the conversion is to take place the number of tabular points is
|
||||
|
|
|
|||
61
src/relaxng/mg_cross_sections.rnc
Normal file
61
src/relaxng/mg_cross_sections.rnc
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
element cross_sections {
|
||||
|
||||
element groups { xsd:int } &
|
||||
|
||||
element group_structure { list { xsd:double+ } } &
|
||||
|
||||
element inverse_velocities { list { xsd:double+ } }? &
|
||||
|
||||
element xsdata {
|
||||
(element name { xsd:string { maxLength = "15" } } |
|
||||
attribute name { xsd:string { maxLength = "15" } }) &
|
||||
(element alias { xsd:string { maxLength = "15" } } |
|
||||
attribute alias { xsd:string { maxLength = "15" } })? &
|
||||
(element kT { xsd:double } | attribute kT { xsd:double })? &
|
||||
(element fissionable { ( "true" | "false" ) } |
|
||||
attribute fissionable { ( "true" | "false" ) }) &
|
||||
(element representation { ( "isotropic" | "angle" ) } |
|
||||
attribute representation { ( "isotropic" | "angle" ) })? &
|
||||
(element num_azimuthal { xsd:positiveInteger } |
|
||||
attribute num_azimuthal { xsd:positiveInteger })? &
|
||||
(element num_polar { xsd:positiveInteger } |
|
||||
attribute num_polar { xsd:positiveInteger })? &
|
||||
(element scatt_type { ( "legendre" | "histogram" | "tabular" ) } |
|
||||
attribute scatt_type { ( "legendre" | "histogram" | "tabular" ) })? &
|
||||
(element order { xsd:positiveInteger } |
|
||||
attribute order { xsd:positiveInteger }) &
|
||||
element tabular_legendre {
|
||||
(element enable { ( "true" | "false" ) } |
|
||||
attribute enable { ( "true" | "false" ) })? &
|
||||
(element num_points { xsd:positiveInteger } |
|
||||
attribute num_points { xsd:positiveInteger })?
|
||||
}? &
|
||||
|
||||
(element total { list { xsd:double+ } } |
|
||||
attribute total { list { xsd:double+ } })? &
|
||||
|
||||
(element absorption { list { xsd:double+ } } |
|
||||
attribute absorption { list { xsd:double+ } }) &
|
||||
|
||||
(element scatter { list { xsd:double+ } } |
|
||||
attribute scatter { list { xsd:double+ } }) &
|
||||
|
||||
(element fission { list { xsd:double+ } } |
|
||||
attribute fission { list { xsd:double+ } })? &
|
||||
|
||||
(element fission { list { xsd:double+ } } |
|
||||
attribute fission { list { xsd:double+ } })? &
|
||||
|
||||
(element k_fission { list { xsd:double+ } } |
|
||||
attribute k_fission { list { xsd:double+ } })? &
|
||||
|
||||
(element chi { list { xsd:double+ } } |
|
||||
attribute chi { list { xsd:double+ } })? &
|
||||
|
||||
(element nu_fission { list { xsd:double+ } } |
|
||||
attribute nu_fission { list { xsd:double+ } })?
|
||||
|
||||
}*
|
||||
|
||||
|
||||
}
|
||||
314
src/relaxng/mg_cross_sections.rng
Normal file
314
src/relaxng/mg_cross_sections.rng
Normal file
|
|
@ -0,0 +1,314 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<element name="cross_sections" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
||||
<interleave>
|
||||
<element name="groups">
|
||||
<data type="int"/>
|
||||
</element>
|
||||
<element name="group_structure">
|
||||
<list>
|
||||
<oneOrMore>
|
||||
<data type="double"/>
|
||||
</oneOrMore>
|
||||
</list>
|
||||
</element>
|
||||
<optional>
|
||||
<element name="inverse_velocities">
|
||||
<list>
|
||||
<oneOrMore>
|
||||
<data type="double"/>
|
||||
</oneOrMore>
|
||||
</list>
|
||||
</element>
|
||||
</optional>
|
||||
<zeroOrMore>
|
||||
<element name="xsdata">
|
||||
<interleave>
|
||||
<choice>
|
||||
<element name="name">
|
||||
<data type="string">
|
||||
<param name="maxLength">15</param>
|
||||
</data>
|
||||
</element>
|
||||
<attribute name="name">
|
||||
<data type="string">
|
||||
<param name="maxLength">15</param>
|
||||
</data>
|
||||
</attribute>
|
||||
</choice>
|
||||
<optional>
|
||||
<choice>
|
||||
<element name="alias">
|
||||
<data type="string">
|
||||
<param name="maxLength">15</param>
|
||||
</data>
|
||||
</element>
|
||||
<attribute name="alias">
|
||||
<data type="string">
|
||||
<param name="maxLength">15</param>
|
||||
</data>
|
||||
</attribute>
|
||||
</choice>
|
||||
</optional>
|
||||
<optional>
|
||||
<choice>
|
||||
<element name="kT">
|
||||
<data type="double"/>
|
||||
</element>
|
||||
<attribute name="kT">
|
||||
<data type="double"/>
|
||||
</attribute>
|
||||
</choice>
|
||||
</optional>
|
||||
<choice>
|
||||
<element name="fissionable">
|
||||
<choice>
|
||||
<value>true</value>
|
||||
<value>false</value>
|
||||
</choice>
|
||||
</element>
|
||||
<attribute name="fissionable">
|
||||
<choice>
|
||||
<value>true</value>
|
||||
<value>false</value>
|
||||
</choice>
|
||||
</attribute>
|
||||
</choice>
|
||||
<optional>
|
||||
<choice>
|
||||
<element name="representation">
|
||||
<choice>
|
||||
<value>isotropic</value>
|
||||
<value>angle</value>
|
||||
</choice>
|
||||
</element>
|
||||
<attribute name="representation">
|
||||
<choice>
|
||||
<value>isotropic</value>
|
||||
<value>angle</value>
|
||||
</choice>
|
||||
</attribute>
|
||||
</choice>
|
||||
</optional>
|
||||
<optional>
|
||||
<choice>
|
||||
<element name="num_azimuthal">
|
||||
<data type="positiveInteger"/>
|
||||
</element>
|
||||
<attribute name="num_azimuthal">
|
||||
<data type="positiveInteger"/>
|
||||
</attribute>
|
||||
</choice>
|
||||
</optional>
|
||||
<optional>
|
||||
<choice>
|
||||
<element name="num_polar">
|
||||
<data type="positiveInteger"/>
|
||||
</element>
|
||||
<attribute name="num_polar">
|
||||
<data type="positiveInteger"/>
|
||||
</attribute>
|
||||
</choice>
|
||||
</optional>
|
||||
<optional>
|
||||
<choice>
|
||||
<element name="scatt_type">
|
||||
<choice>
|
||||
<value>legendre</value>
|
||||
<value>histogram</value>
|
||||
<value>tabular</value>
|
||||
</choice>
|
||||
</element>
|
||||
<attribute name="scatt_type">
|
||||
<choice>
|
||||
<value>legendre</value>
|
||||
<value>histogram</value>
|
||||
<value>tabular</value>
|
||||
</choice>
|
||||
</attribute>
|
||||
</choice>
|
||||
</optional>
|
||||
<choice>
|
||||
<element name="order">
|
||||
<data type="positiveInteger"/>
|
||||
</element>
|
||||
<attribute name="order">
|
||||
<data type="positiveInteger"/>
|
||||
</attribute>
|
||||
</choice>
|
||||
<optional>
|
||||
<element name="tabular_legendre">
|
||||
<interleave>
|
||||
<optional>
|
||||
<choice>
|
||||
<element name="enable">
|
||||
<choice>
|
||||
<value>true</value>
|
||||
<value>false</value>
|
||||
</choice>
|
||||
</element>
|
||||
<attribute name="enable">
|
||||
<choice>
|
||||
<value>true</value>
|
||||
<value>false</value>
|
||||
</choice>
|
||||
</attribute>
|
||||
</choice>
|
||||
</optional>
|
||||
<optional>
|
||||
<choice>
|
||||
<element name="num_points">
|
||||
<data type="positiveInteger"/>
|
||||
</element>
|
||||
<attribute name="num_points">
|
||||
<data type="positiveInteger"/>
|
||||
</attribute>
|
||||
</choice>
|
||||
</optional>
|
||||
</interleave>
|
||||
</element>
|
||||
</optional>
|
||||
<optional>
|
||||
<choice>
|
||||
<element name="total">
|
||||
<list>
|
||||
<oneOrMore>
|
||||
<data type="double"/>
|
||||
</oneOrMore>
|
||||
</list>
|
||||
</element>
|
||||
<attribute name="total">
|
||||
<list>
|
||||
<oneOrMore>
|
||||
<data type="double"/>
|
||||
</oneOrMore>
|
||||
</list>
|
||||
</attribute>
|
||||
</choice>
|
||||
</optional>
|
||||
<choice>
|
||||
<element name="absorption">
|
||||
<list>
|
||||
<oneOrMore>
|
||||
<data type="double"/>
|
||||
</oneOrMore>
|
||||
</list>
|
||||
</element>
|
||||
<attribute name="absorption">
|
||||
<list>
|
||||
<oneOrMore>
|
||||
<data type="double"/>
|
||||
</oneOrMore>
|
||||
</list>
|
||||
</attribute>
|
||||
</choice>
|
||||
<choice>
|
||||
<element name="scatter">
|
||||
<list>
|
||||
<oneOrMore>
|
||||
<data type="double"/>
|
||||
</oneOrMore>
|
||||
</list>
|
||||
</element>
|
||||
<attribute name="scatter">
|
||||
<list>
|
||||
<oneOrMore>
|
||||
<data type="double"/>
|
||||
</oneOrMore>
|
||||
</list>
|
||||
</attribute>
|
||||
</choice>
|
||||
<optional>
|
||||
<choice>
|
||||
<element name="fission">
|
||||
<list>
|
||||
<oneOrMore>
|
||||
<data type="double"/>
|
||||
</oneOrMore>
|
||||
</list>
|
||||
</element>
|
||||
<attribute name="fission">
|
||||
<list>
|
||||
<oneOrMore>
|
||||
<data type="double"/>
|
||||
</oneOrMore>
|
||||
</list>
|
||||
</attribute>
|
||||
</choice>
|
||||
</optional>
|
||||
<optional>
|
||||
<choice>
|
||||
<element name="fission">
|
||||
<list>
|
||||
<oneOrMore>
|
||||
<data type="double"/>
|
||||
</oneOrMore>
|
||||
</list>
|
||||
</element>
|
||||
<attribute name="fission">
|
||||
<list>
|
||||
<oneOrMore>
|
||||
<data type="double"/>
|
||||
</oneOrMore>
|
||||
</list>
|
||||
</attribute>
|
||||
</choice>
|
||||
</optional>
|
||||
<optional>
|
||||
<choice>
|
||||
<element name="k_fission">
|
||||
<list>
|
||||
<oneOrMore>
|
||||
<data type="double"/>
|
||||
</oneOrMore>
|
||||
</list>
|
||||
</element>
|
||||
<attribute name="k_fission">
|
||||
<list>
|
||||
<oneOrMore>
|
||||
<data type="double"/>
|
||||
</oneOrMore>
|
||||
</list>
|
||||
</attribute>
|
||||
</choice>
|
||||
</optional>
|
||||
<optional>
|
||||
<choice>
|
||||
<element name="chi">
|
||||
<list>
|
||||
<oneOrMore>
|
||||
<data type="double"/>
|
||||
</oneOrMore>
|
||||
</list>
|
||||
</element>
|
||||
<attribute name="chi">
|
||||
<list>
|
||||
<oneOrMore>
|
||||
<data type="double"/>
|
||||
</oneOrMore>
|
||||
</list>
|
||||
</attribute>
|
||||
</choice>
|
||||
</optional>
|
||||
<optional>
|
||||
<choice>
|
||||
<element name="nu_fission">
|
||||
<list>
|
||||
<oneOrMore>
|
||||
<data type="double"/>
|
||||
</oneOrMore>
|
||||
</list>
|
||||
</element>
|
||||
<attribute name="nu_fission">
|
||||
<list>
|
||||
<oneOrMore>
|
||||
<data type="double"/>
|
||||
</oneOrMore>
|
||||
</list>
|
||||
</attribute>
|
||||
</choice>
|
||||
</optional>
|
||||
</interleave>
|
||||
</element>
|
||||
</zeroOrMore>
|
||||
</interleave>
|
||||
</element>
|
||||
Loading…
Add table
Add a link
Reference in a new issue