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