https://mooseframework.inl.gov
RichardsApp.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 "RichardsApp.h"
11 #include "Moose.h"
12 #include "AppFactory.h"
13 #include "MooseSyntax.h"
14 
17 {
19 
20  params.set<bool>("automatic_automatic_scaling") = false;
21  params.set<bool>("use_legacy_material_output") = false;
22  params.set<bool>("use_legacy_initial_residual_evaluation_behavior") = false;
23 
24  return params;
25 }
26 
27 registerKnownLabel("RichardsApp");
28 
29 RichardsApp::RichardsApp(const InputParameters & parameters) : MooseApp(parameters)
30 {
31  mooseDeprecated("Please use the PorousFlow module instead. If Richards contains functionality "
32  "not included in PorousFlow, please contact the moose-users google group");
34 }
35 
37 
38 void
40 {
41  Registry::registerObjectsTo(f, {"RichardsApp"});
42  Registry::registerActionsTo(af, {"RichardsApp"});
43 
44  registerSyntaxTask("Q2PAction", "Q2P", "add_kernel");
45  registerSyntaxTask("Q2PAction", "Q2P", "add_aux_variable");
46  registerSyntaxTask("Q2PAction", "Q2P", "add_function");
47  registerSyntaxTask("Q2PAction", "Q2P", "add_postprocessor");
48 }
49 
50 void
52 {
53  registerApp(RichardsApp);
54 }
static InputParameters validParams()
Definition: RichardsApp.C:16
T & set(const std::string &name, bool quiet_mode=false)
static void registerObjectsTo(Factory &f, const std::set< std::string > &labels)
Syntax _syntax
static InputParameters validParams()
RichardsApp(const InputParameters &parameters)
Definition: RichardsApp.C:29
static void registerActionsTo(ActionFactory &f, const std::set< std::string > &labels)
Real f(Real x)
Test function for Brents method.
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)
registerKnownLabel("RichardsApp")
Factory _factory
The Richards equation is a nonlinear diffusion equation that models multiphase flow through porous ma...
Definition: RichardsApp.h:19
virtual ~RichardsApp()
Definition: RichardsApp.C:36