Cardinal
ComputeTCScatterMGXSAux.h
Go to the documentation of this file.
1 /********************************************************************/
2 /* SOFTWARE COPYRIGHT NOTIFICATION */
3 /* Cardinal */
4 /* */
5 /* (c) 2021 UChicago Argonne, LLC */
6 /* ALL RIGHTS RESERVED */
7 /* */
8 /* Prepared by UChicago Argonne, LLC */
9 /* Under Contract No. DE-AC02-06CH11357 */
10 /* With the U. S. Department of Energy */
11 /* */
12 /* Prepared by Battelle Energy Alliance, LLC */
13 /* Under Contract No. DE-AC07-05ID14517 */
14 /* With the U. S. Department of Energy */
15 /* */
16 /* See LICENSE for full restrictions */
17 /********************************************************************/
18 
19 #pragma once
20 
21 #include "OpenMCAuxKernel.h"
22 
30 {
31 public:
32  static InputParameters validParams();
33 
34  ComputeTCScatterMGXSAux(const InputParameters & parameters);
35 
36 protected:
37  virtual Real computeValue() override;
38 
40  const VariableValue & _p0_scattering_rates;
41 
43  std::vector<const VariableValue *> _p1_scattering_rates;
44 
46  const VariableValue & _scalar_flux;
47 };
ComputeTCScatterMGXSAux(const InputParameters &parameters)
const VariableValue & _p0_scattering_rates
The group-wise P0 scattering reaction rate for computing the MGXS.
Definition: ComputeTCScatterMGXSAux.h:40
virtual Real computeValue() override
Definition: OpenMCAuxKernel.h:27
Definition: ComputeTCScatterMGXSAux.h:29
const VariableValue & _scalar_flux
The group-wise scalar flux for computing the MGXS.
Definition: ComputeTCScatterMGXSAux.h:46
static InputParameters validParams()
std::vector< const VariableValue * > _p1_scattering_rates
The group-wise P1 scattering reaction rates for computing the MGXS.
Definition: ComputeTCScatterMGXSAux.h:43