CEMeNT-PSAAP / MCDC

MC/DC: Monte Carlo Dynamic Code
https://mcdc.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
23 stars 24 forks source link

Bug fix, continuous energy test, and file-based source test #215

Closed ilhamv closed 3 months ago

ilhamv commented 3 months ago

This PR fixes the CE-physics bug created in the previous commit, adds a test for CE physics (by creating a non-git-tracked dummy continuous energy XS library, and adds a test for file-based source.

ilhamv commented 3 months ago

A regression MCDC/test/regression/slab_ce test is created for CE physics to avoid similar issues.

ilhamv commented 3 months ago

@massimolarsen , you can refer to test/regression/slab_ce for setting up a user-specified, almost-piecewise-constant continuous energy cross-section.

I'll create another PR that adds an example for creating a file of source particles.

ilhamv commented 3 months ago

@massimolarsen , I add the file-based source example with this PR as well: MCDC/test/regression/source_file