OpenMC/tests
2015-08-13 23:01:02 -07:00
..
test_basic Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_cmfd_feed Merge branch 'develop' into double-constants 2015-07-05 10:40:57 +07:00
test_cmfd_nofeed Merge branch 'develop' into double-constants 2015-07-05 10:40:57 +07:00
test_confidence_intervals Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_density_atombcm Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_density_atomcm3 Merge branch 'develop' into double-constants 2015-07-05 10:40:57 +07:00
test_density_kgm3 Merge branch 'develop' into double-constants 2015-07-05 10:40:57 +07:00
test_density_sum Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_eigenvalue_genperbatch Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_eigenvalue_no_inactive Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_energy_grid Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_entropy Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_filter_cell Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_filter_cellborn Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_filter_distribcell Fix distribcell hex lattice bug, see #411 2015-07-16 23:13:37 -06:00
test_filter_energy Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_filter_energyout Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_filter_group_transfer Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_filter_material Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_filter_mesh_2d Merge branch 'develop' into double-constants 2015-07-05 10:40:57 +07:00
test_filter_mesh_3d Merge branch 'develop' into double-constants 2015-07-05 10:40:57 +07:00
test_filter_universe Merge branch 'develop' into improve-threading 2015-07-05 11:14:35 +07:00
test_fixed_source incorporate leakage into fixed source test 2015-08-13 23:01:02 -07:00
test_infinite_cell Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_lattice Merge branch 'develop' into double-constants 2015-07-05 10:40:57 +07:00
test_lattice_hex Merge branch 'develop' into double-constants 2015-07-05 10:40:57 +07:00
test_lattice_mixed Merge branch 'develop' into double-constants 2015-07-05 10:40:57 +07:00
test_lattice_multiple Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_many_scores Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_natural_element Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_output Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_particle_restart_eigval Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_particle_restart_fixed Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_plot_background Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_plot_basis Fixed inconsistency in PlotTestHarness 2015-07-01 22:19:14 -06:00
test_plot_colspec Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_plot_mask Fixed inconsistency in PlotTestHarness 2015-07-01 22:19:14 -06:00
test_ptables_off Merge branch 'develop' into double-constants 2015-07-05 10:40:57 +07:00
test_reflective_cone Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_reflective_cylinder Merge branch 'develop' into double-constants 2015-07-05 10:40:57 +07:00
test_reflective_plane Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_reflective_sphere Merge branch 'develop' into double-constants 2015-07-05 10:40:57 +07:00
test_resonance_scattering Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_rotation Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_salphabeta Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_salphabeta_multiple Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_score_absorption Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_score_current Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_score_events Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_score_fission Merge branch 'develop' into double-constants 2015-07-05 10:40:57 +07:00
test_score_flux Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_score_flux_yn Merge branch 'develop' into double-constants 2015-07-05 10:40:57 +07:00
test_score_kappafission Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_score_MT Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_score_nufission Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_score_nuscatter Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_score_nuscatter_n Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_score_nuscatter_pn Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_score_nuscatter_yn Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_score_scatter Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_score_scatter_n Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_score_scatter_pn Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_score_scatter_yn Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_score_total Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_score_total_yn Merge branch 'develop' into double-constants 2015-07-05 10:40:57 +07:00
test_seed Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_source_angle_mono Merge branch 'develop' into double-constants 2015-07-05 10:40:57 +07:00
test_source_energy_maxwell Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_source_energy_mono Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_source_file Specify mpi executable in Executor and TestHarness 2015-06-30 23:20:54 -06:00
test_source_point Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_sourcepoint_batch Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_sourcepoint_interval Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_sourcepoint_latest Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_sourcepoint_restart Merge branch 'develop' into double-constants 2015-07-05 10:40:57 +07:00
test_statepoint_batch Merge branch 'develop' into double-constants 2015-07-05 10:40:57 +07:00
test_statepoint_interval Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_statepoint_restart Merge branch 'develop' into double-constants 2015-07-05 10:40:57 +07:00
test_statepoint_sourcesep Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_survival_biasing Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_tally_assumesep Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_tally_nuclides Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_trace Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_track_output Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_translation Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_trigger_batch_interval Merge branch 'develop' into double-constants 2015-07-05 10:40:57 +07:00
test_trigger_no_batch_interval Merge branch 'develop' into double-constants 2015-07-05 10:40:57 +07:00
test_trigger_no_status Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_trigger_tallies Merge branch 'develop' into double-constants 2015-07-05 10:40:57 +07:00
test_uniform_fs Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_union_energy_grids Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_universe Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
test_void Added update capability to TestHarness #402 2015-06-29 19:22:14 -06:00
check_source.py Fix some PEP-8 for #423 2015-07-26 12:23:21 -06:00
cleanup added ppm files for cleanup 2014-04-03 08:20:31 -04:00
convert_precision.py PEP8 fixes on convert_precision.py 2013-09-02 17:11:30 -04:00
readme.rst updated documentation 2014-04-11 09:10:25 -04:00
run_tests.py Fixed inconsistency in PlotTestHarness 2015-07-01 22:19:14 -06:00
testing_harness.py Fixed inconsistency in PlotTestHarness 2015-07-01 22:19:14 -06:00
travis.sh Make source code style checking script 2015-07-21 23:23:36 -06:00
travis_install.sh Build/load dependencies for pushes and pull requests 2015-07-15 07:42:41 +02: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