https://mooseframework.inl.gov
ScalarTransportTestApp.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 "ScalarTransportTestApp.h"
11 #include "ScalarTransportApp.h"
12 #include "Moose.h"
13 #include "AppFactory.h"
14 #include "MooseSyntax.h"
15 
18 {
20  return params;
21 }
22 
24  : ScalarTransportApp(parameters)
25 {
27  _factory, _action_factory, _syntax, getParam<bool>("allow_test_objects"));
28 }
29 
31 
32 void
34 {
36  if (use_test_objs)
37  {
38  Registry::registerObjectsTo(f, {"ScalarTransportTestApp"});
39  Registry::registerActionsTo(af, {"ScalarTransportTestApp"});
40  }
41 }
42 
43 void
45 {
47  registerApp(ScalarTransportTestApp);
48 }
49 
50 /***************************************************************************************************
51  *********************** Dynamic Library Entry Points - DO NOT MODIFY ******************************
52  **************************************************************************************************/
53 // External entry point for dynamic application loading
54 extern "C" void
56 {
58 }
59 extern "C" void
61 {
63 }
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
static void registerObjectsTo(Factory &f, const std::set< std::string > &labels)
Syntax _syntax
static InputParameters validParams()
void ScalarTransportTestApp__registerAll(Factory &f, ActionFactory &af, Syntax &s)
static void registerApps()
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 ScalarTransportTestApp__registerApps()
Factory _factory
ScalarTransportTestApp(const InputParameters &parameters)
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objs=false)