19 params.
addParam<
bool>(
"DEPRECATED",
"*** WARNING: This block is deprecated - DO NOT USE ***");
31 mooseError(
"Input file block '" +
name() +
"' has been deprecated.");
DeprecatedBlockAction(const InputParameters ¶meters)
registerMooseAction("MooseApp", DeprecatedBlockAction, "deprecated_block")
void act() override
Method to add objects to the simulation or perform other setup tasks.
static InputParameters validParams()
virtual const std::string & name() const
Get the name of the class.
static InputParameters validParams()
void mooseError(Args &&... args) const
Emits an error prefixed with object name and type.
Used for marking that some block are deprecated and not be used.