pyopensn.post.CrossSectionSensitivityPostprocessor
- class pyopensn.post.CrossSectionSensitivityPostprocessor
Cross-section sensitivity postprocessor.
- ApplyKEigenvalueScaling(self: pyopensn.post.CrossSectionSensitivityPostprocessor, arg0: float) None
Scale the previously computed sensitivities to k-eigenvalue sensitivities.
- Parameters:
k_eff (float) – Forward k-eigenvalue used in the first-order k-sensitivity normalization.
- Execute(self: pyopensn.post.CrossSectionSensitivityPostprocessor) None
Execute the postprocessor.
- GetValue(self: pyopensn.post.CrossSectionSensitivityPostprocessor) numpy.ndarray[numpy.float64]
Returns the sensitivity values.
- __init__(self: pyopensn.post.CrossSectionSensitivityPostprocessor, **kwargs) None
Construct a cross-section sensitivity postprocessor.
sigma_t sensitivities use angular fluxes. Scattering and production sensitivities use flux moments.
- Parameters:
problem (DiscreteOrdinatesProblem) – A handle to an existing discrete ordinates 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.
sensitivity_type (str, optional) – Sensitivity type: ‘sigma_t’ (default), ‘scatter’, or ‘production’.
group (int, optional) – Group for sigma_t or production sensitivities.
moment (int, optional) – Scattering moment/order for scatter sensitivities. Aliased by ‘ell’; specify at most one of the two.
ell (int, optional) – Alias for ‘moment’. Specify at most one of ‘moment’ and ‘ell’.
from_group (int, optional) – Source group for the scatter coefficient.
to_group (int, optional) – Destination group for the scatter coefficient.
relative (bool, optional) – Return relative sensitivities x*dR/dx instead of dR/dx. Default False.
forward_flux_moments (str, optional) – Forward flux-moment file prefix. Empty (default) uses the current phi.
adjoint_flux_moments (str, optional) – Adjoint flux-moment file prefix. Empty (default) uses the current phi.
forward_angular_fluxes (str, optional) – Forward angular-flux file prefix. Empty (default) uses the current psi.
adjoint_angular_fluxes (str, optional) – Adjoint angular-flux file prefix. Empty (default) uses the current psi.
flux_moments_single_file (bool, optional) – Read flux moments from a single file instead of one file per rank. Default False.