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 "MiscApp.h" 11 : #include "Moose.h" 12 : #include "AppFactory.h" 13 : #include "MooseSyntax.h" 14 : 15 : InputParameters 16 333 : MiscApp::validParams() 17 : { 18 333 : InputParameters params = MooseApp::validParams(); 19 : 20 333 : params.set<bool>("use_legacy_material_output") = false; 21 333 : params.set<bool>("use_legacy_initial_residual_evaluation_behavior") = false; 22 : 23 333 : return params; 24 0 : } 25 : 26 : registerKnownLabel("MiscApp"); 27 : 28 0 : MiscApp::MiscApp(const InputParameters & parameters) : MooseApp(parameters) 29 : { 30 0 : MiscApp::registerAll(_factory, _action_factory, _syntax); 31 0 : } 32 : 33 0 : MiscApp::~MiscApp() {} 34 : 35 : void 36 333 : MiscApp::registerAll(Factory & f, ActionFactory & af, Syntax & /*s*/) 37 : { 38 333 : Registry::registerObjectsTo(f, {"MiscApp"}); 39 333 : Registry::registerActionsTo(af, {"MiscApp"}); 40 333 : } 41 : 42 : void 43 333 : MiscApp::registerApps() 44 : { 45 333 : registerApp(MiscApp); 46 333 : } 47 : 48 : extern "C" void 49 0 : MiscApp__registerAll(Factory & f, ActionFactory & af, Syntax & s) 50 : { 51 0 : MiscApp::registerAll(f, af, s); 52 0 : } 53 : 54 : extern "C" void 55 0 : MiscApp__registerApps() 56 : { 57 0 : MiscApp::registerApps(); 58 0 : }