https://mooseframework.inl.gov
NavierStokesTestApp.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 "NavierStokesTestApp.h"
11 #include "NavierStokesApp.h"
12 #include "Moose.h"
13 #include "AppFactory.h"
14 #include "MooseSyntax.h"
15 
18 {
20  return params;
21 }
22 
23 registerKnownLabel("NavierStokesTestApp");
24 
26  : NavierStokesApp(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, {"NavierStokesTestApp"});
41  Registry::registerActionsTo(af, {"NavierStokesTestApp"});
42  }
43 }
44 
45 void
47 {
49  registerApp(NavierStokesTestApp);
50 }
51 
52 extern "C" void
54 {
56 }
57 extern "C" void
59 {
61 }
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objs=false)
static InputParameters validParams()
static void registerObjectsTo(Factory &f, const std::set< std::string > &labels)
Syntax _syntax
static void 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 InputParameters validParams()
NavierStokesTestApp(const InputParameters &parameters)
static void registerApps()
Factory _factory
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)