www.mooseframework.org
RichardsTestApp.C
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 {
49  registerApp(RichardsApp);
50  registerApp(RichardsTestApp);
51 }
52 
53 void
55 {
56  Registry::registerObjectsTo(factory, {"RichardsTestApp"});
57 }
58 
59 void
60 RichardsTestApp::associateSyntax(Syntax & /*syntax*/, ActionFactory & action_factory)
61 {
62  Registry::registerActionsTo(action_factory, {"RichardsTestApp"});
63 }
64 
65 void
67 {
68 }
69 
70 extern "C" void
72 {
74 }
75 extern "C" void
77 {
79 }
static void associateSyntax(Syntax &syntax, ActionFactory &action_factory)
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")
static void registerActionsTo(ActionFactory &f, const std::set< std::string > &labels)
Real f(Real x)
Test function for Brents method.
RichardsTestApp(InputParameters parameters)
virtual ~RichardsTestApp()
ActionFactory _action_factory
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
Definition: RichardsApp.C:46
void mooseDeprecated(Args &&... args)
static void registerExecFlags(Factory &factory)
Factory _factory
static void registerObjects(Factory &factory)
static void registerApps()
The Richards equation is a nonlinear diffusion equation that models multiphase flow through porous ma...
Definition: RichardsApp.h:19
void RichardsTestApp__registerAll(Factory &f, ActionFactory &af, Syntax &s)
static InputParameters validParams()
void RichardsTestApp__registerApps()