Line data Source code
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 : 15 : InputParameters 16 346 : RichardsApp::validParams() 17 : { 18 346 : InputParameters params = MooseApp::validParams(); 19 : 20 346 : params.set<bool>("automatic_automatic_scaling") = false; 21 346 : params.set<bool>("use_legacy_material_output") = false; 22 346 : params.set<bool>("use_legacy_initial_residual_evaluation_behavior") = false; 23 : 24 346 : return params; 25 0 : } 26 : 27 : registerKnownLabel("RichardsApp"); 28 : 29 0 : RichardsApp::RichardsApp(const InputParameters & parameters) : MooseApp(parameters) 30 : { 31 0 : mooseDeprecated("Please use the PorousFlow module instead. If Richards contains functionality " 32 : "not included in PorousFlow, please contact the moose-users google group"); 33 0 : RichardsApp::registerAll(_factory, _action_factory, _syntax); 34 0 : } 35 : 36 0 : RichardsApp::~RichardsApp() {} 37 : 38 : void 39 346 : RichardsApp::registerAll(Factory & f, ActionFactory & af, Syntax & syntax) 40 : { 41 346 : Registry::registerObjectsTo(f, {"RichardsApp"}); 42 346 : Registry::registerActionsTo(af, {"RichardsApp"}); 43 : 44 692 : registerSyntaxTask("Q2PAction", "Q2P", "add_kernel"); 45 692 : registerSyntaxTask("Q2PAction", "Q2P", "add_aux_variable"); 46 692 : registerSyntaxTask("Q2PAction", "Q2P", "add_function"); 47 692 : registerSyntaxTask("Q2PAction", "Q2P", "add_postprocessor"); 48 346 : } 49 : 50 : void 51 346 : RichardsApp::registerApps() 52 : { 53 346 : registerApp(RichardsApp); 54 346 : }