openmc
openmc copied to clipboard
Allow sampling source location from a point cloud with discrete probabilities
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.