Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenMC RETINA feature #3220

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

saliba170499
Copy link

@saliba170499 saliba170499 commented Dec 12, 2024

Description

The RETINA (Reaction and Event Tracking INformAtion) feature in OpenMC is designed to enable detailed tracking of neutron interactions. It allows users to specify and track neutron events of interest using OpenMC’s Python API. Unlike full particle track output, which can require significant storage, RETINA focuses on user-defined events and locations, significantly reducing memory and disk usage. Particle banking is managed externally in MCPL or HDF5 formats. This feature is customizable and applies to fixed-source simulations, providing precise control over data collection.

Checklist

  • I have performed a self-review of my own code
  • I have run clang-format (version 15) on any C++ source files (if applicable)
  • I have followed the style guidelines for Python source files (if applicable)
  • I have made corresponding changes to the documentation (if applicable)
  • I have added tests that prove my fix is effective or that my feature works (if applicable)

Changes to be committed:
	modified:   include/openmc/bank.h
	modified:   include/openmc/mcpl_interface.h
	modified:   include/openmc/particle.h
	modified:   include/openmc/particle_data.h
	modified:   include/openmc/settings.h
	modified:   include/openmc/state_point.h
	modified:   openmc/settings.py
	modified:   openmc/source.py
	modified:   src/bank.cpp
	modified:   src/finalize.cpp
	modified:   src/initialize.cpp
	modified:   src/mcpl_interface.cpp
	modified:   src/particle.cpp
	modified:   src/settings.cpp
	modified:   src/simulation.cpp
	modified:   src/state_point.cpp
	new file:   tests/regression_tests/retina/__init__.py
	new file:   tests/regression_tests/retina/_visualize.py
	new file:   tests/regression_tests/retina/case-01/inputs_true.dat
	new file:   tests/regression_tests/retina/case-01/results_true.dat
	new file:   tests/regression_tests/retina/case-02/inputs_true.dat
	new file:   tests/regression_tests/retina/case-02/results_true.dat
	new file:   tests/regression_tests/retina/case-03/inputs_true.dat
	new file:   tests/regression_tests/retina/case-03/results_true.dat
	new file:   tests/regression_tests/retina/case-04/inputs_true.dat
	new file:   tests/regression_tests/retina/case-04/results_true.dat
	new file:   tests/regression_tests/retina/case-05/inputs_true.dat
	new file:   tests/regression_tests/retina/case-05/results_true.dat
	new file:   tests/regression_tests/retina/case-06/inputs_true.dat
	new file:   tests/regression_tests/retina/case-06/results_true.dat
	new file:   tests/regression_tests/retina/case-07/inputs_true.dat
	new file:   tests/regression_tests/retina/case-07/results_true.dat
	new file:   tests/regression_tests/retina/case-08/inputs_true.dat
	new file:   tests/regression_tests/retina/case-08/results_true.dat
	new file:   tests/regression_tests/retina/case-09/inputs_true.dat
	new file:   tests/regression_tests/retina/case-09/results_true.dat
	new file:   tests/regression_tests/retina/case-10/inputs_true.dat
	new file:   tests/regression_tests/retina/case-10/results_true.dat
	new file:   tests/regression_tests/retina/case-11/inputs_true.dat
	new file:   tests/regression_tests/retina/case-11/results_true.dat
	new file:   tests/regression_tests/retina/case-12/inputs_true.dat
	new file:   tests/regression_tests/retina/case-12/results_true.dat
	new file:   tests/regression_tests/retina/case-13/inputs_true.dat
	new file:   tests/regression_tests/retina/case-13/results_true.dat
	new file:   tests/regression_tests/retina/case-14/inputs_true.dat
	new file:   tests/regression_tests/retina/case-14/results_true.dat
	new file:   tests/regression_tests/retina/case-15/inputs_true.dat
	new file:   tests/regression_tests/retina/case-15/results_true.dat
	new file:   tests/regression_tests/retina/case-16/inputs_true.dat
	new file:   tests/regression_tests/retina/case-16/results_true.dat
	new file:   tests/regression_tests/retina/case-17/inputs_true.dat
	new file:   tests/regression_tests/retina/case-17/results_true.dat
	new file:   tests/regression_tests/retina/case-18/inputs_true.dat
	new file:   tests/regression_tests/retina/case-18/results_true.dat
	new file:   tests/regression_tests/retina/case-19/inputs_true.dat
	new file:   tests/regression_tests/retina/case-19/results_true.dat
	new file:   tests/regression_tests/retina/case-a01/inputs_true.dat
	new file:   tests/regression_tests/retina/case-a01/results_true.dat
	new file:   tests/regression_tests/retina/test.py
	new file:   tests/unit_tests/test_retina.py
 Your branch is up to date with 'origin/openmc_retina_pr'.
	new file:   examples/retina_example/build_xml.py
	new file:   examples/retina_example/process_retina.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant