OpenMC/tests
2017-05-08 17:15:46 -05:00
..
test_asymmetric_lattice Respond to @wbinventor comments on #852 2017-04-10 07:16:17 -05:00
test_cmfd_feed Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_cmfd_nofeed Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_complex_cell Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_confidence_intervals Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_create_fission_neutrons Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_density Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_diff_tally Update inputs for test_diff_tally 2017-04-11 09:39:05 -05:00
test_distribmat Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_eigenvalue_genperbatch Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_eigenvalue_no_inactive Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_element_wo updated failing tests 2016-10-26 08:12:26 -04:00
test_energy_cutoff Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_energy_grid Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_energy_laws Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_enrichment updated failing tests 2016-10-26 08:12:26 -04:00
test_entropy Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_filter_distribcell Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_filter_energyfun Respond to @wbinventor comments on #852 2017-04-10 07:16:17 -05:00
test_filter_mesh Respond to @wbinventor comments on #852 2017-04-10 07:16:17 -05:00
test_fixed_source Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_infinite_cell Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_iso_in_lab Respond to @wbinventor comments on #852 2017-04-10 07:16:17 -05:00
test_lattice Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_lattice_hex Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_lattice_mixed Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_lattice_multiple Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_mg_basic Respond to @wbinventor comments on #852 2017-04-10 07:16:17 -05:00
test_mg_convert Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_mg_legendre Respond to @wbinventor comments on #852 2017-04-10 07:16:17 -05:00
test_mg_max_order Respond to @wbinventor comments on #852 2017-04-10 07:16:17 -05:00
test_mg_nuclide Respond to @wbinventor comments on #852 2017-04-10 07:16:17 -05:00
test_mg_survival_biasing Respond to @wbinventor comments on #852 2017-04-10 07:16:17 -05:00
test_mg_tallies Allow objects in addition to ids in Filters 2017-04-13 17:36:49 -04:00
test_mgxs_library_ce_to_mg Respond to @wbinventor comments on #852 2017-04-10 07:16:17 -05:00
test_mgxs_library_condense Respond to @wbinventor comments on #852 2017-04-10 07:16:17 -05:00
test_mgxs_library_distribcell Respond to @wbinventor comments on #852 2017-04-10 07:16:17 -05:00
test_mgxs_library_hdf5 fixed issue in tallies.py in making sure static copy of other filter gets updated and updated tests 2017-04-25 14:45:36 -04:00
test_mgxs_library_mesh Respond to @wbinventor comments on #852 2017-04-10 07:16:17 -05:00
test_mgxs_library_no_nuclides fixed issue in tallies.py in making sure static copy of other filter gets updated and updated tests 2017-04-25 14:45:36 -04:00
test_mgxs_library_nuclides Merge remote-tracking branch 'upstream/develop' into hotfix-scatt-mat-nuclides 2017-04-11 10:25:27 -04:00
test_multipole Fix bug tallying individual reaction rates (e.g. n,gamma) with multipole on 2017-04-11 09:01:01 -05:00
test_output Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_particle_restart_eigval Better use of verbosity 2017-03-02 09:17:00 -06:00
test_particle_restart_fixed Update particle restart format and documentation 2017-02-21 21:26:25 -06:00
test_periodic Allow plot, volume, and particle restart run modes directly 2017-02-17 09:59:21 -06:00
test_plot Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_ptables_off Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_quadric_surfaces Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_reflective_plane Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_resonance_scattering Update resonance scattering test result 2017-04-26 14:45:35 -05:00
test_rotation Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_salphabeta Fix assignment of S(a,b) tables 2017-05-08 17:15:46 -05:00
test_score_current Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_seed Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_source Allow plot, volume, and particle restart run modes directly 2017-02-17 09:59:21 -06:00
test_source_file Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_sourcepoint_batch Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_sourcepoint_latest Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_sourcepoint_restart Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_statepoint_batch Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_statepoint_restart Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_statepoint_sourcesep Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_survival_biasing Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_tallies Allow objects in addition to ids in Filters 2017-04-13 17:36:49 -04:00
test_tally_aggregation Respond to @wbinventor comments on #852 2017-04-10 07:16:17 -05:00
test_tally_arithmetic Respond to @wbinventor comments on #852 2017-04-10 07:16:17 -05:00
test_tally_assumesep Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_tally_nuclides Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_tally_slice_merge Respond to @wbinventor comments on #852 2017-04-10 07:16:17 -05:00
test_trace Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_track_output Fix openmc-track-to-vtk and track test 2017-04-07 21:04:14 -05:00
test_translation Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_trigger_batch_interval Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_trigger_no_batch_interval Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_trigger_no_status Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_trigger_tallies Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_triso Add openmc.examples module that replaces input_set.py from tests 2017-04-07 21:04:10 -05:00
test_uniform_fs Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_universe Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_void Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05:00
test_volume_calc Some bug fixes for volume calculations 2017-03-11 14:31:02 -06:00
1d_mgxs.h5 updated test library version info 2017-03-18 10:20:19 -04: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
readme.rst updated documentation 2014-04-11 09:10:25 -04:00
run_tests.py Turn on OpenMP by default 2017-04-10 07:32:51 -05:00
testing_harness.py Get rid of tallies_present argument for test harness classes 2017-04-07 21:04:14 -05: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