https://mooseframework.inl.gov
ChemicalReactionsTestApp.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 
11 #include "ChemicalReactionsApp.h"
12 #include "Moose.h"
13 #include "AppFactory.h"
14 #include "MooseSyntax.h"
15 
18 {
20  return params;
21 }
22 
23 registerKnownLabel("ChemicalReactionsTestApp");
24 
26  : ChemicalReactionsApp(parameters)
27 {
29  _factory, _action_factory, _syntax, getParam<bool>("allow_test_objects"));
30 }
31 
33 
34 void
36  ActionFactory & af,
37  Syntax & /*s*/,
38  bool use_test_objects)
39 {
40  if (use_test_objects)
41  {
42  Registry::registerObjectsTo(f, {"ChemicalReactionsTestApp"});
43  Registry::registerActionsTo(af, {"ChemicalReactionsTestApp"});
44  }
45 }
46 
47 void
49 {
51  registerApp(ChemicalReactionsTestApp);
52 }
53 
54 extern "C" void
56 {
58 }
59 
60 // External entry point for dynamic application loading
61 extern "C" void
63 {
65 }
ChemicalReactionsTestApp(const InputParameters &parameters)
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objects=false)
static void registerObjectsTo(Factory &f, const std::set< std::string > &labels)
Syntax _syntax
static void registerActionsTo(ActionFactory &f, const std::set< std::string > &labels)
static InputParameters validParams()
Real f(Real x)
Test function for Brents method.
ActionFactory _action_factory
void ChemicalReactionsTestApp__registerApps()
static InputParameters validParams()
Factory _factory
registerKnownLabel("ChemicalReactionsTestApp")
void ChemicalReactionsTestApp__registerAll(Factory &f, ActionFactory &af, Syntax &s)