OpenMC/tests
2017-01-13 12:23:52 -06:00
..
test_asymmetric_lattice Write full Python API generated inputs to inputs_true.dat 2016-12-14 06:58:45 -06:00
test_cmfd_feed Merge remote-tracking branch 'upstream/develop' into 2d-mesh-tally 2016-09-12 09:50:17 -04:00
test_cmfd_nofeed Merge remote-tracking branch 'upstream/develop' into 2d-mesh-tally 2016-09-12 09:50:17 -04:00
test_complex_cell removed element expansion in Fortran and added it to Python API 2016-10-23 16:11:18 -04:00
test_confidence_intervals Major refactor to include cross sections at multiple temperatures within the 2016-08-31 10:13:38 -05:00
test_create_fission_neutrons Write full Python API generated inputs to inputs_true.dat 2016-12-14 06:58:45 -06:00
test_density Major refactor to include cross sections at multiple temperatures within the 2016-08-31 10:13:38 -05:00
test_diff_tally Write full Python API generated inputs to inputs_true.dat 2016-12-14 06:58:45 -06:00
test_distribmat Write full Python API generated inputs to inputs_true.dat 2016-12-14 06:58:45 -06:00
test_eigenvalue_genperbatch Major refactor to include cross sections at multiple temperatures within the 2016-08-31 10:13:38 -05:00
test_eigenvalue_no_inactive Major refactor to include cross sections at multiple temperatures within the 2016-08-31 10:13:38 -05:00
test_element_wo updated failing tests 2016-10-26 08:12:26 -04:00
test_energy_cutoff Write full Python API generated inputs to inputs_true.dat 2016-12-14 06:58:45 -06:00
test_energy_grid Major refactor to include cross sections at multiple temperatures within the 2016-08-31 10:13:38 -05:00
test_energy_laws Major refactor to include cross sections at multiple temperatures within the 2016-08-31 10:13:38 -05:00
test_enrichment updated failing tests 2016-10-26 08:12:26 -04:00
test_entropy Major refactor to include cross sections at multiple temperatures within the 2016-08-31 10:13:38 -05:00
test_filter_distribcell Major refactor to include cross sections at multiple temperatures within the 2016-08-31 10:13:38 -05:00
test_filter_energyfun Write full Python API generated inputs to inputs_true.dat 2016-12-14 06:58:45 -06:00
test_filter_mesh Write full Python API generated inputs to inputs_true.dat 2016-12-14 06:58:45 -06:00
test_fixed_source Major refactor to include cross sections at multiple temperatures within the 2016-08-31 10:13:38 -05:00
test_infinite_cell Major refactor to include cross sections at multiple temperatures within the 2016-08-31 10:13:38 -05:00
test_iso_in_lab Write full Python API generated inputs to inputs_true.dat 2016-12-14 06:58:45 -06:00
test_lattice Major refactor to include cross sections at multiple temperatures within the 2016-08-31 10:13:38 -05:00
test_lattice_hex Major refactor to include cross sections at multiple temperatures within the 2016-08-31 10:13:38 -05:00
test_lattice_mixed Major refactor to include cross sections at multiple temperatures within the 2016-08-31 10:13:38 -05:00
test_lattice_multiple Major refactor to include cross sections at multiple temperatures within the 2016-08-31 10:13:38 -05:00
test_mg_basic Write full Python API generated inputs to inputs_true.dat 2016-12-14 06:58:45 -06:00
test_mg_max_order Write full Python API generated inputs to inputs_true.dat 2016-12-14 06:58:45 -06:00
test_mg_nuclide Write full Python API generated inputs to inputs_true.dat 2016-12-14 06:58:45 -06:00
test_mg_tallies Write full Python API generated inputs to inputs_true.dat 2016-12-14 06:58:45 -06:00
test_mgxs_library_ce_to_mg Write full Python API generated inputs to inputs_true.dat 2016-12-14 06:58:45 -06:00
test_mgxs_library_condense updated tests and updated setting of nuclides and elements in example files 2016-12-15 21:06:12 +00:00
test_mgxs_library_distribcell updated tests and updated setting of nuclides and elements in example files 2016-12-15 21:06:12 +00:00
test_mgxs_library_hdf5 updated tests and updated setting of nuclides and elements in example files 2016-12-15 21:06:12 +00:00
test_mgxs_library_mesh updated tests and updated setting of nuclides and elements in example files 2016-12-15 21:06:12 +00:00
test_mgxs_library_no_nuclides updated tests and updated setting of nuclides and elements in example files 2016-12-15 21:06:12 +00:00
test_mgxs_library_nuclides Write full Python API generated inputs to inputs_true.dat 2016-12-14 06:58:45 -06:00
test_multipole Write full Python API generated inputs to inputs_true.dat 2016-12-14 06:58:45 -06:00
test_output Major refactor to include cross sections at multiple temperatures within the 2016-08-31 10:13:38 -05:00
test_particle_restart_eigval Fix use of energy in tests 2016-10-31 14:46:47 -05:00
test_particle_restart_fixed Fix use of energy in tests 2016-10-31 14:46:47 -05:00
test_periodic Write full Python API generated inputs to inputs_true.dat 2016-12-14 06:58:45 -06:00
test_plot Major refactor to include cross sections at multiple temperatures within the 2016-08-31 10:13:38 -05:00
test_ptables_off Major refactor to include cross sections at multiple temperatures within the 2016-08-31 10:13:38 -05:00
test_quadric_surfaces Update three tests for which results legitimately change 2016-10-31 14:46:47 -05:00
test_reflective_plane Major refactor to include cross sections at multiple temperatures within the 2016-08-31 10:13:38 -05:00
test_resonance_scattering Write full Python API generated inputs to inputs_true.dat 2016-12-14 06:58:45 -06:00
test_rotation Major refactor to include cross sections at multiple temperatures within the 2016-08-31 10:13:38 -05:00
test_salphabeta Make sure all S(a,b) tables are applied to all applicable nuclides 2017-01-13 12:23:52 -06:00
test_score_current Fix use of energy in tests 2016-10-31 14:46:47 -05:00
test_seed Major refactor to include cross sections at multiple temperatures within the 2016-08-31 10:13:38 -05:00
test_source Write full Python API generated inputs to inputs_true.dat 2016-12-14 06:58:45 -06:00
test_source_file Major refactor to include cross sections at multiple temperatures within the 2016-08-31 10:13:38 -05:00
test_sourcepoint_batch Major refactor to include cross sections at multiple temperatures within the 2016-08-31 10:13:38 -05:00
test_sourcepoint_latest Major refactor to include cross sections at multiple temperatures within the 2016-08-31 10:13:38 -05:00
test_sourcepoint_restart Fix use of energy in tests 2016-10-31 14:46:47 -05:00
test_statepoint_batch Major refactor to include cross sections at multiple temperatures within the 2016-08-31 10:13:38 -05:00
test_statepoint_restart Fix use of energy in tests 2016-10-31 14:46:47 -05:00
test_statepoint_sourcesep Major refactor to include cross sections at multiple temperatures within the 2016-08-31 10:13:38 -05:00
test_survival_biasing Fix use of energy in tests 2016-10-31 14:46:47 -05:00
test_tallies Write full Python API generated inputs to inputs_true.dat 2016-12-14 06:58:45 -06:00
test_tally_aggregation Write full Python API generated inputs to inputs_true.dat 2016-12-14 06:58:45 -06:00
test_tally_arithmetic Write full Python API generated inputs to inputs_true.dat 2016-12-14 06:58:45 -06:00
test_tally_assumesep Major refactor to include cross sections at multiple temperatures within the 2016-08-31 10:13:38 -05:00
test_tally_nuclides Major refactor to include cross sections at multiple temperatures within the 2016-08-31 10:13:38 -05:00
test_tally_slice_merge Write full Python API generated inputs to inputs_true.dat 2016-12-14 06:58:45 -06:00
test_trace Major refactor to include cross sections at multiple temperatures within the 2016-08-31 10:13:38 -05:00
test_track_output Major refactor to include cross sections at multiple temperatures within the 2016-08-31 10:13:38 -05:00
test_translation Major refactor to include cross sections at multiple temperatures within the 2016-08-31 10:13:38 -05:00
test_trigger_batch_interval Major refactor to include cross sections at multiple temperatures within the 2016-08-31 10:13:38 -05:00
test_trigger_no_batch_interval Major refactor to include cross sections at multiple temperatures within the 2016-08-31 10:13:38 -05:00
test_trigger_no_status Major refactor to include cross sections at multiple temperatures within the 2016-08-31 10:13:38 -05:00
test_trigger_tallies Major refactor to include cross sections at multiple temperatures within the 2016-08-31 10:13:38 -05:00
test_triso Write full Python API generated inputs to inputs_true.dat 2016-12-14 06:58:45 -06:00
test_uniform_fs Major refactor to include cross sections at multiple temperatures within the 2016-08-31 10:13:38 -05:00
test_universe Major refactor to include cross sections at multiple temperatures within the 2016-08-31 10:13:38 -05:00
test_void Major refactor to include cross sections at multiple temperatures within the 2016-08-31 10:13:38 -05:00
test_volume_calc Write full Python API generated inputs to inputs_true.dat 2016-12-14 06:58:45 -06:00
1d_mgxs.h5 Fixing failing tests 2016-11-13 14:38:57 -05:00
check_source.py Fix some PEP-8 for #423 2015-07-26 12:23:21 -06:00
convert_precision.py PEP8 fixes on convert_precision.py 2013-09-02 17:11:30 -04:00
input_set.py addressed PR comments 2016-10-25 20:54:56 -04:00
readme.rst updated documentation 2014-04-11 09:10:25 -04:00
run_tests.py Revert "Show me your secrets, Travis" 2016-11-02 19:33:11 -04:00
testing_harness.py Write full Python API generated inputs to inputs_true.dat 2016-12-14 06:58:45 -06:00
travis.sh Revert "Show me your secrets, Travis" 2016-11-02 19:33:11 -04:00
travis_install.sh Changes to testing scripts to less over-subscribe Travis (3 OMP threads to 2 and 3 MPI processes to 2) 2016-10-10 09:04:57 -04:00
update_results.py Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
valgrind.supp added valgrind suppressions for HDF5 create/open 2014-05-08 12:31:21 -04:00

