openmc icon indicating copy to clipboard operation
openmc copied to clipboard

Allow sampling source location from a point cloud with discrete probabilities

Open gonuke opened this issue 1 year ago • 0 comments

Description

A new SpatialDistribution that has a list of N possible positions, each with its own probability. The probabilities are sampled discretely from that PDF to find the locations.

Alternatives

One alternative is to have N Independent SpatialPoint distributions, but it seems less efficient on a number of fronts.

gonuke avatar Oct 04 '24 22:10 gonuke