pyopensn.source.VolumetricSource
- class pyopensn.source.VolumetricSource
Multi-group isotropic volumetric sources.
Wrapper of
opensn::VolumetricSource
.- __init__(self: pyopensn.source.VolumetricSource, **kwargs) None
Construct a multi-group isotropic volumetric sources.
- Parameters:
block_ids (List[int]) – An array of block IDs the volumetric source is present within.
logical_volume (pyopensn.logvol.LogicalVolume) – Logical volume that the volumetric source is defined within.
group_strength (List[float]) – An array of multi-group source strength values. Note that this is only used when a function is not provided.
func (pyopensn.math.VectorSpatialFunction) – Function to be used to define the source.