Go to the documentation of this file.
19 InputParameters params = validParams<GeneralPostprocessor>();
20 params.addRequiredParam<UserObjectName>(
21 "uo",
"PorousFlowSumQuantity user object name that holds the required information");
22 params.addClassDescription(
"Extracts the value from the PorousFlowSumQuantity UserObject");
const PorousFlowSumQuantity & _total_mass
The PorousFlowSumQuantity userobject.
virtual ~PorousFlowPlotQuantity()
InputParameters validParams< PorousFlowPlotQuantity >()
virtual Real getValue() const
Returns _total.
virtual PostprocessorValue getValue() override
Returns the value of the PorousFlowSumQuantity.
virtual void execute() override
virtual void initialize() override
Sums into _total This is used, for instance, to record the total mass flowing into a borehole.
PorousFlowPlotQuantity(const InputParameters ¶meters)
Extracts the value from PorousFlowSumQuantity userobject.
registerMooseObject("PorousFlowApp", PorousFlowPlotQuantity)