Skip to content

Commit

Permalink
chemical_reactions module tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
rwcarlsen committed Sep 20, 2018
1 parent 372b46b commit 957624f
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/chemical_reactions/src/base/ChemicalReactionsApp.C
Expand Up @@ -58,22 +58,22 @@ ChemicalReactionsApp::registerApps()
void
ChemicalReactionsApp::registerObjects(Factory & factory)
{
mooseDeprecated("user registerAll instead of registerObjects");
mooseDeprecated("use registerAll instead of registerObjects");
Registry::registerObjectsTo(factory, {"ChemicalReactionsApp"});
}

void
ChemicalReactionsApp::associateSyntax(Syntax & syntax, ActionFactory & action_factory)
{
mooseDeprecated("user registerAll instead of associateSyntax");
mooseDeprecated("use registerAll instead of associateSyntax");
Registry::registerActionsTo(action_factory, {"ChemicalReactionsApp"});
associateSyntaxInner(syntax, action_factory);
}

void
ChemicalReactionsApp::registerExecFlags(Factory & /*factory*/)
{
mooseDeprecated("user registerAll instead of registerExecFlags");
mooseDeprecated("use registerAll instead of registerExecFlags");
}

extern "C" void
Expand Down
Expand Up @@ -25,6 +25,9 @@ class ChemicalReactionsTestApp : public MooseApp
static void
registerAll(Factory & f, ActionFactory & af, Syntax & s, bool use_test_objects = false);
static void registerApps();
static void registerObjects(Factory & factory);
static void associateSyntax(Syntax & syntax, ActionFactory & action_factory);
static void registerExecFlags(Factory & factory);
};

#endif /* CHEMICALREACTIONSTESTAPP_H */
Expand Up @@ -52,6 +52,24 @@ ChemicalReactionsTestApp::registerApps()
registerApp(ChemicalReactionsTestApp);
}

void
ChemicalReactionsTestApp::registerObjects(Factory & factory)
{
mooseDeprecated("use registerAll instead of registerObjects");
Registry::registerObjectsTo(factory, {"ChemicalReactionsTestApp"});
}
void
ChemicalReactionsTestApp::associateSyntax(Syntax & /*syntax*/, ActionFactory & action_factory)
{
mooseDeprecated("use registerAll instead of associateSyntax");
Registry::registerActionsTo(action_factory, {"ChemicalReactionsTestApp"});
}
void
ChemicalReactionsTestApp::registerExecFlags(Factory & factory)
{
mooseDeprecated("use registerAll instead of registerExecFlags");
}

extern "C" void
ChemicalReactionsApp__registerAll(Factory & f, ActionFactory & af, Syntax & s)
{
Expand Down

0 comments on commit 957624f

Please sign in to comment.