From 1cb22075efdb90570f233a3d26151f7b763f8529 Mon Sep 17 00:00:00 2001 From: Patrick Myers <90068356+myerspat@users.noreply.github.com> Date: Tue, 9 May 2023 11:41:04 -0400 Subject: [PATCH] Changed xml to lxml (#2489) --- docs/requirements-rtd.txt | 1 + openmc/_xml.py | 6 +- openmc/cell.py | 6 +- openmc/data/library.py | 2 +- openmc/deplete/chain.py | 16 +- openmc/deplete/nuclide.py | 25 +- openmc/element.py | 2 +- openmc/filter.py | 14 +- openmc/filter_expansion.py | 10 +- openmc/geometry.py | 4 +- openmc/lattice.py | 8 +- openmc/material.py | 12 +- openmc/mesh.py | 28 +- openmc/model/model.py | 10 +- openmc/plots.py | 16 +- openmc/settings.py | 4 +- openmc/source.py | 6 +- openmc/stats/multivariate.py | 38 +- openmc/stats/univariate.py | 34 +- openmc/surface.py | 12 +- openmc/tallies.py | 8 +- openmc/tally_derivative.py | 6 +- openmc/trigger.py | 6 +- openmc/universe.py | 6 +- openmc/volume.py | 6 +- openmc/weight_windows.py | 8 +- .../adj_cell_rotation/inputs_true.dat | 32 +- .../asymmetric_lattice/inputs_true.dat | 286 +-- .../cpp_driver/inputs_true.dat | 36 +- .../create_fission_neutrons/inputs_true.dat | 22 +- .../dagmc/external/inputs_true.dat | 14 +- .../dagmc/legacy/inputs_true.dat | 14 +- .../dagmc/refl/inputs_true.dat | 2 +- .../dagmc/universes/inputs_true.dat | 50 +- .../dagmc/uwuw/inputs_true.dat | 2 +- .../last_step_reference_materials.xml | 1804 ++++++++--------- .../diff_tally/inputs_true.dat | 344 ++-- .../distribmat/inputs_true.dat | 32 +- .../eigenvalue_genperbatch/inputs_true.dat | 8 +- .../energy_cutoff/inputs_true.dat | 20 +- .../energy_laws/inputs_true.dat | 16 +- .../external_moab/inputs_true.dat | 66 +- .../filter_cellinstance/inputs_true.dat | 32 +- .../filter_energyfun/inputs_true.dat | 8 +- .../filter_mesh/inputs_true.dat | 32 +- .../filter_translations/inputs_true.dat | 32 +- .../fixed_source/inputs_true.dat | 10 +- .../iso_in_lab/inputs_true.dat | 334 +-- .../lattice_hex_coincident/inputs_true.dat | 76 +- .../lattice_hex_x/inputs_true.dat | 96 +- .../lattice_multiple/inputs_true.dat | 38 +- .../lattice_rotated/inputs_true.dat | 42 +- .../regression_tests/mg_basic/inputs_true.dat | 52 +- .../mg_basic_delayed/inputs_true.dat | 50 +- .../mg_convert/inputs_true.dat | 14 +- .../mg_legendre/inputs_true.dat | 10 +- .../mg_max_order/inputs_true.dat | 10 +- .../mg_survival_biasing/inputs_true.dat | 10 +- .../mg_tallies/inputs_true.dat | 10 +- .../mgxs_library_ce_to_mg/inputs_true.dat | 52 +- .../inputs_true.dat | 52 +- .../mgxs_library_condense/inputs_true.dat | 52 +- .../mgxs_library_correction/inputs_true.dat | 52 +- .../mgxs_library_distribcell/inputs_true.dat | 60 +- .../mgxs_library_hdf5/inputs_true.dat | 52 +- .../mgxs_library_histogram/inputs_true.dat | 52 +- .../mgxs_library_mesh/inputs_true.dat | 32 +- .../mgxs_library_no_nuclides/inputs_true.dat | 52 +- .../mgxs_library_nuclides/inputs_true.dat | 52 +- .../inputs_true.dat | 52 +- .../adj_cell_rotation_inputs_true.dat | 32 +- .../model_xml/energy_laws_inputs_true.dat | 16 +- .../model_xml/inputs_true.dat | 20 +- .../lattice_multiple_inputs_true.dat | 38 +- .../photon_production_inputs_true.dat | 20 +- .../multipole/inputs_true.dat | 30 +- .../regression_tests/ncrystal/inputs_true.dat | 14 +- .../regression_tests/periodic/inputs_true.dat | 30 +- .../periodic_6fold/inputs_true.dat | 24 +- .../periodic_hex/inputs_true.dat | 18 +- .../photon_production/inputs_true.dat | 20 +- .../photon_production_fission/inputs_true.dat | 8 +- .../photon_source/inputs_true.dat | 16 +- .../resonance_scattering/inputs_true.dat | 14 +- .../salphabeta/inputs_true.dat | 68 +- .../score_current/inputs_true.dat | 32 +- tests/regression_tests/source/inputs_true.dat | 66 +- .../source_dlopen/inputs_true.dat | 16 +- .../inputs_true.dat | 16 +- .../surface_source/inputs_true_read.dat | 16 +- .../surface_source/inputs_true_write.dat | 16 +- .../surface_tally/inputs_true.dat | 32 +- .../regression_tests/tallies/inputs_true.dat | 334 +-- .../tally_aggregation/inputs_true.dat | 34 +- .../tally_arithmetic/inputs_true.dat | 24 +- .../tally_slice_merge/inputs_true.dat | 334 +-- tests/regression_tests/torus/inputs_true.dat | 34 +- .../torus/large_major/inputs_true.dat | 20 +- .../inputs_true.dat | 8 +- tests/regression_tests/triso/inputs_true.dat | 788 +++---- .../unstructured_mesh/inputs_true.dat | 66 +- .../unstructured_mesh/inputs_true0.dat | 66 +- .../unstructured_mesh/inputs_true1.dat | 66 +- .../unstructured_mesh/inputs_true10.dat | 66 +- .../unstructured_mesh/inputs_true11.dat | 66 +- .../unstructured_mesh/inputs_true12.dat | 66 +- .../unstructured_mesh/inputs_true13.dat | 66 +- .../unstructured_mesh/inputs_true14.dat | 66 +- .../unstructured_mesh/inputs_true15.dat | 66 +- .../unstructured_mesh/inputs_true2.dat | 66 +- .../unstructured_mesh/inputs_true3.dat | 66 +- .../unstructured_mesh/inputs_true4.dat | 68 +- .../unstructured_mesh/inputs_true5.dat | 68 +- .../unstructured_mesh/inputs_true6.dat | 68 +- .../unstructured_mesh/inputs_true7.dat | 68 +- .../unstructured_mesh/inputs_true8.dat | 66 +- .../unstructured_mesh/inputs_true9.dat | 66 +- tests/regression_tests/void/inputs_true.dat | 206 +- .../volume_calc/inputs_true.dat | 38 +- .../volume_calc/inputs_true_mg.dat | 36 +- .../weightwindows/inputs_true.dat | 48 +- tests/unit_tests/test_cell.py | 2 +- tests/unit_tests/test_deplete_nuclide.py | 4 +- tests/unit_tests/test_geometry.py | 2 +- tests/unit_tests/test_lattice.py | 2 +- tests/unit_tests/test_universe.py | 2 +- 126 files changed, 4023 insertions(+), 4043 deletions(-) diff --git a/docs/requirements-rtd.txt b/docs/requirements-rtd.txt index 9591d482f6..df03335170 100644 --- a/docs/requirements-rtd.txt +++ b/docs/requirements-rtd.txt @@ -10,3 +10,4 @@ h5py pandas uncertainties matplotlib +lxml diff --git a/openmc/_xml.py b/openmc/_xml.py index 78bcbc264f..b40ecb258a 100644 --- a/openmc/_xml.py +++ b/openmc/_xml.py @@ -43,7 +43,7 @@ def get_text(elem, name, default=None): Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element Element from which to search name : str Name of attribute/subelement @@ -68,7 +68,7 @@ def reorder_attributes(root): Parameters ---------- - root : xml.etree.ElementTree.Element + root : lxml.etree._Element Root element """ @@ -86,7 +86,7 @@ def get_elem_tuple(elem, name, dtype=int): Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element XML element that should contain a tuple name : str Name of the subelement to obtain tuple from diff --git a/openmc/cell.py b/openmc/cell.py index 67735ef5e9..5797bc0f62 100644 --- a/openmc/cell.py +++ b/openmc/cell.py @@ -2,7 +2,7 @@ from collections import OrderedDict from collections.abc import Iterable from math import cos, sin, pi from numbers import Real -from xml.etree import ElementTree as ET +import lxml.etree as ET import numpy as np from uncertainties import UFloat @@ -565,7 +565,7 @@ class Cell(IDManagerMixin): Parameters ---------- - xml_element : xml.etree.ElementTree.Element + xml_element : lxml.etree._Element XML element to be added to memo : set or None @@ -653,7 +653,7 @@ class Cell(IDManagerMixin): Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element `` element surfaces : dict Dictionary mapping surface IDs to :class:`openmc.Surface` instances diff --git a/openmc/data/library.py b/openmc/data/library.py index 5cafd19617..210270749a 100644 --- a/openmc/data/library.py +++ b/openmc/data/library.py @@ -1,5 +1,5 @@ import os -import xml.etree.ElementTree as ET +import lxml.etree as ET import pathlib import h5py diff --git a/openmc/deplete/chain.py b/openmc/deplete/chain.py index 5e3157f904..d23cf374cd 100644 --- a/openmc/deplete/chain.py +++ b/openmc/deplete/chain.py @@ -19,15 +19,7 @@ from openmc.data import gnds_name, zam, DataLibrary from openmc.exceptions import DataError from .nuclide import FissionYieldDistribution -# Try to use lxml if it is available. It preserves the order of attributes and -# provides a pretty-printer by default. If not available, -# use OpenMC function to pretty print. -try: - import lxml.etree as ET - _have_lxml = True -except ImportError: - import xml.etree.ElementTree as ET - _have_lxml = False +import lxml.etree as ET import scipy.sparse as sp import openmc.data @@ -565,11 +557,7 @@ class Chain: root_elem.append(nuclide.to_xml_element()) tree = ET.ElementTree(root_elem) - if _have_lxml: - tree.write(str(filename), encoding='utf-8', pretty_print=True) - else: - clean_indentation(root_elem) - tree.write(str(filename), encoding='utf-8') + tree.write(str(filename), encoding='utf-8', pretty_print=True) def get_default_fission_yields(self): """Return fission yields at lowest incident neutron energy diff --git a/openmc/deplete/nuclide.py b/openmc/deplete/nuclide.py index 2e9673d5f7..e2067a8e35 100644 --- a/openmc/deplete/nuclide.py +++ b/openmc/deplete/nuclide.py @@ -1,4 +1,4 @@ -"""Nuclide module. +"""Nuclide module.xml.etree.Ele Contains the per-nuclide components of a depletion chain. """ @@ -8,10 +8,7 @@ from collections.abc import Mapping from collections import namedtuple, defaultdict from warnings import warn from numbers import Real -try: - import lxml.etree as ET -except ImportError: - import xml.etree.ElementTree as ET +import lxml.etree as ET import numpy as np @@ -212,9 +209,9 @@ class Nuclide: Parameters ---------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element to read nuclide data from - root : xml.etree.ElementTree.Element, optional + root : lxml.etree._Element, optional Root XML element for chain file (only used when fission product yields are borrowed from another parent) fission_q : None or float @@ -297,7 +294,7 @@ class Nuclide: Returns ------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element XML element to write nuclide data to """ @@ -318,13 +315,7 @@ class Nuclide: # Write decay sources if self.sources: for particle, source in self.sources.items(): - # TODO: Ugly hack to deal with the fact that - # 'source.to_xml_element' will return an xml.etree object - # whereas here lxml is being used preferentially. We should just - # switch to use lxml everywhere - import xml.etree.ElementTree as etree - src_elem_xmletree = source.to_xml_element('source') - src_elem = ET.fromstring(etree.tostring(src_elem_xmletree)) + src_elem = source.to_xml_element('source') src_elem.set('particle', particle) elem.append(src_elem) @@ -529,7 +520,7 @@ class FissionYieldDistribution(Mapping): Parameters ---------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element to pull fission yield data from Returns @@ -551,7 +542,7 @@ class FissionYieldDistribution(Mapping): Parameters ---------- - root : xml.etree.ElementTree.Element + root : lxml.etree._Element Element to write distribution data to """ for energy, yield_obj in self.items(): diff --git a/openmc/element.py b/openmc/element.py index f1a5d31d3e..bc3195aea4 100644 --- a/openmc/element.py +++ b/openmc/element.py @@ -1,6 +1,6 @@ from collections import OrderedDict import re -from xml.etree import ElementTree as ET +import lxml.etree as ET import openmc.checkvalue as cv import openmc diff --git a/openmc/filter.py b/openmc/filter.py index 5233908c8d..1ad2892783 100644 --- a/openmc/filter.py +++ b/openmc/filter.py @@ -4,8 +4,8 @@ from collections.abc import Iterable import hashlib from itertools import product from numbers import Real, Integral +import lxml.etree as ET import warnings -from xml.etree import ElementTree as ET import numpy as np import pandas as pd @@ -229,7 +229,7 @@ class Filter(IDManagerMixin, metaclass=FilterMeta): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing filter data """ @@ -247,7 +247,7 @@ class Filter(IDManagerMixin, metaclass=FilterMeta): Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element XML element **kwargs Keyword arguments (e.g., mesh information) @@ -662,7 +662,7 @@ class CellInstanceFilter(Filter): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing filter data """ @@ -938,7 +938,7 @@ class MeshFilter(Filter): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing filter data """ @@ -1284,7 +1284,7 @@ class RealFilter(Filter): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing filter data """ @@ -2120,7 +2120,7 @@ class EnergyFunctionFilter(Filter): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing filter data """ diff --git a/openmc/filter_expansion.py b/openmc/filter_expansion.py index 1c07f58b71..f05f39fe9b 100644 --- a/openmc/filter_expansion.py +++ b/openmc/filter_expansion.py @@ -1,5 +1,5 @@ from numbers import Integral, Real -from xml.etree import ElementTree as ET +import lxml.etree as ET import openmc.checkvalue as cv from . import Filter @@ -33,7 +33,7 @@ class ExpansionFilter(Filter): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing Legendre filter data """ @@ -218,7 +218,7 @@ class SpatialLegendreFilter(ExpansionFilter): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing Legendre filter data """ @@ -323,7 +323,7 @@ class SphericalHarmonicsFilter(ExpansionFilter): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing spherical harmonics filter data """ @@ -473,7 +473,7 @@ class ZernikeFilter(ExpansionFilter): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing Zernike filter data """ diff --git a/openmc/geometry.py b/openmc/geometry.py index dbfce731fc..9038895b84 100644 --- a/openmc/geometry.py +++ b/openmc/geometry.py @@ -6,7 +6,7 @@ from copy import deepcopy from collections.abc import Iterable from pathlib import Path import warnings -from xml.etree import ElementTree as ET +import lxml.etree as ET import numpy as np @@ -172,7 +172,7 @@ class Geometry: Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element XML element materials : openmc.Materials or None Materials used to assign to cells. If None, an attempt is made to diff --git a/openmc/lattice.py b/openmc/lattice.py index b067b47a3d..37faaf00fc 100644 --- a/openmc/lattice.py +++ b/openmc/lattice.py @@ -5,7 +5,7 @@ from copy import deepcopy from math import sqrt, floor from numbers import Real import types -from xml.etree import ElementTree as ET +import lxml.etree as ET import numpy as np @@ -833,7 +833,7 @@ class RectLattice(Lattice): Parameters ---------- - xml_element : xml.etree.ElementTree.Element + xml_element : lxml.etree._Element XML element to be added to memo : set or None @@ -932,7 +932,7 @@ class RectLattice(Lattice): Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element `` element get_universe : function Function returning universe (defined in @@ -1502,7 +1502,7 @@ class HexLattice(Lattice): Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element `` element get_universe : function Function returning universe (defined in diff --git a/openmc/material.py b/openmc/material.py index c84ff8c276..20041aa53c 100644 --- a/openmc/material.py +++ b/openmc/material.py @@ -8,7 +8,7 @@ import re import typing # imported separately as py3.8 requires typing.Iterable import warnings from typing import Optional, List, Union, Dict -from xml.etree import ElementTree as ET +import lxml.etree as ET import numpy as np import h5py @@ -1274,7 +1274,7 @@ class Material(IDManagerMixin): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing material data """ @@ -1442,7 +1442,7 @@ class Material(IDManagerMixin): Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element XML element Returns @@ -1598,7 +1598,7 @@ class Materials(cv.CheckedList): element.tail = element.tail.strip(' ') file.write((level+1)*spaces_per_level*' ') reorder_attributes(element) # TODO: Remove when support is Python 3.8+ - ET.ElementTree(element).write(file, encoding='unicode') + file.write(ET.tostring(element, encoding="unicode")) # Write the elements. for material in sorted(self, key=lambda x: x.id): @@ -1607,7 +1607,7 @@ class Materials(cv.CheckedList): element.tail = element.tail.strip(' ') file.write((level+1)*spaces_per_level*' ') reorder_attributes(element) # TODO: Remove when support is Python 3.8+ - ET.ElementTree(element).write(file, encoding='unicode') + file.write(ET.tostring(element, encoding="unicode")) # Write the closing tag for the root element. file.write(indentation+'\n') @@ -1644,7 +1644,7 @@ class Materials(cv.CheckedList): Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element XML element Returns diff --git a/openmc/mesh.py b/openmc/mesh.py index f606b85261..c4f7443792 100644 --- a/openmc/mesh.py +++ b/openmc/mesh.py @@ -5,7 +5,7 @@ from math import pi from numbers import Real, Integral from pathlib import Path import warnings -from xml.etree import ElementTree as ET +import lxml.etree as ET import numpy as np @@ -103,7 +103,7 @@ class MeshBase(IDManagerMixin, ABC): Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element XML element Returns @@ -568,7 +568,7 @@ class RegularMesh(StructuredMesh): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing mesh data """ @@ -598,7 +598,7 @@ class RegularMesh(StructuredMesh): Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element XML element Returns @@ -949,7 +949,7 @@ class RectilinearMesh(StructuredMesh): Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element XML element Returns @@ -971,7 +971,7 @@ class RectilinearMesh(StructuredMesh): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing mesh data """ @@ -1239,7 +1239,7 @@ class CylindricalMesh(StructuredMesh): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing mesh data """ @@ -1268,7 +1268,7 @@ class CylindricalMesh(StructuredMesh): Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element XML element Returns @@ -1488,7 +1488,7 @@ class SphericalMesh(StructuredMesh): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing mesh data """ @@ -1517,7 +1517,7 @@ class SphericalMesh(StructuredMesh): Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element XML element Returns @@ -1940,7 +1940,7 @@ class UnstructuredMesh(MeshBase): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing mesh data """ @@ -1963,7 +1963,7 @@ class UnstructuredMesh(MeshBase): Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element XML element Returns @@ -1984,7 +1984,7 @@ def _read_meshes(elem): Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element XML element Returns @@ -1998,4 +1998,4 @@ def _read_meshes(elem): mesh = MeshBase.from_xml_element(mesh_elem) out[mesh.id] = mesh - return out \ No newline at end of file + return out diff --git a/openmc/model/model.py b/openmc/model/model.py index 933e1172e4..ede21c64e0 100644 --- a/openmc/model/model.py +++ b/openmc/model/model.py @@ -7,7 +7,7 @@ from pathlib import Path from numbers import Integral from tempfile import NamedTemporaryFile import warnings -from xml.etree import ElementTree as ET +import lxml.etree as ET from typing import Optional, Dict import h5py @@ -527,17 +527,17 @@ class Model: # This will write the XML header also materials._write_xml(fh, False, level=1) # Write remaining elements as a tree - ET.ElementTree(geometry_element).write(fh, encoding='unicode') - ET.ElementTree(settings_element).write(fh, encoding='unicode') + fh.write(ET.tostring(geometry_element, encoding="unicode")) + fh.write(ET.tostring(settings_element, encoding="unicode")) if self.tallies: tallies_element = self.tallies.to_xml_element(mesh_memo) xml.clean_indentation(tallies_element, level=1, trailing_indent=self.plots) - ET.ElementTree(tallies_element).write(fh, encoding='unicode') + fh.write(ET.tostring(tallies_element, encoding="unicode")) if self.plots: plots_element = self.plots.to_xml_element() xml.clean_indentation(plots_element, level=1, trailing_indent=False) - ET.ElementTree(plots_element).write(fh, encoding='unicode') + fh.write(ET.tostring(plots_element, encoding="unicode")) fh.write("\n") def import_properties(self, filename): diff --git a/openmc/plots.py b/openmc/plots.py index 67b65440a2..5d8cf9ba40 100644 --- a/openmc/plots.py +++ b/openmc/plots.py @@ -1,8 +1,8 @@ from collections.abc import Iterable, Mapping from numbers import Integral, Real from pathlib import Path +import lxml.etree as ET from typing import Optional -from xml.etree import ElementTree as ET import h5py import numpy as np @@ -476,7 +476,7 @@ class PlotBase(IDManagerMixin): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing plot data """ @@ -776,7 +776,7 @@ class Plot(PlotBase): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing plot data """ @@ -833,7 +833,7 @@ class Plot(PlotBase): Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element XML element Returns @@ -1170,7 +1170,7 @@ class ProjectionPlot(PlotBase): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing plot data """ @@ -1254,7 +1254,7 @@ class ProjectionPlot(PlotBase): Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element XML element Returns @@ -1428,7 +1428,7 @@ class Plots(cv.CheckedList): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing all plot elements """ @@ -1469,7 +1469,7 @@ class Plots(cv.CheckedList): Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element XML element Returns diff --git a/openmc/settings.py b/openmc/settings.py index aa4276cd52..12703fbfd3 100644 --- a/openmc/settings.py +++ b/openmc/settings.py @@ -8,7 +8,7 @@ from numbers import Integral, Real from pathlib import Path import typing # required to prevent typing.Union namespace overwriting Union from typing import Optional -from xml.etree import ElementTree as ET +import lxml.etree as ET import openmc.checkvalue as cv from openmc.stats.multivariate import MeshSpatial @@ -1706,7 +1706,7 @@ class Settings: Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element XML element meshes : dict or None A dictionary with mesh IDs as keys and mesh instances as values that diff --git a/openmc/source.py b/openmc/source.py index 7f88bcd527..9851ea59d3 100644 --- a/openmc/source.py +++ b/openmc/source.py @@ -5,7 +5,7 @@ import warnings import typing # imported separately as py3.8 requires typing.Iterable # also required to prevent typing.Union namespace overwriting Union from typing import Optional, Sequence -from xml.etree import ElementTree as ET +import lxml.etree as ET import numpy as np import h5py @@ -228,7 +228,7 @@ class Source: Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing source data """ @@ -263,7 +263,7 @@ class Source: Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element XML element meshes : dict Dictionary with mesh IDs as keys and openmc.MeshBase instaces as diff --git a/openmc/stats/multivariate.py b/openmc/stats/multivariate.py index 7372020b01..190dfd64d0 100644 --- a/openmc/stats/multivariate.py +++ b/openmc/stats/multivariate.py @@ -2,7 +2,7 @@ from abc import ABC, abstractmethod from collections.abc import Iterable from math import pi, cos from numbers import Real -from xml.etree import ElementTree as ET +import lxml.etree as ET import numpy as np @@ -121,7 +121,7 @@ class PolarAzimuthal(UnitSphere): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing angular distribution data """ @@ -139,7 +139,7 @@ class PolarAzimuthal(UnitSphere): Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element XML element Returns @@ -168,7 +168,7 @@ class Isotropic(UnitSphere): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing isotropic distribution data """ @@ -182,7 +182,7 @@ class Isotropic(UnitSphere): Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element XML element Returns @@ -217,7 +217,7 @@ class Monodirectional(UnitSphere): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing monodirectional distribution data """ @@ -233,7 +233,7 @@ class Monodirectional(UnitSphere): Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element XML element Returns @@ -341,7 +341,7 @@ class CartesianIndependent(Spatial): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing spatial distribution data """ @@ -358,7 +358,7 @@ class CartesianIndependent(Spatial): Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element XML element Returns @@ -464,7 +464,7 @@ class SphericalIndependent(Spatial): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing spatial distribution data """ @@ -482,7 +482,7 @@ class SphericalIndependent(Spatial): Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element XML element Returns @@ -586,7 +586,7 @@ class CylindricalIndependent(Spatial): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing spatial distribution data """ @@ -604,7 +604,7 @@ class CylindricalIndependent(Spatial): Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element XML element Returns @@ -698,7 +698,7 @@ class MeshSpatial(Spatial): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing spatial distribution data """ @@ -719,7 +719,7 @@ class MeshSpatial(Spatial): Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element XML element meshes : dict A dictionary with mesh IDs as keys and openmc.MeshBase instances as @@ -811,7 +811,7 @@ class Box(Spatial): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing box distribution data """ @@ -831,7 +831,7 @@ class Box(Spatial): Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element XML element Returns @@ -883,7 +883,7 @@ class Point(Spatial): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing point distribution location """ @@ -899,7 +899,7 @@ class Point(Spatial): Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element XML element Returns diff --git a/openmc/stats/univariate.py b/openmc/stats/univariate.py index 240f13d143..b98b87d6f4 100644 --- a/openmc/stats/univariate.py +++ b/openmc/stats/univariate.py @@ -5,7 +5,7 @@ from copy import deepcopy import math from numbers import Real from warnings import warn -from xml.etree import ElementTree as ET +import lxml.etree as ET import numpy as np @@ -173,7 +173,7 @@ class Discrete(Univariate): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing discrete distribution data """ @@ -191,7 +191,7 @@ class Discrete(Univariate): Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element XML element Returns @@ -316,7 +316,7 @@ class Uniform(Univariate): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing uniform distribution data """ @@ -331,7 +331,7 @@ class Uniform(Univariate): Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element XML element Returns @@ -425,7 +425,7 @@ class PowerLaw(Univariate): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing distribution data """ @@ -440,7 +440,7 @@ class PowerLaw(Univariate): Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element XML element Returns @@ -508,7 +508,7 @@ class Maxwell(Univariate): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing Maxwellian distribution data """ @@ -523,7 +523,7 @@ class Maxwell(Univariate): Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element XML element Returns @@ -603,7 +603,7 @@ class Watt(Univariate): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing Watt distribution data """ @@ -618,7 +618,7 @@ class Watt(Univariate): Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element XML element Returns @@ -693,7 +693,7 @@ class Normal(Univariate): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing Watt distribution data """ @@ -708,7 +708,7 @@ class Normal(Univariate): Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element XML element Returns @@ -957,7 +957,7 @@ class Tabular(Univariate): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing tabular distribution data """ @@ -976,7 +976,7 @@ class Tabular(Univariate): Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element XML element Returns @@ -1152,7 +1152,7 @@ class Mixture(Univariate): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing mixture distribution data """ @@ -1174,7 +1174,7 @@ class Mixture(Univariate): Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element XML element Returns diff --git a/openmc/surface.py b/openmc/surface.py index 5d13b39ff0..b195c0af2b 100644 --- a/openmc/surface.py +++ b/openmc/surface.py @@ -4,7 +4,7 @@ from collections.abc import Iterable from copy import deepcopy import math from numbers import Real -from xml.etree import ElementTree as ET +import lxml.etree as ET from warnings import warn, catch_warnings, simplefilter import numpy as np @@ -393,7 +393,7 @@ class Surface(IDManagerMixin, ABC): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing source data """ @@ -417,7 +417,7 @@ class Surface(IDManagerMixin, ABC): Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element XML element Returns @@ -624,7 +624,7 @@ class PlaneMixin: Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing source data """ @@ -1280,7 +1280,7 @@ class Cylinder(QuadricMixin, Surface): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing source data """ @@ -1802,7 +1802,7 @@ class Cone(QuadricMixin, Surface): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing source data """ diff --git a/openmc/tallies.py b/openmc/tallies.py index 1a27e1bd49..492336f7e1 100644 --- a/openmc/tallies.py +++ b/openmc/tallies.py @@ -5,7 +5,7 @@ from itertools import product from numbers import Integral, Real import operator from pathlib import Path -from xml.etree import ElementTree as ET +import lxml.etree as ET import h5py import numpy as np @@ -815,7 +815,7 @@ class Tally(IDManagerMixin): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing tally data """ @@ -872,7 +872,7 @@ class Tally(IDManagerMixin): Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element XML element Returns @@ -3226,7 +3226,7 @@ class Tallies(cv.CheckedList): Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element XML element meshes : dict or None A dictionary with mesh IDs as keys and mesh instances as values that diff --git a/openmc/tally_derivative.py b/openmc/tally_derivative.py index 05a27681d5..d8e165e8be 100644 --- a/openmc/tally_derivative.py +++ b/openmc/tally_derivative.py @@ -1,5 +1,5 @@ from numbers import Integral -from xml.etree import ElementTree as ET +import lxml.etree as ET import openmc.checkvalue as cv from .mixin import EqualityMixin, IDManagerMixin @@ -93,7 +93,7 @@ class TallyDerivative(EqualityMixin, IDManagerMixin): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing derivative data """ @@ -112,7 +112,7 @@ class TallyDerivative(EqualityMixin, IDManagerMixin): Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element XML element Returns diff --git a/openmc/trigger.py b/openmc/trigger.py index c5151aa7e0..3f7d8d7d07 100644 --- a/openmc/trigger.py +++ b/openmc/trigger.py @@ -1,6 +1,6 @@ from collections.abc import Iterable from numbers import Real -from xml.etree import ElementTree as ET +import lxml.etree as ET import openmc.checkvalue as cv from .mixin import EqualityMixin @@ -79,7 +79,7 @@ class Trigger(EqualityMixin): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing trigger data """ @@ -97,7 +97,7 @@ class Trigger(EqualityMixin): Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element XML element Returns diff --git a/openmc/universe.py b/openmc/universe.py index afe360094e..dc88bdb040 100644 --- a/openmc/universe.py +++ b/openmc/universe.py @@ -6,7 +6,7 @@ from copy import deepcopy from numbers import Integral, Real from pathlib import Path from tempfile import TemporaryDirectory -from xml.etree import ElementTree as ET +import lxml.etree as ET from warnings import warn import h5py @@ -117,7 +117,7 @@ class UniverseBase(ABC, IDManagerMixin): Parameters ---------- - xml_element : xml.etree.ElementTree.Element + xml_element : lxml.etree._Element XML element to be added to memo : set or None @@ -1048,7 +1048,7 @@ class DAGMCUniverse(UniverseBase): Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element `` element Returns diff --git a/openmc/volume.py b/openmc/volume.py index 5411b3c1d6..363b108c9f 100644 --- a/openmc/volume.py +++ b/openmc/volume.py @@ -1,7 +1,7 @@ from collections import OrderedDict from collections.abc import Iterable, Mapping from numbers import Real, Integral -from xml.etree import ElementTree as ET +import lxml.etree as ET import warnings import numpy as np @@ -333,7 +333,7 @@ class VolumeCalculation: Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing volume calculation data """ @@ -362,7 +362,7 @@ class VolumeCalculation: Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element XML element Returns diff --git a/openmc/weight_windows.py b/openmc/weight_windows.py index 2993db089e..c09e1e862b 100644 --- a/openmc/weight_windows.py +++ b/openmc/weight_windows.py @@ -5,7 +5,7 @@ import pathlib import typing from typing import Iterable, List, Optional, Union, Dict -from xml.etree import ElementTree as ET +import lxml.etree as ET import numpy as np import h5py @@ -313,7 +313,7 @@ class WeightWindows(IDManagerMixin): Returns ------- - element : xml.etree.ElementTree.Element + element : lxml.etree._Element XML element containing the weight window information """ element = ET.Element('weight_windows') @@ -356,9 +356,9 @@ class WeightWindows(IDManagerMixin): Parameters ---------- - elem : xml.etree.ElementTree.Element + elem : lxml.etree._Element XML element - root : xml.etree.ElementTree.Element + root : lxml.etree._Element Root element for the file where meshes can be found Returns diff --git a/tests/regression_tests/adj_cell_rotation/inputs_true.dat b/tests/regression_tests/adj_cell_rotation/inputs_true.dat index 1c4516f42d..48774bb020 100644 --- a/tests/regression_tests/adj_cell_rotation/inputs_true.dat +++ b/tests/regression_tests/adj_cell_rotation/inputs_true.dat @@ -2,27 +2,27 @@ - - + + - - + + - - - - - - - - - - - - + + + + + + + + + + + + eigenvalue diff --git a/tests/regression_tests/asymmetric_lattice/inputs_true.dat b/tests/regression_tests/asymmetric_lattice/inputs_true.dat index b247412e51..6a09b10a32 100644 --- a/tests/regression_tests/asymmetric_lattice/inputs_true.dat +++ b/tests/regression_tests/asymmetric_lattice/inputs_true.dat @@ -2,162 +2,162 @@ - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - + + + + + + + + + 1.26 1.26 17 17 @@ -190,18 +190,18 @@ 8 8 8 7 7 7 - - - - - - - - - - - - + + + + + + + + + + + + eigenvalue diff --git a/tests/regression_tests/cpp_driver/inputs_true.dat b/tests/regression_tests/cpp_driver/inputs_true.dat index cdace34f05..5d067cb685 100644 --- a/tests/regression_tests/cpp_driver/inputs_true.dat +++ b/tests/regression_tests/cpp_driver/inputs_true.dat @@ -2,25 +2,25 @@ - - + + - - + + - - - + + + - - - - - + + + + + 4.0 4.0 2 2 @@ -29,12 +29,12 @@ 2 2 2 2 - - - - - - + + + + + + eigenvalue diff --git a/tests/regression_tests/create_fission_neutrons/inputs_true.dat b/tests/regression_tests/create_fission_neutrons/inputs_true.dat index f79ba379c4..8ee6f8b64f 100644 --- a/tests/regression_tests/create_fission_neutrons/inputs_true.dat +++ b/tests/regression_tests/create_fission_neutrons/inputs_true.dat @@ -2,19 +2,19 @@ - - - + + + - - - - - - - + + + + + + + fixed source @@ -24,7 +24,7 @@ -1 -1 -1 1 1 1 - + false diff --git a/tests/regression_tests/dagmc/external/inputs_true.dat b/tests/regression_tests/dagmc/external/inputs_true.dat index 5547f333cf..7237f4d463 100644 --- a/tests/regression_tests/dagmc/external/inputs_true.dat +++ b/tests/regression_tests/dagmc/external/inputs_true.dat @@ -2,18 +2,18 @@ - - + + - - - - + + + + - + eigenvalue diff --git a/tests/regression_tests/dagmc/legacy/inputs_true.dat b/tests/regression_tests/dagmc/legacy/inputs_true.dat index 89d458a2b8..b6e5133a4f 100644 --- a/tests/regression_tests/dagmc/legacy/inputs_true.dat +++ b/tests/regression_tests/dagmc/legacy/inputs_true.dat @@ -2,18 +2,18 @@ - - + + - - - - + + + + - + eigenvalue diff --git a/tests/regression_tests/dagmc/refl/inputs_true.dat b/tests/regression_tests/dagmc/refl/inputs_true.dat index 894d501049..126702e388 100644 --- a/tests/regression_tests/dagmc/refl/inputs_true.dat +++ b/tests/regression_tests/dagmc/refl/inputs_true.dat @@ -3,7 +3,7 @@ - + eigenvalue diff --git a/tests/regression_tests/dagmc/universes/inputs_true.dat b/tests/regression_tests/dagmc/universes/inputs_true.dat index b88e83df40..babf43ff1d 100644 --- a/tests/regression_tests/dagmc/universes/inputs_true.dat +++ b/tests/regression_tests/dagmc/universes/inputs_true.dat @@ -2,32 +2,32 @@ - - - - - + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - + + 24.0 24.0 2 2 @@ -36,12 +36,12 @@ 1 1 1 1 - - - - - - + + + + + + eigenvalue diff --git a/tests/regression_tests/dagmc/uwuw/inputs_true.dat b/tests/regression_tests/dagmc/uwuw/inputs_true.dat index 07384b6252..e6537a30e0 100644 --- a/tests/regression_tests/dagmc/uwuw/inputs_true.dat +++ b/tests/regression_tests/dagmc/uwuw/inputs_true.dat @@ -3,7 +3,7 @@ - + eigenvalue diff --git a/tests/regression_tests/deplete_with_transport/last_step_reference_materials.xml b/tests/regression_tests/deplete_with_transport/last_step_reference_materials.xml index d38e8f96f1..fc0b87eb05 100644 --- a/tests/regression_tests/deplete_with_transport/last_step_reference_materials.xml +++ b/tests/regression_tests/deplete_with_transport/last_step_reference_materials.xml @@ -1,1057 +1,1057 @@ - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + + + + + - - - - - + + + + + diff --git a/tests/regression_tests/diff_tally/inputs_true.dat b/tests/regression_tests/diff_tally/inputs_true.dat index 99697a1e9a..5fad7175d8 100644 --- a/tests/regression_tests/diff_tally/inputs_true.dat +++ b/tests/regression_tests/diff_tally/inputs_true.dat @@ -2,181 +2,181 @@ - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1.26 1.26 17 17 @@ -277,23 +277,23 @@ 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + eigenvalue @@ -429,10 +429,10 @@ nu-fission scatter 5 - - - - - + + + + + diff --git a/tests/regression_tests/distribmat/inputs_true.dat b/tests/regression_tests/distribmat/inputs_true.dat index adc9bf3fbe..d002f0beb5 100644 --- a/tests/regression_tests/distribmat/inputs_true.dat +++ b/tests/regression_tests/distribmat/inputs_true.dat @@ -2,24 +2,24 @@ - - - + + + - - + + - - + + - - - - + + + + 2.0 2.0 1 @@ -29,11 +29,11 @@ 11 11 11 11 - - - - - + + + + + eigenvalue diff --git a/tests/regression_tests/eigenvalue_genperbatch/inputs_true.dat b/tests/regression_tests/eigenvalue_genperbatch/inputs_true.dat index 225b23ffa6..690cd14e35 100644 --- a/tests/regression_tests/eigenvalue_genperbatch/inputs_true.dat +++ b/tests/regression_tests/eigenvalue_genperbatch/inputs_true.dat @@ -2,13 +2,13 @@ - - + + - - + + eigenvalue diff --git a/tests/regression_tests/energy_cutoff/inputs_true.dat b/tests/regression_tests/energy_cutoff/inputs_true.dat index e874a0c7a5..c24164dd8b 100644 --- a/tests/regression_tests/energy_cutoff/inputs_true.dat +++ b/tests/regression_tests/energy_cutoff/inputs_true.dat @@ -2,18 +2,18 @@ - - + + - - - - - - - + + + + + + + fixed source @@ -23,7 +23,7 @@ -1 -1 -1 1 1 1 - + 4.0 diff --git a/tests/regression_tests/energy_laws/inputs_true.dat b/tests/regression_tests/energy_laws/inputs_true.dat index c89ccc97ee..4d8e825d1b 100644 --- a/tests/regression_tests/energy_laws/inputs_true.dat +++ b/tests/regression_tests/energy_laws/inputs_true.dat @@ -2,17 +2,17 @@ - - - - - - + + + + + + - - + + eigenvalue diff --git a/tests/regression_tests/external_moab/inputs_true.dat b/tests/regression_tests/external_moab/inputs_true.dat index 2bcbad0df2..d54f5db0ef 100644 --- a/tests/regression_tests/external_moab/inputs_true.dat +++ b/tests/regression_tests/external_moab/inputs_true.dat @@ -2,45 +2,45 @@ - - + + - - - - - - + + + + + + - - - + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + fixed source @@ -50,7 +50,7 @@ 0.0 0.0 0.0 - + 15000000.0 1.0 diff --git a/tests/regression_tests/filter_cellinstance/inputs_true.dat b/tests/regression_tests/filter_cellinstance/inputs_true.dat index d00aae75d2..d3e0937ec0 100644 --- a/tests/regression_tests/filter_cellinstance/inputs_true.dat +++ b/tests/regression_tests/filter_cellinstance/inputs_true.dat @@ -2,21 +2,21 @@ - - + + - - + + - - - - - - + + + + + + 2 2 4 4 @@ -27,12 +27,12 @@ 3 3 2 3 3 3 3 2 - - - - - - + + + + + + eigenvalue diff --git a/tests/regression_tests/filter_energyfun/inputs_true.dat b/tests/regression_tests/filter_energyfun/inputs_true.dat index 706c70e34f..4b7b74d28e 100644 --- a/tests/regression_tests/filter_energyfun/inputs_true.dat +++ b/tests/regression_tests/filter_energyfun/inputs_true.dat @@ -2,13 +2,13 @@ - - + + - - + + eigenvalue diff --git a/tests/regression_tests/filter_mesh/inputs_true.dat b/tests/regression_tests/filter_mesh/inputs_true.dat index d0b617903f..a58d58bab9 100644 --- a/tests/regression_tests/filter_mesh/inputs_true.dat +++ b/tests/regression_tests/filter_mesh/inputs_true.dat @@ -2,27 +2,27 @@ - - + + - - + + - - - - - - - - - - - - + + + + + + + + + + + + eigenvalue diff --git a/tests/regression_tests/filter_translations/inputs_true.dat b/tests/regression_tests/filter_translations/inputs_true.dat index 8ed705413e..a80ccd8767 100644 --- a/tests/regression_tests/filter_translations/inputs_true.dat +++ b/tests/regression_tests/filter_translations/inputs_true.dat @@ -2,27 +2,27 @@ - - + + - - + + - - - - - - - - - - - - + + + + + + + + + + + + eigenvalue diff --git a/tests/regression_tests/fixed_source/inputs_true.dat b/tests/regression_tests/fixed_source/inputs_true.dat index 57dcdb7248..60043f20c9 100644 --- a/tests/regression_tests/fixed_source/inputs_true.dat +++ b/tests/regression_tests/fixed_source/inputs_true.dat @@ -2,14 +2,14 @@ - - - + + + - - + + fixed source diff --git a/tests/regression_tests/iso_in_lab/inputs_true.dat b/tests/regression_tests/iso_in_lab/inputs_true.dat index 6dd8578fff..2bb81da6dc 100644 --- a/tests/regression_tests/iso_in_lab/inputs_true.dat +++ b/tests/regression_tests/iso_in_lab/inputs_true.dat @@ -2,193 +2,193 @@ - - - - - - + + + + + + U234 U235 U238 Xe135 O16 - - - - - - + + + + + + Zr90 Zr91 Zr92 Zr94 Zr96 - - - - - - + + + + + + H1 O16 B10 B11 - - - - - - + + + + + + H1 O16 B10 B11 - - - - - - - - - - - + + + + + + + + + + + Fe54 Fe56 Fe57 Fe58 Ni58 Ni60 Mn55 Cr52 C0 Cu63 - - - - - - - - - - - - - + + + + + + + + + + + + + H1 O16 B10 B11 Fe54 Fe56 Fe57 Fe58 Ni58 Mn55 Cr52 - - - - - - - - - - - - - + + + + + + + + + + + + + H1 O16 B10 B11 Fe54 Fe56 Fe57 Fe58 Ni58 Mn55 Cr52 - - - - - - - - - - - - - + + + + + + + + + + + + + H1 O16 B10 B11 Fe54 Fe56 Fe57 Fe58 Ni58 Mn55 Cr52 - - - - - - - - - - - - - + + + + + + + + + + + + + H1 O16 B10 B11 Fe54 Fe56 Fe57 Fe58 Ni58 Mn55 Cr52 - - - - - - - - - - - - - + + + + + + + + + + + + + H1 O16 B10 B11 Fe54 Fe56 Fe57 Fe58 Ni58 Mn55 Cr52 - - - - - - - - - - - + + + + + + + + + + + H1 O16 B10 B11 Zr90 Zr91 Zr92 Zr94 Zr96 - - - - - - - - - - - + + + + + + + + + + + H1 O16 B10 B11 Zr90 Zr91 Zr92 Zr94 Zr96 - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1.26 1.26 17 17 @@ -289,23 +289,23 @@ 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + eigenvalue diff --git a/tests/regression_tests/lattice_hex_coincident/inputs_true.dat b/tests/regression_tests/lattice_hex_coincident/inputs_true.dat index 639235726c..c51a38c893 100644 --- a/tests/regression_tests/lattice_hex_coincident/inputs_true.dat +++ b/tests/regression_tests/lattice_hex_coincident/inputs_true.dat @@ -2,43 +2,43 @@ - - + + - - - + + + - - - - - + + + + + - - + + - - - - - - + + + + + + - - - - - - - - + + + + + + + + 1.4 3 @@ -50,18 +50,18 @@ 2 2 2 - - - - - - - - - - - - + + + + + + + + + + + + eigenvalue diff --git a/tests/regression_tests/lattice_hex_x/inputs_true.dat b/tests/regression_tests/lattice_hex_x/inputs_true.dat index 2cff10f757..c510120291 100644 --- a/tests/regression_tests/lattice_hex_x/inputs_true.dat +++ b/tests/regression_tests/lattice_hex_x/inputs_true.dat @@ -2,47 +2,47 @@ - - - - + + + + - - - - - + + + + + - - - - + + + + - - - - - - + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + 1.235 5.0 4 @@ -91,22 +91,22 @@ 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + eigenvalue diff --git a/tests/regression_tests/lattice_multiple/inputs_true.dat b/tests/regression_tests/lattice_multiple/inputs_true.dat index 0eed3c2015..b249d97c40 100644 --- a/tests/regression_tests/lattice_multiple/inputs_true.dat +++ b/tests/regression_tests/lattice_multiple/inputs_true.dat @@ -2,24 +2,24 @@ - - - + + + - - - - + + + + - - - - - - + + + + + + 1.2 1.2 1 @@ -37,12 +37,12 @@ 4 4 4 4 - - - - - - + + + + + + eigenvalue diff --git a/tests/regression_tests/lattice_rotated/inputs_true.dat b/tests/regression_tests/lattice_rotated/inputs_true.dat index 8e54bdf884..3a8a0784e0 100644 --- a/tests/regression_tests/lattice_rotated/inputs_true.dat +++ b/tests/regression_tests/lattice_rotated/inputs_true.dat @@ -2,29 +2,29 @@ - - + + - - + + - - - - + + + + - - - - - - - - + + + + + + + + 1.25 30 @@ -51,11 +51,11 @@ 1 1 1 1 1 1 1 1 - - - - - + + + + + eigenvalue diff --git a/tests/regression_tests/mg_basic/inputs_true.dat b/tests/regression_tests/mg_basic/inputs_true.dat index 06406b5f2c..5ec5ade759 100644 --- a/tests/regression_tests/mg_basic/inputs_true.dat +++ b/tests/regression_tests/mg_basic/inputs_true.dat @@ -3,45 +3,45 @@ 2g.h5 - - + + - - + + - - + + - - + + - - + + - - - + + + - - - - - - - - - - - - - + + + + + + + + + + + + + eigenvalue diff --git a/tests/regression_tests/mg_basic_delayed/inputs_true.dat b/tests/regression_tests/mg_basic_delayed/inputs_true.dat index 05108d87dc..b3f1993d91 100644 --- a/tests/regression_tests/mg_basic_delayed/inputs_true.dat +++ b/tests/regression_tests/mg_basic_delayed/inputs_true.dat @@ -3,44 +3,44 @@ 2g.h5 - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - - - - + + + + + + + + + + + + + eigenvalue diff --git a/tests/regression_tests/mg_convert/inputs_true.dat b/tests/regression_tests/mg_convert/inputs_true.dat index 9276a7a7b6..8277ca483a 100644 --- a/tests/regression_tests/mg_convert/inputs_true.dat +++ b/tests/regression_tests/mg_convert/inputs_true.dat @@ -3,16 +3,16 @@ mgxs.h5 - - + + - - - - - + + + + + eigenvalue diff --git a/tests/regression_tests/mg_legendre/inputs_true.dat b/tests/regression_tests/mg_legendre/inputs_true.dat index d90dfb8029..4b7293d81a 100644 --- a/tests/regression_tests/mg_legendre/inputs_true.dat +++ b/tests/regression_tests/mg_legendre/inputs_true.dat @@ -3,14 +3,14 @@ 2g.h5 - - + + - - - + + + eigenvalue diff --git a/tests/regression_tests/mg_max_order/inputs_true.dat b/tests/regression_tests/mg_max_order/inputs_true.dat index 9bfcd54dfe..82699d00ec 100644 --- a/tests/regression_tests/mg_max_order/inputs_true.dat +++ b/tests/regression_tests/mg_max_order/inputs_true.dat @@ -3,14 +3,14 @@ 2g.h5 - - + + - - - + + + eigenvalue diff --git a/tests/regression_tests/mg_survival_biasing/inputs_true.dat b/tests/regression_tests/mg_survival_biasing/inputs_true.dat index a3a2a726f2..2b5801e120 100644 --- a/tests/regression_tests/mg_survival_biasing/inputs_true.dat +++ b/tests/regression_tests/mg_survival_biasing/inputs_true.dat @@ -3,14 +3,14 @@ 2g.h5 - - + + - - - + + + eigenvalue diff --git a/tests/regression_tests/mg_tallies/inputs_true.dat b/tests/regression_tests/mg_tallies/inputs_true.dat index bdd41c7f85..b7d362b17e 100644 --- a/tests/regression_tests/mg_tallies/inputs_true.dat +++ b/tests/regression_tests/mg_tallies/inputs_true.dat @@ -3,14 +3,14 @@ 2g.h5 - - + + - - - + + + eigenvalue diff --git a/tests/regression_tests/mgxs_library_ce_to_mg/inputs_true.dat b/tests/regression_tests/mgxs_library_ce_to_mg/inputs_true.dat index 533160577d..74067874ad 100644 --- a/tests/regression_tests/mgxs_library_ce_to_mg/inputs_true.dat +++ b/tests/regression_tests/mgxs_library_ce_to_mg/inputs_true.dat @@ -2,39 +2,39 @@ - - - - - + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - - - - + + + + + + + + + eigenvalue diff --git a/tests/regression_tests/mgxs_library_ce_to_mg_nuclides/inputs_true.dat b/tests/regression_tests/mgxs_library_ce_to_mg_nuclides/inputs_true.dat index fe154a0180..13a6ea6d41 100644 --- a/tests/regression_tests/mgxs_library_ce_to_mg_nuclides/inputs_true.dat +++ b/tests/regression_tests/mgxs_library_ce_to_mg_nuclides/inputs_true.dat @@ -2,39 +2,39 @@ - - - - - + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - - - - + + + + + + + + + eigenvalue diff --git a/tests/regression_tests/mgxs_library_condense/inputs_true.dat b/tests/regression_tests/mgxs_library_condense/inputs_true.dat index c8f140f808..ce70957659 100644 --- a/tests/regression_tests/mgxs_library_condense/inputs_true.dat +++ b/tests/regression_tests/mgxs_library_condense/inputs_true.dat @@ -2,39 +2,39 @@ - - - - - + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - - - - + + + + + + + + + eigenvalue diff --git a/tests/regression_tests/mgxs_library_correction/inputs_true.dat b/tests/regression_tests/mgxs_library_correction/inputs_true.dat index a1cc111def..4d9dbecd62 100644 --- a/tests/regression_tests/mgxs_library_correction/inputs_true.dat +++ b/tests/regression_tests/mgxs_library_correction/inputs_true.dat @@ -2,39 +2,39 @@ - - - - - + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - - - - + + + + + + + + + eigenvalue diff --git a/tests/regression_tests/mgxs_library_distribcell/inputs_true.dat b/tests/regression_tests/mgxs_library_distribcell/inputs_true.dat index 895389fb97..893e0b3bf2 100644 --- a/tests/regression_tests/mgxs_library_distribcell/inputs_true.dat +++ b/tests/regression_tests/mgxs_library_distribcell/inputs_true.dat @@ -2,37 +2,37 @@ - - - - - + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - - + + + + + + + 1.26 1.26 17 17 @@ -56,12 +56,12 @@ 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 - - - - - - + + + + + + eigenvalue diff --git a/tests/regression_tests/mgxs_library_hdf5/inputs_true.dat b/tests/regression_tests/mgxs_library_hdf5/inputs_true.dat index c8f140f808..ce70957659 100644 --- a/tests/regression_tests/mgxs_library_hdf5/inputs_true.dat +++ b/tests/regression_tests/mgxs_library_hdf5/inputs_true.dat @@ -2,39 +2,39 @@ - - - - - + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - - - - + + + + + + + + + eigenvalue diff --git a/tests/regression_tests/mgxs_library_histogram/inputs_true.dat b/tests/regression_tests/mgxs_library_histogram/inputs_true.dat index 0ea55bb040..f45b7dbf3e 100644 --- a/tests/regression_tests/mgxs_library_histogram/inputs_true.dat +++ b/tests/regression_tests/mgxs_library_histogram/inputs_true.dat @@ -2,39 +2,39 @@ - - - - - + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - - - - + + + + + + + + + eigenvalue diff --git a/tests/regression_tests/mgxs_library_mesh/inputs_true.dat b/tests/regression_tests/mgxs_library_mesh/inputs_true.dat index b18e9773b1..bb9c99026d 100644 --- a/tests/regression_tests/mgxs_library_mesh/inputs_true.dat +++ b/tests/regression_tests/mgxs_library_mesh/inputs_true.dat @@ -2,27 +2,27 @@ - - + + - - + + - - - - - - - - - - - - + + + + + + + + + + + + eigenvalue diff --git a/tests/regression_tests/mgxs_library_no_nuclides/inputs_true.dat b/tests/regression_tests/mgxs_library_no_nuclides/inputs_true.dat index 54d095ac62..0608d6f966 100644 --- a/tests/regression_tests/mgxs_library_no_nuclides/inputs_true.dat +++ b/tests/regression_tests/mgxs_library_no_nuclides/inputs_true.dat @@ -2,39 +2,39 @@ - - - - - + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - - - - + + + + + + + + + eigenvalue diff --git a/tests/regression_tests/mgxs_library_nuclides/inputs_true.dat b/tests/regression_tests/mgxs_library_nuclides/inputs_true.dat index 5e9720cedc..215bb7c9fd 100644 --- a/tests/regression_tests/mgxs_library_nuclides/inputs_true.dat +++ b/tests/regression_tests/mgxs_library_nuclides/inputs_true.dat @@ -2,39 +2,39 @@ - - - - - + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - - - - + + + + + + + + + eigenvalue diff --git a/tests/regression_tests/mgxs_library_specific_nuclides/inputs_true.dat b/tests/regression_tests/mgxs_library_specific_nuclides/inputs_true.dat index 938b1c19d1..907bf43ccc 100644 --- a/tests/regression_tests/mgxs_library_specific_nuclides/inputs_true.dat +++ b/tests/regression_tests/mgxs_library_specific_nuclides/inputs_true.dat @@ -2,39 +2,39 @@ - - - - - + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - - - - + + + + + + + + + eigenvalue diff --git a/tests/regression_tests/model_xml/adj_cell_rotation_inputs_true.dat b/tests/regression_tests/model_xml/adj_cell_rotation_inputs_true.dat index 1c4516f42d..48774bb020 100644 --- a/tests/regression_tests/model_xml/adj_cell_rotation_inputs_true.dat +++ b/tests/regression_tests/model_xml/adj_cell_rotation_inputs_true.dat @@ -2,27 +2,27 @@ - - + + - - + + - - - - - - - - - - - - + + + + + + + + + + + + eigenvalue diff --git a/tests/regression_tests/model_xml/energy_laws_inputs_true.dat b/tests/regression_tests/model_xml/energy_laws_inputs_true.dat index c89ccc97ee..4d8e825d1b 100644 --- a/tests/regression_tests/model_xml/energy_laws_inputs_true.dat +++ b/tests/regression_tests/model_xml/energy_laws_inputs_true.dat @@ -2,17 +2,17 @@ - - - - - - + + + + + + - - + + eigenvalue diff --git a/tests/regression_tests/model_xml/inputs_true.dat b/tests/regression_tests/model_xml/inputs_true.dat index c408026316..c1ef136658 100644 --- a/tests/regression_tests/model_xml/inputs_true.dat +++ b/tests/regression_tests/model_xml/inputs_true.dat @@ -2,18 +2,18 @@ - - + + - - - - - - - + + + + + + + fixed source @@ -23,7 +23,7 @@ 0 0 0 - + 14000000.0 1.0 diff --git a/tests/regression_tests/model_xml/lattice_multiple_inputs_true.dat b/tests/regression_tests/model_xml/lattice_multiple_inputs_true.dat index 0eed3c2015..b249d97c40 100644 --- a/tests/regression_tests/model_xml/lattice_multiple_inputs_true.dat +++ b/tests/regression_tests/model_xml/lattice_multiple_inputs_true.dat @@ -2,24 +2,24 @@ - - - + + + - - - - + + + + - - - - - - + + + + + + 1.2 1.2 1 @@ -37,12 +37,12 @@ 4 4 4 4 - - - - - - + + + + + + eigenvalue diff --git a/tests/regression_tests/model_xml/photon_production_inputs_true.dat b/tests/regression_tests/model_xml/photon_production_inputs_true.dat index 0b2b434681..109b54c675 100644 --- a/tests/regression_tests/model_xml/photon_production_inputs_true.dat +++ b/tests/regression_tests/model_xml/photon_production_inputs_true.dat @@ -2,18 +2,18 @@ - - + + - - - - - - - + + + + + + + fixed source @@ -23,7 +23,7 @@ 0 0 0 - + 14000000.0 1.0 diff --git a/tests/regression_tests/multipole/inputs_true.dat b/tests/regression_tests/multipole/inputs_true.dat index 3a602b28b8..5c905afb9c 100644 --- a/tests/regression_tests/multipole/inputs_true.dat +++ b/tests/regression_tests/multipole/inputs_true.dat @@ -2,21 +2,21 @@ - - - - + + + + - - + + - - - - + + + + 2.0 2.0 1 @@ -26,11 +26,11 @@ 11 11 11 11 - - - - - + + + + + eigenvalue diff --git a/tests/regression_tests/ncrystal/inputs_true.dat b/tests/regression_tests/ncrystal/inputs_true.dat index a609edcae4..be2336cf08 100644 --- a/tests/regression_tests/ncrystal/inputs_true.dat +++ b/tests/regression_tests/ncrystal/inputs_true.dat @@ -2,15 +2,15 @@ - - + + - - - - + + + + fixed source @@ -20,7 +20,7 @@ 0 0 -20 - + 0.012 1.0 diff --git a/tests/regression_tests/periodic/inputs_true.dat b/tests/regression_tests/periodic/inputs_true.dat index 9934e2de04..9d50c2b728 100644 --- a/tests/regression_tests/periodic/inputs_true.dat +++ b/tests/regression_tests/periodic/inputs_true.dat @@ -2,26 +2,26 @@ - - - - + + + + - - + + - - - - - - - - - + + + + + + + + + eigenvalue diff --git a/tests/regression_tests/periodic_6fold/inputs_true.dat b/tests/regression_tests/periodic_6fold/inputs_true.dat index 9c2899417e..795ce818fa 100644 --- a/tests/regression_tests/periodic_6fold/inputs_true.dat +++ b/tests/regression_tests/periodic_6fold/inputs_true.dat @@ -2,23 +2,23 @@ - - - - + + + + - - + + - - - - - - + + + + + + eigenvalue diff --git a/tests/regression_tests/periodic_hex/inputs_true.dat b/tests/regression_tests/periodic_hex/inputs_true.dat index f4869fa58b..188c8dfa93 100644 --- a/tests/regression_tests/periodic_hex/inputs_true.dat +++ b/tests/regression_tests/periodic_hex/inputs_true.dat @@ -2,18 +2,18 @@ - - + + - - - - - - - + + + + + + + eigenvalue diff --git a/tests/regression_tests/photon_production/inputs_true.dat b/tests/regression_tests/photon_production/inputs_true.dat index 0b2b434681..109b54c675 100644 --- a/tests/regression_tests/photon_production/inputs_true.dat +++ b/tests/regression_tests/photon_production/inputs_true.dat @@ -2,18 +2,18 @@ - - + + - - - - - - - + + + + + + + fixed source @@ -23,7 +23,7 @@ 0 0 0 - + 14000000.0 1.0 diff --git a/tests/regression_tests/photon_production_fission/inputs_true.dat b/tests/regression_tests/photon_production_fission/inputs_true.dat index ea6e9d9ee3..6a102cfdce 100644 --- a/tests/regression_tests/photon_production_fission/inputs_true.dat +++ b/tests/regression_tests/photon_production_fission/inputs_true.dat @@ -2,13 +2,13 @@ - - + + - - + + eigenvalue diff --git a/tests/regression_tests/photon_source/inputs_true.dat b/tests/regression_tests/photon_source/inputs_true.dat index 4c61b47fca..33ace2c700 100644 --- a/tests/regression_tests/photon_source/inputs_true.dat +++ b/tests/regression_tests/photon_source/inputs_true.dat @@ -2,16 +2,16 @@ - - - - - + + + + + - - + + fixed source @@ -21,7 +21,7 @@ 0 0 0 - + 10000000.0 1.0 diff --git a/tests/regression_tests/resonance_scattering/inputs_true.dat b/tests/regression_tests/resonance_scattering/inputs_true.dat index 7165fa72b6..6ab82ba245 100644 --- a/tests/regression_tests/resonance_scattering/inputs_true.dat +++ b/tests/regression_tests/resonance_scattering/inputs_true.dat @@ -2,16 +2,16 @@ - - - - - + + + + + - - + + eigenvalue diff --git a/tests/regression_tests/salphabeta/inputs_true.dat b/tests/regression_tests/salphabeta/inputs_true.dat index 31a81b2c8c..508624b75a 100644 --- a/tests/regression_tests/salphabeta/inputs_true.dat +++ b/tests/regression_tests/salphabeta/inputs_true.dat @@ -2,49 +2,49 @@ - - - - + + + + - - - - + + + + - - - - - - + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - + + + + + + + + + eigenvalue diff --git a/tests/regression_tests/score_current/inputs_true.dat b/tests/regression_tests/score_current/inputs_true.dat index f9c9ba494d..9ea8e5e4ae 100644 --- a/tests/regression_tests/score_current/inputs_true.dat +++ b/tests/regression_tests/score_current/inputs_true.dat @@ -2,27 +2,27 @@ - - + + - - + + - - - - - - - - - - - - + + + + + + + + + + + + eigenvalue diff --git a/tests/regression_tests/source/inputs_true.dat b/tests/regression_tests/source/inputs_true.dat index adf60c8145..460be7077d 100644 --- a/tests/regression_tests/source/inputs_true.dat +++ b/tests/regression_tests/source/inputs_true.dat @@ -2,13 +2,13 @@ - - + + - - + + eigenvalue @@ -17,7 +17,7 @@ 5 - + -4.0 -1.0 3.0 0.2 0.3 0.5 @@ -29,67 +29,67 @@ -1.0 0.0 1.0 0.5 0.25 0.25 - + - + -4.0 -4.0 -4.0 4.0 4.0 4.0 - - + + 1.2 -2.3 0.781 - + 1.0 1.3894954943731377 1.93069772888325 2.6826957952797255 3.72759372031494 5.17947467923121 7.196856730011519 10.0 13.894954943731374 19.306977288832496 26.826957952797247 37.2759372031494 51.7947467923121 71.96856730011518 100.0 138.94954943731375 193.06977288832496 268.26957952797244 372.7593720314938 517.9474679231207 719.6856730011514 1000.0 1389.4954943731375 1930.6977288832495 2682.6957952797247 3727.593720314938 5179.474679231207 7196.856730011514 10000.0 13894.95494373136 19306.977288832495 26826.95795279722 37275.93720314938 51794.74679231213 71968.56730011514 100000.0 138949.5494373136 193069.77288832495 268269.5795279722 372759.3720314938 517947.4679231202 719685.6730011514 1000000.0 1389495.494373136 1930697.7288832497 2682695.7952797217 3727593.720314938 5179474.679231202 7196856.730011513 10000000.0 0.0 2.9086439299358713e-08 5.80533561806147e-08 8.67817193689187e-08 1.1515347785771536e-07 1.4305204600565115e-07 1.7036278261198208e-07 1.9697346200185813e-07 2.227747351856934e-07 2.4766057919761985e-07 2.715287327665956e-07 2.9428111652990295e-07 3.1582423606228735e-07 3.360695660646056e-07 3.549339141332686e-07 3.723397626156721e-07 3.882155871468592e-07 4.024961505584776e-07 4.151227709522976e-07 4.260435628367196e-07 4.3521365033538783e-07 4.4259535159179273e-07 4.4815833361210174e-07 4.5187973690993757e-07 4.5374426944091084e-07 4.5374426944091084e-07 4.5187973690993757e-07 4.4815833361210174e-07 4.4259535159179273e-07 4.352136503353879e-07 4.2604356283671966e-07 4.1512277095229767e-07 4.0249615055847764e-07 3.8821558714685926e-07 3.723397626156722e-07 3.5493391413326864e-07 3.360695660646057e-07 3.158242360622874e-07 2.942811165299031e-07 2.715287327665957e-07 2.4766057919762e-07 2.2277473518569352e-07 1.9697346200185819e-07 1.7036278261198226e-07 1.4305204600565126e-07 1.1515347785771556e-07 8.678171936891881e-08 5.805335618061493e-08 2.9086439299358858e-08 5.559621115282002e-23 - + 0.7071067811865476 0.0 -0.7071067811865475 0.3 0.4 0.3 - + - + 1.0 1.3894954943731377 1.93069772888325 2.6826957952797255 3.72759372031494 5.17947467923121 7.196856730011519 10.0 13.894954943731374 19.306977288832496 26.826957952797247 37.2759372031494 51.7947467923121 71.96856730011518 100.0 138.94954943731375 193.06977288832496 268.26957952797244 372.7593720314938 517.9474679231207 719.6856730011514 1000.0 1389.4954943731375 1930.6977288832495 2682.6957952797247 3727.593720314938 5179.474679231207 7196.856730011514 10000.0 13894.95494373136 19306.977288832495 26826.95795279722 37275.93720314938 51794.74679231213 71968.56730011514 100000.0 138949.5494373136 193069.77288832495 268269.5795279722 372759.3720314938 517947.4679231202 719685.6730011514 1000000.0 1389495.494373136 1930697.7288832497 2682695.7952797217 3727593.720314938 5179474.679231202 7196856.730011513 10000000.0 0.0 2.9086439299358713e-08 5.80533561806147e-08 8.67817193689187e-08 1.1515347785771536e-07 1.4305204600565115e-07 1.7036278261198208e-07 1.9697346200185813e-07 2.227747351856934e-07 2.4766057919761985e-07 2.715287327665956e-07 2.9428111652990295e-07 3.1582423606228735e-07 3.360695660646056e-07 3.549339141332686e-07 3.723397626156721e-07 3.882155871468592e-07 4.024961505584776e-07 4.151227709522976e-07 4.260435628367196e-07 4.3521365033538783e-07 4.4259535159179273e-07 4.4815833361210174e-07 4.5187973690993757e-07 4.5374426944091084e-07 4.5374426944091084e-07 4.5187973690993757e-07 4.4815833361210174e-07 4.4259535159179273e-07 4.352136503353879e-07 4.2604356283671966e-07 4.1512277095229767e-07 4.0249615055847764e-07 3.8821558714685926e-07 3.723397626156722e-07 3.5493391413326864e-07 3.360695660646057e-07 3.158242360622874e-07 2.942811165299031e-07 2.715287327665957e-07 2.4766057919762e-07 2.2277473518569352e-07 1.9697346200185819e-07 1.7036278261198226e-07 1.4305204600565126e-07 1.1515347785771556e-07 8.678171936891881e-08 5.805335618061493e-08 2.9086439299358858e-08 5.559621115282002e-23 - - + + -2.0 0.0 2.0 0.2 0.3 0.2 - + 1.0 1.3894954943731377 1.93069772888325 2.6826957952797255 3.72759372031494 5.17947467923121 7.196856730011519 10.0 13.894954943731374 19.306977288832496 26.826957952797247 37.2759372031494 51.7947467923121 71.96856730011518 100.0 138.94954943731375 193.06977288832496 268.26957952797244 372.7593720314938 517.9474679231207 719.6856730011514 1000.0 1389.4954943731375 1930.6977288832495 2682.6957952797247 3727.593720314938 5179.474679231207 7196.856730011514 10000.0 13894.95494373136 19306.977288832495 26826.95795279722 37275.93720314938 51794.74679231213 71968.56730011514 100000.0 138949.5494373136 193069.77288832495 268269.5795279722 372759.3720314938 517947.4679231202 719685.6730011514 1000000.0 1389495.494373136 1930697.7288832497 2682695.7952797217 3727593.720314938 5179474.679231202 7196856.730011513 10000000.0 0.0 2.9086439299358713e-08 5.80533561806147e-08 8.67817193689187e-08 1.1515347785771536e-07 1.4305204600565115e-07 1.7036278261198208e-07 1.9697346200185813e-07 2.227747351856934e-07 2.4766057919761985e-07 2.715287327665956e-07 2.9428111652990295e-07 3.1582423606228735e-07 3.360695660646056e-07 3.549339141332686e-07 3.723397626156721e-07 3.882155871468592e-07 4.024961505584776e-07 4.151227709522976e-07 4.260435628367196e-07 4.3521365033538783e-07 4.4259535159179273e-07 4.4815833361210174e-07 4.5187973690993757e-07 4.5374426944091084e-07 4.5374426944091084e-07 4.5187973690993757e-07 4.4815833361210174e-07 4.4259535159179273e-07 4.352136503353879e-07 4.2604356283671966e-07 4.1512277095229767e-07 4.0249615055847764e-07 3.8821558714685926e-07 3.723397626156722e-07 3.5493391413326864e-07 3.360695660646057e-07 3.158242360622874e-07 2.942811165299031e-07 2.715287327665957e-07 2.4766057919762e-07 2.2277473518569352e-07 1.9697346200185819e-07 1.7036278261198226e-07 1.4305204600565126e-07 1.1515347785771556e-07 8.678171936891881e-08 5.805335618061493e-08 2.9086439299358858e-08 5.559621115282002e-23 - - + + -2.0 0.0 2.0 0.2 0.3 0.2 - + - + - + @@ -100,19 +100,19 @@ - + 0.7071067811865476 0.0 -0.7071067811865475 0.3 0.4 0.3 - + - + - + - + @@ -120,23 +120,23 @@ - diff --git a/tests/regression_tests/source_dlopen/inputs_true.dat b/tests/regression_tests/source_dlopen/inputs_true.dat index 1a447ae3d2..9d97164adf 100644 --- a/tests/regression_tests/source_dlopen/inputs_true.dat +++ b/tests/regression_tests/source_dlopen/inputs_true.dat @@ -2,22 +2,22 @@ - - - - - + + + + + - - + + fixed source 1000 10 0 - + diff --git a/tests/regression_tests/source_parameterized_dlopen/inputs_true.dat b/tests/regression_tests/source_parameterized_dlopen/inputs_true.dat index 208030e2e6..6894635935 100644 --- a/tests/regression_tests/source_parameterized_dlopen/inputs_true.dat +++ b/tests/regression_tests/source_parameterized_dlopen/inputs_true.dat @@ -2,22 +2,22 @@ - - - - - + + + + + - - + + fixed source 1000 10 0 - + diff --git a/tests/regression_tests/surface_source/inputs_true_read.dat b/tests/regression_tests/surface_source/inputs_true_read.dat index fb843a6d19..14a55f0bf0 100644 --- a/tests/regression_tests/surface_source/inputs_true_read.dat +++ b/tests/regression_tests/surface_source/inputs_true_read.dat @@ -3,14 +3,14 @@ - - - - - - - - + + + + + + + + fixed source diff --git a/tests/regression_tests/surface_source/inputs_true_write.dat b/tests/regression_tests/surface_source/inputs_true_write.dat index dbdf22395b..4747fcaf42 100644 --- a/tests/regression_tests/surface_source/inputs_true_write.dat +++ b/tests/regression_tests/surface_source/inputs_true_write.dat @@ -3,14 +3,14 @@ - - - - - - - - + + + + + + + + fixed source diff --git a/tests/regression_tests/surface_tally/inputs_true.dat b/tests/regression_tests/surface_tally/inputs_true.dat index 1a89079557..4be5d4e77a 100644 --- a/tests/regression_tests/surface_tally/inputs_true.dat +++ b/tests/regression_tests/surface_tally/inputs_true.dat @@ -2,27 +2,27 @@ - - - - + + + + - - - - + + + + - - - - - - - - + + + + + + + + eigenvalue diff --git a/tests/regression_tests/tallies/inputs_true.dat b/tests/regression_tests/tallies/inputs_true.dat index e6725024ac..8d2e50af8c 100644 --- a/tests/regression_tests/tallies/inputs_true.dat +++ b/tests/regression_tests/tallies/inputs_true.dat @@ -2,181 +2,181 @@ - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1.26 1.26 17 17 @@ -277,23 +277,23 @@ 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + eigenvalue diff --git a/tests/regression_tests/tally_aggregation/inputs_true.dat b/tests/regression_tests/tally_aggregation/inputs_true.dat index bb2dcddc56..9f4f956552 100644 --- a/tests/regression_tests/tally_aggregation/inputs_true.dat +++ b/tests/regression_tests/tally_aggregation/inputs_true.dat @@ -2,23 +2,23 @@ - - - - - + + + + + - - - - + + + + - - - + + + 1.2 1.2 1 @@ -28,11 +28,11 @@ 1 1 1 1 - - - - - + + + + + eigenvalue diff --git a/tests/regression_tests/tally_arithmetic/inputs_true.dat b/tests/regression_tests/tally_arithmetic/inputs_true.dat index 41760f3cf4..7669b4d036 100644 --- a/tests/regression_tests/tally_arithmetic/inputs_true.dat +++ b/tests/regression_tests/tally_arithmetic/inputs_true.dat @@ -2,23 +2,23 @@ - - - - + + + + - - - - + + + + - - - - + + + + eigenvalue diff --git a/tests/regression_tests/tally_slice_merge/inputs_true.dat b/tests/regression_tests/tally_slice_merge/inputs_true.dat index 5b5731efba..5dff76a684 100644 --- a/tests/regression_tests/tally_slice_merge/inputs_true.dat +++ b/tests/regression_tests/tally_slice_merge/inputs_true.dat @@ -2,181 +2,181 @@ - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1.26 1.26 17 17 @@ -277,23 +277,23 @@ 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + eigenvalue diff --git a/tests/regression_tests/torus/inputs_true.dat b/tests/regression_tests/torus/inputs_true.dat index c4aa2072a8..a5c7a8d7ae 100644 --- a/tests/regression_tests/torus/inputs_true.dat +++ b/tests/regression_tests/torus/inputs_true.dat @@ -2,28 +2,28 @@ - - + + - - + + - - - - - - - - - - - - - + + + + + + + + + + + + + eigenvalue diff --git a/tests/regression_tests/torus/large_major/inputs_true.dat b/tests/regression_tests/torus/large_major/inputs_true.dat index 8e3c9a9e31..44a67b8aa0 100644 --- a/tests/regression_tests/torus/large_major/inputs_true.dat +++ b/tests/regression_tests/torus/large_major/inputs_true.dat @@ -2,21 +2,21 @@ - - + + - - + + - - - - - - + + + + + + fixed source diff --git a/tests/regression_tests/trigger_statepoint_restart/inputs_true.dat b/tests/regression_tests/trigger_statepoint_restart/inputs_true.dat index d30f24fc0a..6f0b629eb6 100644 --- a/tests/regression_tests/trigger_statepoint_restart/inputs_true.dat +++ b/tests/regression_tests/trigger_statepoint_restart/inputs_true.dat @@ -2,13 +2,13 @@ - - + + - - + + eigenvalue diff --git a/tests/regression_tests/triso/inputs_true.dat b/tests/regression_tests/triso/inputs_true.dat index c434838849..606f05f14d 100644 --- a/tests/regression_tests/triso/inputs_true.dat +++ b/tests/regression_tests/triso/inputs_true.dat @@ -2,239 +2,239 @@ - - - - - + + + + + - - - + + + - - - + + + - - - - - + + + + + - - - + + + - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.3333333333333333 0.3333333333333333 0.3333333333333333 30 @@ -253,180 +253,180 @@ 24 25 26 21 22 23 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + eigenvalue diff --git a/tests/regression_tests/unstructured_mesh/inputs_true.dat b/tests/regression_tests/unstructured_mesh/inputs_true.dat index dba721d7ed..55fdf825bc 100644 --- a/tests/regression_tests/unstructured_mesh/inputs_true.dat +++ b/tests/regression_tests/unstructured_mesh/inputs_true.dat @@ -2,45 +2,45 @@ - - + + - - - - - - + + + + + + - - - + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + fixed source @@ -48,7 +48,7 @@ 10 - + 1.0 1.0 diff --git a/tests/regression_tests/unstructured_mesh/inputs_true0.dat b/tests/regression_tests/unstructured_mesh/inputs_true0.dat index 7c3b5a53a3..45e15c5971 100644 --- a/tests/regression_tests/unstructured_mesh/inputs_true0.dat +++ b/tests/regression_tests/unstructured_mesh/inputs_true0.dat @@ -2,45 +2,45 @@ - - + + - - - - - - + + + + + + - - - + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + fixed source @@ -48,7 +48,7 @@ 10 - + 1.0 1.0 diff --git a/tests/regression_tests/unstructured_mesh/inputs_true1.dat b/tests/regression_tests/unstructured_mesh/inputs_true1.dat index 2a0ca5168c..d47985ceb2 100644 --- a/tests/regression_tests/unstructured_mesh/inputs_true1.dat +++ b/tests/regression_tests/unstructured_mesh/inputs_true1.dat @@ -2,45 +2,45 @@ - - + + - - - - - - + + + + + + - - - + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + fixed source @@ -48,7 +48,7 @@ 10 - + 1.0 1.0 diff --git a/tests/regression_tests/unstructured_mesh/inputs_true10.dat b/tests/regression_tests/unstructured_mesh/inputs_true10.dat index 1290a98357..943ef2dc8e 100644 --- a/tests/regression_tests/unstructured_mesh/inputs_true10.dat +++ b/tests/regression_tests/unstructured_mesh/inputs_true10.dat @@ -2,45 +2,45 @@ - - + + - - - - - - + + + + + + - - - + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + fixed source @@ -48,7 +48,7 @@ 10 - + 1.0 1.0 diff --git a/tests/regression_tests/unstructured_mesh/inputs_true11.dat b/tests/regression_tests/unstructured_mesh/inputs_true11.dat index 5edb5cf0ff..d0888b4b8b 100644 --- a/tests/regression_tests/unstructured_mesh/inputs_true11.dat +++ b/tests/regression_tests/unstructured_mesh/inputs_true11.dat @@ -2,45 +2,45 @@ - - + + - - - - - - + + + + + + - - - + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + fixed source @@ -48,7 +48,7 @@ 10 - + 1.0 1.0 diff --git a/tests/regression_tests/unstructured_mesh/inputs_true12.dat b/tests/regression_tests/unstructured_mesh/inputs_true12.dat index d8def3b5b6..b431b412e6 100644 --- a/tests/regression_tests/unstructured_mesh/inputs_true12.dat +++ b/tests/regression_tests/unstructured_mesh/inputs_true12.dat @@ -2,45 +2,45 @@ - - + + - - - - - - + + + + + + - - - + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + fixed source @@ -48,7 +48,7 @@ 10 - + 1.0 1.0 diff --git a/tests/regression_tests/unstructured_mesh/inputs_true13.dat b/tests/regression_tests/unstructured_mesh/inputs_true13.dat index 3afb0ce50e..f53e733a88 100644 --- a/tests/regression_tests/unstructured_mesh/inputs_true13.dat +++ b/tests/regression_tests/unstructured_mesh/inputs_true13.dat @@ -2,45 +2,45 @@ - - + + - - - - - - + + + + + + - - - + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + fixed source @@ -48,7 +48,7 @@ 10 - + 1.0 1.0 diff --git a/tests/regression_tests/unstructured_mesh/inputs_true14.dat b/tests/regression_tests/unstructured_mesh/inputs_true14.dat index b7de468eab..05bdf3ae9d 100644 --- a/tests/regression_tests/unstructured_mesh/inputs_true14.dat +++ b/tests/regression_tests/unstructured_mesh/inputs_true14.dat @@ -2,45 +2,45 @@ - - + + - - - - - - + + + + + + - - - + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + fixed source @@ -48,7 +48,7 @@ 10 - + 1.0 1.0 diff --git a/tests/regression_tests/unstructured_mesh/inputs_true15.dat b/tests/regression_tests/unstructured_mesh/inputs_true15.dat index bdb1dd0374..67c8af4276 100644 --- a/tests/regression_tests/unstructured_mesh/inputs_true15.dat +++ b/tests/regression_tests/unstructured_mesh/inputs_true15.dat @@ -2,45 +2,45 @@ - - + + - - - - - - + + + + + + - - - + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + fixed source @@ -48,7 +48,7 @@ 10 - + 1.0 1.0 diff --git a/tests/regression_tests/unstructured_mesh/inputs_true2.dat b/tests/regression_tests/unstructured_mesh/inputs_true2.dat index b2a998786d..78ff40199a 100644 --- a/tests/regression_tests/unstructured_mesh/inputs_true2.dat +++ b/tests/regression_tests/unstructured_mesh/inputs_true2.dat @@ -2,45 +2,45 @@ - - + + - - - - - - + + + + + + - - - + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + fixed source @@ -48,7 +48,7 @@ 10 - + 1.0 1.0 diff --git a/tests/regression_tests/unstructured_mesh/inputs_true3.dat b/tests/regression_tests/unstructured_mesh/inputs_true3.dat index 4a66dc2a6c..fe55154934 100644 --- a/tests/regression_tests/unstructured_mesh/inputs_true3.dat +++ b/tests/regression_tests/unstructured_mesh/inputs_true3.dat @@ -2,45 +2,45 @@ - - + + - - - - - - + + + + + + - - - + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + fixed source @@ -48,7 +48,7 @@ 10 - + 1.0 1.0 diff --git a/tests/regression_tests/unstructured_mesh/inputs_true4.dat b/tests/regression_tests/unstructured_mesh/inputs_true4.dat index 7006c0f417..843632fdd6 100644 --- a/tests/regression_tests/unstructured_mesh/inputs_true4.dat +++ b/tests/regression_tests/unstructured_mesh/inputs_true4.dat @@ -2,45 +2,45 @@ - - + + - - - - - - + + + + + + - - - + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + fixed source @@ -48,7 +48,7 @@ 10 - + 1.0 1.0 @@ -56,7 +56,7 @@ 0.0 1.0 - + 15000000.0 1.0 diff --git a/tests/regression_tests/unstructured_mesh/inputs_true5.dat b/tests/regression_tests/unstructured_mesh/inputs_true5.dat index 6c20900fa7..dc9129d98a 100644 --- a/tests/regression_tests/unstructured_mesh/inputs_true5.dat +++ b/tests/regression_tests/unstructured_mesh/inputs_true5.dat @@ -2,45 +2,45 @@ - - + + - - - - - - + + + + + + - - - + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + fixed source @@ -48,7 +48,7 @@ 10 - + 1.0 1.0 @@ -56,7 +56,7 @@ 0.0 1.0 - + 15000000.0 1.0 diff --git a/tests/regression_tests/unstructured_mesh/inputs_true6.dat b/tests/regression_tests/unstructured_mesh/inputs_true6.dat index e0be903602..82bc307037 100644 --- a/tests/regression_tests/unstructured_mesh/inputs_true6.dat +++ b/tests/regression_tests/unstructured_mesh/inputs_true6.dat @@ -2,45 +2,45 @@ - - + + - - - - - - + + + + + + - - - + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + fixed source @@ -48,7 +48,7 @@ 10 - + 1.0 1.0 @@ -56,7 +56,7 @@ 0.0 1.0 - + 15000000.0 1.0 diff --git a/tests/regression_tests/unstructured_mesh/inputs_true7.dat b/tests/regression_tests/unstructured_mesh/inputs_true7.dat index 3a4cc1b830..b982c40d05 100644 --- a/tests/regression_tests/unstructured_mesh/inputs_true7.dat +++ b/tests/regression_tests/unstructured_mesh/inputs_true7.dat @@ -2,45 +2,45 @@ - - + + - - - - - - + + + + + + - - - + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + fixed source @@ -48,7 +48,7 @@ 10 - + 1.0 1.0 @@ -56,7 +56,7 @@ 0.0 1.0 - + 15000000.0 1.0 diff --git a/tests/regression_tests/unstructured_mesh/inputs_true8.dat b/tests/regression_tests/unstructured_mesh/inputs_true8.dat index bd19a95aea..1e3b6cb83e 100644 --- a/tests/regression_tests/unstructured_mesh/inputs_true8.dat +++ b/tests/regression_tests/unstructured_mesh/inputs_true8.dat @@ -2,45 +2,45 @@ - - + + - - - - - - + + + + + + - - - + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + fixed source @@ -48,7 +48,7 @@ 10 - + 1.0 1.0 diff --git a/tests/regression_tests/unstructured_mesh/inputs_true9.dat b/tests/regression_tests/unstructured_mesh/inputs_true9.dat index 2e595a96c9..cb35eb1867 100644 --- a/tests/regression_tests/unstructured_mesh/inputs_true9.dat +++ b/tests/regression_tests/unstructured_mesh/inputs_true9.dat @@ -2,45 +2,45 @@ - - + + - - - - - - + + + + + + - - - + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + fixed source @@ -48,7 +48,7 @@ 10 - + 1.0 1.0 diff --git a/tests/regression_tests/void/inputs_true.dat b/tests/regression_tests/void/inputs_true.dat index 443c168bd4..4e996c71d0 100644 --- a/tests/regression_tests/void/inputs_true.dat +++ b/tests/regression_tests/void/inputs_true.dat @@ -2,112 +2,112 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + fixed source diff --git a/tests/regression_tests/volume_calc/inputs_true.dat b/tests/regression_tests/volume_calc/inputs_true.dat index 879e05b8fc..e3a8162e3b 100644 --- a/tests/regression_tests/volume_calc/inputs_true.dat +++ b/tests/regression_tests/volume_calc/inputs_true.dat @@ -2,27 +2,27 @@ - - - - - + + + + + - - - + + + - - - - - - - - + + + + + + + + volume @@ -53,7 +53,7 @@ 100 -1.0 -1.0 -6.0 1.0 1.0 6.0 - + material @@ -61,7 +61,7 @@ 100 -1.0 -1.0 -6.0 1.0 1.0 6.0 - + cell @@ -69,7 +69,7 @@ 100 -1.0 -1.0 -6.0 1.0 1.0 6.0 - + diff --git a/tests/regression_tests/volume_calc/inputs_true_mg.dat b/tests/regression_tests/volume_calc/inputs_true_mg.dat index f114bd8c2f..2ace5cd3c9 100644 --- a/tests/regression_tests/volume_calc/inputs_true_mg.dat +++ b/tests/regression_tests/volume_calc/inputs_true_mg.dat @@ -3,26 +3,26 @@ mg_lib.h5 - - - - + + + + - - - + + + - - - - - - - - + + + + + + + + volume @@ -54,7 +54,7 @@ 100 -1.0 -1.0 -6.0 1.0 1.0 6.0 - + material @@ -62,7 +62,7 @@ 100 -1.0 -1.0 -6.0 1.0 1.0 6.0 - + cell @@ -70,7 +70,7 @@ 100 -1.0 -1.0 -6.0 1.0 1.0 6.0 - + diff --git a/tests/regression_tests/weightwindows/inputs_true.dat b/tests/regression_tests/weightwindows/inputs_true.dat index 16f03a4a0b..16966ccafe 100644 --- a/tests/regression_tests/weightwindows/inputs_true.dat +++ b/tests/regression_tests/weightwindows/inputs_true.dat @@ -2,33 +2,33 @@ - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - - - - + + + + fixed source diff --git a/tests/unit_tests/test_cell.py b/tests/unit_tests/test_cell.py index cef77f1608..1df3df9c55 100644 --- a/tests/unit_tests/test_cell.py +++ b/tests/unit_tests/test_cell.py @@ -1,4 +1,4 @@ -import xml.etree. ElementTree as ET +import lxml.etree as ET import numpy as np from uncertainties import ufloat diff --git a/tests/unit_tests/test_deplete_nuclide.py b/tests/unit_tests/test_deplete_nuclide.py index e73af69550..07db57bd6d 100644 --- a/tests/unit_tests/test_deplete_nuclide.py +++ b/tests/unit_tests/test_deplete_nuclide.py @@ -1,6 +1,6 @@ """Tests for the openmc.deplete.Nuclide class.""" -import xml.etree.ElementTree as ET +import lxml.etree as ET import copy import numpy as np import pytest @@ -345,4 +345,4 @@ def test_deepcopy(): assert copied_nuc == nuc # Mutate the original and verify the copy remains intact nuc *= 2 - assert copied_nuc != nuc \ No newline at end of file + assert copied_nuc != nuc diff --git a/tests/unit_tests/test_geometry.py b/tests/unit_tests/test_geometry.py index f99232ff25..3b2deee285 100644 --- a/tests/unit_tests/test_geometry.py +++ b/tests/unit_tests/test_geometry.py @@ -1,4 +1,4 @@ -import xml.etree.ElementTree as ET +import lxml.etree as ET from pathlib import Path import numpy as np diff --git a/tests/unit_tests/test_lattice.py b/tests/unit_tests/test_lattice.py index 99bc284b0e..97cd898435 100644 --- a/tests/unit_tests/test_lattice.py +++ b/tests/unit_tests/test_lattice.py @@ -1,5 +1,5 @@ from math import sqrt -import xml.etree.ElementTree as ET +import lxml.etree as ET import openmc import pytest diff --git a/tests/unit_tests/test_universe.py b/tests/unit_tests/test_universe.py index fc92de9c78..aedc814383 100644 --- a/tests/unit_tests/test_universe.py +++ b/tests/unit_tests/test_universe.py @@ -1,4 +1,4 @@ -import xml.etree.ElementTree as ET +import lxml.etree as ET import numpy as np import openmc