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