openmc icon indicating copy to clipboard operation
openmc copied to clipboard

OpenMC Monte Carlo Code

Results 500 openmc issues
Sort by recently updated
recently updated
newest added

Currently there is a [script](https://github.com/openmc-dev/openmc/blob/develop/scripts/openmc-track-to-vtk) that one can run from the terminal on a tracks.h5 file. This PR adds the ability to write vtk files of tracks from within the...

Changed the way `contains_complex` works in src/cell.cpp to follow this algorithm: 1. Work through the reverse polish notation (RPN) vector in reverse order 2. If the token is a primitive...

On hold

Closes #2155. This PR adds a new function to `openmc/src/tallies/tally.cpp` with the signature `extern "C" void openmc_remove_tally_from_tallies(int32_t id)` that can delete a tally from the tally vector via its ID....

Hi all, This PR attempts to add the ability to add material composition and density from a predefined collection / library. This PR follows on from [this](https://openmc.discourse.group/t/add-pnnl-15870-to-openmc-model/1134/4) discussion where adding...

On hold

I tried "wget -O - https://anl.box.com/shared/static/teaup95cqv8s9nn56hfn7ku8mmelr95p.xz" and got --2022-08-12 11:29:31-- https://anl.box.com/shared/static/teaup95cqv8s9nn56hfn7ku8mmelr95p.xz Resolving anl.box.com (anl.box.com)... 107.152.26.197 Connecting to anl.box.com (anl.box.com)|107.152.26.197|:443... connected. GnuTLS: Resource temporarily unavailable, try again. GnuTLS: Resource temporarily unavailable,...

@shimwell recently noted that while the `bounding_cell_id` argument of `DAGMCUniverse.bounded_universe` defaults to a high cell ID to avoid clashing with the ID space of the DAGMC model, the surface IDs...

the ```settings.max_tracks``` defaults to None in the python layer https://github.com/openmc-dev/openmc/blob/e27c3b4a5bb6ac97ffe1f01a06b96a6d65d83471/openmc/settings.py#L298 and the docs state **all** particles will be written if run in tracks mode https://github.com/openmc-dev/openmc/blob/e27c3b4a5bb6ac97ffe1f01a06b96a6d65d83471/openmc/model/model.py#L519-L520 https://github.com/openmc-dev/openmc/blob/e27c3b4a5bb6ac97ffe1f01a06b96a6d65d83471/openmc/settings.py#L108-L109 However it defaults to...

This PR is a hotfix for `IndependentOperator` functionality. While doing more extensive testing and after extensive discussion with @paulromano , we discovered there was an implementation error: we were multiplying...

Performance
Documentation

This PR adds the capability to OpenMC to read MCPL (Monte Carlo Particle Lists) input files. This was a feature request in the MCPL-project (https://github.com/mctools/mcpl/issues/56). A new source class MCPLFileSource...

This PR originated from a need I currently had to reinitialize a geometry when running OpenMc in memory `openmc.lib`, but without having to re-initialize all with `openmc.lib.init()` :point_right: [forum](https://openmc.discourse.group/t/openmc-lib-geometry/1815). In...