pyopensn.post.VolumePostprocessor
- class pyopensn.post.VolumePostprocessor
Volume post-processor.
Wrapper of
opensn::VolumePostprocessor.- Execute(self: pyopensn.post.VolumePostprocessor) None
Execute the postprocessor
- GetValue(self: pyopensn.post.VolumePostprocessor) numpy.ndarray[numpy.float64]
Returns the value of the postprocessor.
Rows correspond to the spatial restriction (i.e. logical volumes, if specified) Columns correspond to the energy restrictions (i.e. groups, or groups within a groupset if specified)
- __init__(self: pyopensn.post.VolumePostprocessor, **kwargs) None
Construct a volume post processor object.
- Parameters:
problem (LBSProblem) – A handle to an existing LBS problem.
block_ids (List[int], optional) – Block restriction for the postprocessor. Empty/unspecified means no block restriction.
logical_volumes (List[LogicalVolume], optional) – Logical volumes to restrict the computation to.
value_type (str, optional) – Type of value to compute: ‘integral’ (default), ‘max’, ‘min’, or ‘avg’.
group (int, optional) – Single group to compute (mutually exclusive with groupset).
groupset (int, optional) – Single groupset to compute (mutually exclusive with group).
multiplier (float, optional) – Constant multiplier. Default 1.0.
group_multipliers (List[float], optional) – Group-wise multipliers, one per group.
xs_multiplier (str, optional) – Name of a cross-section multiplier.