https://mooseframework.inl.gov
StochasticToolsTestApp.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 "StochasticToolsTestApp.h"
11 #include "StochasticToolsApp.h"
12 #include "Moose.h"
13 #include "AppFactory.h"
14 #include "MooseSyntax.h"
15 
18 {
20  return params;
21 }
22 
23 registerKnownLabel("StochasticToolsTestApp");
24 
26  : MooseApp(parameters)
27 {
29  _factory, _action_factory, _syntax, getParam<bool>("allow_test_objects"));
30 }
31 
33 
34 void
36 {
38  if (use_test_objs)
39  {
40  Registry::registerObjectsTo(f, {"StochasticToolsTestApp"});
41  Registry::registerActionsTo(af, {"StochasticToolsTestApp"});
42  }
43 }
44 
45 void
47 {
49  registerApp(StochasticToolsTestApp);
50 }
51 
52 extern "C" void
54 {
56 }
57 extern "C" void
59 {
61 }
registerKnownLabel("StochasticToolsTestApp")
StochasticToolsTestApp(const InputParameters &parameters)
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
static void registerObjectsTo(Factory &f, const std::set< std::string > &labels)
Syntax _syntax
void StochasticToolsTestApp__registerApps()
static void registerActionsTo(ActionFactory &f, const std::set< std::string > &labels)
Real f(Real x)
Test function for Brents method.
ActionFactory _action_factory
static void registerApps()
static InputParameters validParams()
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objs=false)
Factory _factory
void StochasticToolsTestApp__registerAll(Factory &f, ActionFactory &af, Syntax &s)
static InputParameters validParams()