registerMooseObject("MooseApp", PostprocessorComparison)
Base class for comparing quantities and producing a boolean value.
bool comparisonIsTrue(const Real &a, const Real &b) const
Performs the selected comparison on the two values.
static InputParameters validParams()
Compares two post-processors and produces a boolean value.
virtual void execute() override
Execute method.
const PostprocessorValue & _value_a
First post-processor to compare.
PostprocessorValue _comparison_value
The comparison value; 1 for true and 0 for false.
virtual PostprocessorValue getValue() const override
This will get called to actually grab the final value the postprocessor has calculated.
static InputParameters validParams()
virtual void initialize() override
Called before execute() is ever called so that data can be cleared.
PostprocessorComparison(const InputParameters ¶meters)
const PostprocessorValue & _value_b
Second post-processor to compare.