https://mooseframework.inl.gov
RichardsTestApp.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 "RichardsTestApp.h"
11 #include "RichardsApp.h"
12 #include "Moose.h"
13 #include "AppFactory.h"
14 #include "MooseSyntax.h"
15 
18 {
20  return params;
21 }
22 
23 registerKnownLabel("RichardsTestApp");
24 
26 {
27  mooseDeprecated("Please use the PorousFlow module instead. If Richards contains functionality "
28  "not included in PorousFlow, please contact the moose-users google group");
30  _factory, _action_factory, _syntax, getParam<bool>("allow_test_objects"));
31 }
32 
34 
35 void
36 RichardsTestApp::registerAll(Factory & f, ActionFactory & af, Syntax & s, bool use_test_objs)
37 {
39  if (use_test_objs)
40  {
41  Registry::registerObjectsTo(f, {"RichardsTestApp"});
42  Registry::registerActionsTo(af, {"RichardsTestApp"});
43  }
44 }
45 
46 void
48 {
50  registerApp(RichardsTestApp);
51 }
52 
53 extern "C" void
55 {
57 }
58 extern "C" void
60 {
62 }
static InputParameters validParams()
Definition: RichardsApp.C:16
static void registerObjectsTo(Factory &f, const std::set< std::string > &labels)
Syntax _syntax
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objs=false)
registerKnownLabel("RichardsTestApp")
RichardsTestApp(const InputParameters &parameters)
static void registerActionsTo(ActionFactory &f, const std::set< std::string > &labels)
Real f(Real x)
Test function for Brents method.
virtual ~RichardsTestApp()
ActionFactory _action_factory
static void registerApps()
Definition: RichardsApp.C:51
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
Definition: RichardsApp.C:39
void mooseDeprecated(Args &&... args)
Factory _factory
static void registerApps()
void RichardsTestApp__registerAll(Factory &f, ActionFactory &af, Syntax &s)
static InputParameters validParams()
void RichardsTestApp__registerApps()