17 MooseEnum comparison_type(
"equals greater_than_equals less_than_equals greater_than less_than");
20 "The type of comparison to perform. Options are: " +
25 "Absolute tolerance used in comparisons");
34 _absolute_tolerance(getParam<
Real>(
"absolute_tolerance"))
static constexpr Real TOLERANCE
static InputParameters validParams()
This class is here to combine the Postprocessor interface and the base class Postprocessor object alo...
std::string getRawNames() const
Method for returning the raw name strings for this instance.
static InputParameters validParams()
bool comparisonIsTrue(const Real &a, const Real &b) const
Performs the selected comparison on the two values.
ComparisonType
Comparison type.
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
ComparisonPostprocessor(const InputParameters ¶meters)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void mooseError(Args &&... args) const
Emits an error prefixed with object name and type and optionally a file path to the top-level block p...
const ComparisonType _comparison_type
Type of comparison to perform.
const Real _absolute_tolerance
Absolute tolerance for "fuzzy" comparisons.