https://mooseframework.inl.gov
NSFVActionDeprecation.C
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #include "NSFVActionDeprecation.h"
11 
12 registerMooseAction("NavierStokesApp", NSFVActionDeprecation, "nsfv_action_deprecation_task");
13 
16 {
18  params.addClassDescription("Helper class to smooth the deprecation of the NSFV Action");
19 
20  return params;
21 }
22 
24  : Action(parameters)
25 {
26  mooseDeprecated("The NSFVAction, used through the [Modules/NavierStokesFV] syntax is deprecated. "
27  "Please modify your input file to use the [Physics/NavierStokes/<specific "
28  "Physics syntax (Flow/FluidHeatTransfer/...)>/<name>] syntax.\n"
29  "A help section for this transition is available on the MOOSE website: "
30  "https://mooseframework.inl.gov/syntax/Modules/NavierStokesFV/index.html");
31 }
32 
33 void
35 {
36 }
virtual void act() override
void mooseDeprecated(Args &&... args) const
static InputParameters validParams()
static InputParameters validParams()
registerMooseAction("NavierStokesApp", NSFVActionDeprecation, "nsfv_action_deprecation_task")
NSFVActionDeprecation(const InputParameters &parameters)
void addClassDescription(const std::string &doc_string)
This class helps with the deprecation of this syntax [Modules] [NavierStokesFV] param_1 = value_1 par...