www.mooseframework.org
RichardsTestApp.C
Go to the documentation of this file.
1 #include "RichardsTestApp.h"
2 #include "RichardsApp.h"
3 #include "Moose.h"
4 #include "AppFactory.h"
5 #include "MooseSyntax.h"
6 
7 template <>
8 InputParameters
10 {
11  InputParameters params = validParams<RichardsApp>();
12  return params;
13 }
14 
15 RichardsTestApp::RichardsTestApp(InputParameters parameters) : MooseApp(parameters)
16 {
17  Moose::registerObjects(_factory);
19 
20  Moose::associateSyntax(_syntax, _action_factory);
21  RichardsApp::associateSyntax(_syntax, _action_factory);
22 
23  bool use_test_objs = getParam<bool>("allow_test_objects");
24  if (use_test_objs)
25  {
27  RichardsTestApp::associateSyntax(_syntax, _action_factory);
28  }
29 
30  mooseDeprecated("Please use the PorousFlow module instead. If Richards contains functionality "
31  "not included in PorousFlow, please contact the moose-users google group");
32 }
33 
35 
36 // External entry point for dynamic application loading
37 extern "C" void
39 {
41 }
42 void
44 {
45  registerApp(RichardsApp);
46  registerApp(RichardsTestApp);
47 }
48 
49 // External entry point for dynamic object registration
50 extern "C" void
52 {
54 }
55 void
56 RichardsTestApp::registerObjects(Factory & /*factory*/)
57 {
58 }
59 
60 // External entry point for dynamic syntax association
61 extern "C" void
62 RichardsTestApp__associateSyntax(Syntax & syntax, ActionFactory & action_factory)
63 {
64  RichardsTestApp::associateSyntax(syntax, action_factory);
65 }
66 void
67 RichardsTestApp::associateSyntax(Syntax & /*syntax*/, ActionFactory & /*action_factory*/)
68 {
69 }
InputParameters validParams< RichardsApp >()
Definition: RichardsApp.C:108
void RichardsTestApp__registerObjects(Factory &factory)
void RichardsTestApp__associateSyntax(Syntax &syntax, ActionFactory &action_factory)
static void associateSyntax(Syntax &syntax, ActionFactory &action_factory)
RichardsTestApp(InputParameters parameters)
virtual ~RichardsTestApp()
static void registerObjects(Factory &factory)
Definition: RichardsApp.C:135
static void registerObjects(Factory &factory)
static void associateSyntax(Syntax &syntax, ActionFactory &action_factory)
Definition: RichardsApp.C:229
static void registerApps()
InputParameters validParams< RichardsTestApp >()
The Richards equation is a nonlinear diffusion equation that models multiphase flow through porous ma...
Definition: RichardsApp.h:22
void RichardsTestApp__registerApps()