https://mooseframework.inl.gov
ReactorTestApp.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 "ReactorTestApp.h"
11 #include "ReactorApp.h"
12 #include "Moose.h"
13 #include "AppFactory.h"
14 #include "MooseSyntax.h"
15 
18 {
20 
22 
23  return params;
24 }
25 
26 ReactorTestApp::ReactorTestApp(const InputParameters & parameters) : MooseApp(parameters)
27 {
29  _factory, _action_factory, _syntax, getParam<bool>("allow_test_objects"));
30 }
31 
33 
34 void
35 ReactorTestApp::registerAll(Factory & f, ActionFactory & af, Syntax & s, bool use_test_objs)
36 {
37  ReactorApp::registerAll(f, af, s);
38  if (use_test_objs)
39  {
40  Registry::registerObjectsTo(f, {"ReactorTestApp"});
41  Registry::registerActionsTo(af, {"ReactorTestApp"});
42  }
43 }
44 
45 void
47 {
49  registerApp(ReactorTestApp);
50 }
51 
52 /***************************************************************************************************
53  *********************** Dynamic Library Entry Points - DO NOT MODIFY ******************************
54  **************************************************************************************************/
55 // External entry point for dynamic application loading
56 extern "C" void
58 {
60 }
61 extern "C" void
63 {
65 }
virtual ~ReactorTestApp()
T & set(const std::string &name, bool quiet_mode=false)
static void registerObjectsTo(Factory &f, const std::set< std::string > &labels)
Syntax _syntax
ReactorTestApp(const InputParameters &parameters)
static InputParameters validParams()
Definition: ReactorApp.C:16
static InputParameters validParams()
static void registerActionsTo(ActionFactory &f, const std::set< std::string > &labels)
Real f(Real x)
Test function for Brents method.
ActionFactory _action_factory
void ReactorTestApp__registerAll(Factory &f, ActionFactory &af, Syntax &s)
void ReactorTestApp__registerApps()
static void registerApps()
Definition: ReactorApp.C:42
Factory _factory
static void registerApps()
static const std::string allow_data_driven_param
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
Definition: ReactorApp.C:32
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objs=false)