OpenMC/tests
Paul Romano 06f025dc36 Modify test_complex_cell to include a cell whose region specification includes
both the negative and positive half-space of a surface
2015-12-04 13:29:38 -06:00
..
test_basic Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_cmfd_feed Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_cmfd_nofeed Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_complex_cell Modify test_complex_cell to include a cell whose region specification includes 2015-12-04 13:29:38 -06:00
test_confidence_intervals Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_density_atombcm Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_density_atomcm3 Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_density_kgm3 Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_density_sum Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_eigenvalue_genperbatch Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_eigenvalue_no_inactive Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_energy_grid Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_entropy Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_filter_azimuthal Addressed PR comments 2015-10-07 20:06:44 -04:00
test_filter_cell Convert input_set to use region property and fix error in cell 2 2015-10-05 08:25:39 +07:00
test_filter_cellborn Convert input_set to use region property and fix error in cell 2 2015-10-05 08:25:39 +07:00
test_filter_delayedgroup updated tests so input files are generated with openmc API 2015-10-22 21:00:45 -04:00
test_filter_distribcell Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_filter_energy Convert input_set to use region property and fix error in cell 2 2015-10-05 08:25:39 +07:00
test_filter_energyout Convert input_set to use region property and fix error in cell 2 2015-10-05 08:25:39 +07:00
test_filter_group_transfer Convert input_set to use region property and fix error in cell 2 2015-10-05 08:25:39 +07:00
test_filter_material Convert input_set to use region property and fix error in cell 2 2015-10-05 08:25:39 +07:00
test_filter_mesh_2d Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_filter_mesh_3d Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_filter_mu Addressed PR comments 2015-10-07 20:06:44 -04:00
test_filter_polar Addressed PR comments 2015-10-07 20:06:44 -04:00
test_filter_universe Convert input_set to use region property and fix error in cell 2 2015-10-05 08:25:39 +07:00
test_fixed_source Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_infinite_cell Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_lattice Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_lattice_hex Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_lattice_mixed Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_lattice_multiple Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_many_scores Don't pre-compute kappa-fission cross sections. 2015-11-11 08:39:13 -06:00
test_mgxs_library_condense Refactored MGXS.get_pandas_dataframe(...) group indices for energyout filters 2015-11-11 14:07:31 -05:00
test_mgxs_library_hdf5 Updated test suite with correct nu-scatter matrix results for openmc.mgxs module 2015-11-01 22:00:47 -05:00
test_mgxs_library_no_nuclides Refactored MGXS.get_pandas_dataframe(...) group indices for energyout filters 2015-11-11 14:07:31 -05:00
test_mgxs_library_nuclides Refactored MGXS.get_pandas_dataframe(...) group indices for energyout filters 2015-11-11 14:07:31 -05:00
test_natural_element Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_output Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_particle_restart_eigval Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_particle_restart_fixed Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_plot_background Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_plot_basis Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_plot_colspec Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_plot_mask Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_ptables_off Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_quadric_surfaces Add test for quadric surface and fix bug in distance calculation. 2015-10-09 15:14:25 +07:00
test_reflective_plane Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_resonance_scattering Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_rotation Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_salphabeta Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_salphabeta_multiple Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_score_absorption Convert input_set to use region property and fix error in cell 2 2015-10-05 08:25:39 +07:00
test_score_current Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_score_delayed_nufission fixed inverse velocity and delayed nu fission score tests 2015-11-10 11:50:17 -05:00
test_score_events Convert input_set to use region property and fix error in cell 2 2015-10-05 08:25:39 +07:00
test_score_fission Convert input_set to use region property and fix error in cell 2 2015-10-05 08:25:39 +07:00
test_score_flux Convert input_set to use region property and fix error in cell 2 2015-10-05 08:25:39 +07:00
test_score_flux_yn Updating tests to ue new Python API test suite 2015-10-06 20:30:34 -04:00
test_score_inverse_velocity fixed output of inverse velocity test 2015-11-10 13:50:42 -05:00
test_score_kappafission Don't pre-compute kappa-fission cross sections. 2015-11-11 08:39:13 -06:00
test_score_MT Convert input_set to use region property and fix error in cell 2 2015-10-05 08:25:39 +07:00
test_score_nufission Convert input_set to use region property and fix error in cell 2 2015-10-05 08:25:39 +07:00
test_score_nuscatter Convert input_set to use region property and fix error in cell 2 2015-10-05 08:25:39 +07:00
test_score_nuscatter_n Convert input_set to use region property and fix error in cell 2 2015-10-05 08:25:39 +07:00
test_score_nuscatter_pn Convert input_set to use region property and fix error in cell 2 2015-10-05 08:25:39 +07:00
test_score_nuscatter_yn Updating tests to ue new Python API test suite 2015-10-06 20:30:34 -04:00
test_score_scatter Convert input_set to use region property and fix error in cell 2 2015-10-05 08:25:39 +07:00
test_score_scatter_n Convert input_set to use region property and fix error in cell 2 2015-10-05 08:25:39 +07:00
test_score_scatter_pn Convert input_set to use region property and fix error in cell 2 2015-10-05 08:25:39 +07:00
test_score_scatter_yn Updating tests to ue new Python API test suite 2015-10-06 20:30:34 -04:00
test_score_total Convert input_set to use region property and fix error in cell 2 2015-10-05 08:25:39 +07:00
test_score_total_yn Updating tests to ue new Python API test suite 2015-10-06 20:30:34 -04:00
test_seed Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_source_angle_mono Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_source_energy_maxwell Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_source_energy_mono Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_source_file Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_source_point Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_sourcepoint_batch Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_sourcepoint_interval Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_sourcepoint_latest Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_sourcepoint_restart Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_statepoint_batch Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_statepoint_interval Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_statepoint_restart Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_statepoint_sourcesep Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_survival_biasing Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_tally_assumesep Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_tally_nuclides Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_trace Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_track_output Removed test_track_output/results_test.dat and added to .gitignore 2015-11-12 13:29:37 -05:00
test_translation Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_trigger_batch_interval Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_trigger_no_batch_interval Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_trigger_no_status Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_trigger_tallies Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_uniform_fs Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_union_energy_grids Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_universe Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
test_void Merge branch 'develop' into complex-cells 2015-10-05 08:04:20 +07:00
check_source.py Fix some PEP-8 for #423 2015-07-26 12:23:21 -06:00
cleanup Remove remnants of binary files 2015-09-04 12:51:18 +07:00
convert_precision.py PEP8 fixes on convert_precision.py 2013-09-02 17:11:30 -04:00
input_set.py Convert input_set to use region property and fix error in cell 2 2015-10-05 08:25:39 +07:00
readme.rst updated documentation 2014-04-11 09:10:25 -04:00
run_tests.py Removed print debug statements from test suite 2015-10-21 08:31:05 -04:00
testing_harness.py Removed print debug statements from test suite 2015-10-21 08:31:05 -04:00
travis.sh Add two test configurations to Travis pull request runs 2015-09-12 00:31:50 +08: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