www.mooseframework.org
ChemicalReactionsTestApp.C
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 
11 #include "ChemicalReactionsApp.h"
12 #include "Moose.h"
13 #include "AppFactory.h"
14 #include "MooseSyntax.h"
15 
16 template <>
17 InputParameters
19 {
20  InputParameters params = validParams<ChemicalReactionsApp>();
21  return params;
22 }
23 
24 registerKnownLabel("ChemicalReactionsTestApp");
25 
27  : MooseApp(parameters)
28 {
30  _factory, _action_factory, _syntax, getParam<bool>("allow_test_objects"));
31 }
32 
34 
35 void
37  ActionFactory & af,
38  Syntax & s,
39  bool use_test_objects)
40 {
42  if (use_test_objects)
43  {
44  Registry::registerObjectsTo(f, {"ChemicalReactionsTestApp"});
45  Registry::registerActionsTo(af, {"ChemicalReactionsTestApp"});
46  }
47 }
48 
49 void
51 {
52  registerApp(ChemicalReactionsApp);
53  registerApp(ChemicalReactionsTestApp);
54 }
55 
56 void
58 {
59  mooseDeprecated("use registerAll instead of registerObjects");
60  Registry::registerObjectsTo(factory, {"ChemicalReactionsTestApp"});
61 }
62 void
63 ChemicalReactionsTestApp::associateSyntax(Syntax & /*syntax*/, ActionFactory & action_factory)
64 {
65  mooseDeprecated("use registerAll instead of associateSyntax");
66  Registry::registerActionsTo(action_factory, {"ChemicalReactionsTestApp"});
67 }
68 void
70 {
71  mooseDeprecated("use registerAll instead of registerExecFlags");
72 }
73 
74 extern "C" void
75 ChemicalReactionsTestApp__registerAll(Factory & f, ActionFactory & af, Syntax & s)
76 {
78 }
79 
80 // External entry point for dynamic application loading
81 extern "C" void
83 {
85 }
registerKnownLabel
registerKnownLabel("ChemicalReactionsTestApp")
ChemicalReactionsTestApp
Definition: ChemicalReactionsTestApp.h:19
ChemicalReactionsTestApp::registerObjects
static void registerObjects(Factory &factory)
Definition: ChemicalReactionsTestApp.C:57
ChemicalReactionsTestApp::~ChemicalReactionsTestApp
virtual ~ChemicalReactionsTestApp()
Definition: ChemicalReactionsTestApp.C:33
ChemicalReactionsApp
Definition: ChemicalReactionsApp.h:19
ChemicalReactionsApp.h
ChemicalReactionsTestApp::registerExecFlags
static void registerExecFlags(Factory &factory)
Definition: ChemicalReactionsTestApp.C:69
ChemicalReactionsTestApp::registerApps
static void registerApps()
Definition: ChemicalReactionsTestApp.C:50
ChemicalReactionsTestApp__registerAll
void ChemicalReactionsTestApp__registerAll(Factory &f, ActionFactory &af, Syntax &s)
Definition: ChemicalReactionsTestApp.C:75
validParams< ChemicalReactionsApp >
InputParameters validParams< ChemicalReactionsApp >()
Definition: ChemicalReactionsApp.C:17
validParams< ChemicalReactionsTestApp >
InputParameters validParams< ChemicalReactionsTestApp >()
Definition: ChemicalReactionsTestApp.C:18
ChemicalReactionsTestApp.h
ChemicalReactionsApp::registerAll
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
Definition: ChemicalReactionsApp.C:51
ChemicalReactionsTestApp::registerAll
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objects=false)
Definition: ChemicalReactionsTestApp.C:36
ChemicalReactionsTestApp::associateSyntax
static void associateSyntax(Syntax &syntax, ActionFactory &action_factory)
Definition: ChemicalReactionsTestApp.C:63
ChemicalReactionsTestApp__registerApps
void ChemicalReactionsTestApp__registerApps()
Definition: ChemicalReactionsTestApp.C:82
ChemicalReactionsTestApp::ChemicalReactionsTestApp
ChemicalReactionsTestApp(InputParameters parameters)
Definition: ChemicalReactionsTestApp.C:26