=================
OpenMC Test Suite
=================

The purpose of this test suite is to ensure that OpenMC compiles using various
combinations of compiler flags and options and that all user input options can
be used successfully without breaking the code. The test suite is based on
regression or integrated testing where different types of input files are
configured and the full OpenMC code is executed. Results from simulations
are compared with expected results. The test suite is comprised of many
build configurations (e.g. debug, mpi, hdf5) and the actual tests which
reside in sub-directories in the tests directory.

The test suite is designed to integrate with cmake using ctest_. To run the
full test suite run:

.. code-block:: sh

    python run_tests.py

The test suite is configured to run with cross sections from NNDC_. To
download these cross sections please do the following:

.. code-block:: sh

    cd ../data
    python get_nndc.py
    export CROSS_SECTIONS=<path_to_data_folder>/nndc/cross_sections.xml

The environmental variable **CROSS_SECTIONS** can be used to quickly switch
between the cross sections  set for the test suite and cross section set for 
your simulations.

A subset of build configurations and/or tests can be run. To see how to use
the script run:

.. code-block:: sh

    python run_tests.py --help

As an example, say we want to run all tests with debug flags only on tests
that have cone and plot in their name. Also, we would like to run this on
4 processors. We can run:

.. code-block:: sh

    python run_tests.py -j 4 -C debug -R "cone|plot"

Note that standard regular expression syntax is used for selecting build
configurations and tests. To print out a list of build configurations, we
can run:

.. code-block:: sh

    python run_tests.py -p

.. _ctest: http://www.cmake.org/cmake/help/v2.8.12/ctest.html
.. _NNDC:  http://http://www.nndc.bnl.gov/endf/b7.1/acefiles.html