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 "SolidPropertiesApp.h" 11 : #include "HeatTransferApp.h" 12 : #include "Moose.h" 13 : #include "AppFactory.h" 14 : #include "MooseSyntax.h" 15 : 16 : InputParameters 17 205 : SolidPropertiesApp::validParams() 18 : { 19 205 : InputParameters params = MooseApp::validParams(); 20 205 : params.set<bool>("use_legacy_material_output") = false; 21 205 : params.set<bool>("use_legacy_initial_residual_evaluation_behavior") = false; 22 205 : return params; 23 0 : } 24 : 25 : registerKnownLabel("SolidPropertiesApp"); 26 : 27 24 : SolidPropertiesApp::SolidPropertiesApp(const InputParameters & parameters) : MooseApp(parameters) 28 : { 29 24 : SolidPropertiesApp::registerAll(_factory, _action_factory, _syntax); 30 24 : } 31 : 32 : void 33 181 : SolidPropertiesApp::registerApps() 34 : { 35 181 : registerApp(SolidPropertiesApp); 36 : 37 181 : HeatTransferApp::registerApps(); 38 181 : } 39 : 40 : void 41 205 : SolidPropertiesApp::registerAll(Factory & f, ActionFactory & af, Syntax & syntax) 42 : { 43 205 : HeatTransferApp::registerAll(f, af, syntax); 44 205 : Registry::registerObjectsTo(f, {"SolidPropertiesApp"}); 45 205 : Registry::registerActionsTo(af, {"SolidPropertiesApp"}); 46 : 47 410 : registerSyntaxTask( 48 : "AddSolidPropertiesDeprecatedAction", "Modules/SolidProperties/*", "add_solid_properties"); 49 410 : registerSyntaxTask("AddSolidPropertiesAction", "SolidProperties/*", "add_solid_properties"); 50 410 : registerMooseObjectTask("add_solid_properties", SolidProperties, false); 51 : 52 410 : syntax.addDependency("add_solid_properties", "add_function"); 53 410 : syntax.addDependency("add_user_object", "add_solid_properties"); 54 205 : } 55 : 56 : extern "C" void 57 0 : SolidPropertiesApp__registerAll(Factory & f, ActionFactory & af, Syntax & s) 58 : { 59 0 : SolidPropertiesApp::registerAll(f, af, s); 60 0 : } 61 : extern "C" void 62 0 : SolidPropertiesApp__registerApps() 63 : { 64 0 : SolidPropertiesApp::registerApps(); 65 0 : }