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