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 167 : FsiApp::validParams() 20 : { 21 167 : InputParameters params = MooseApp::validParams(); 22 : 23 167 : params.set<bool>("use_legacy_initial_residual_evaluation_behavior") = false; 24 167 : 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 167 : FsiApp::registerAll(Factory & f, ActionFactory & af, Syntax & s) 36 : { 37 167 : Registry::registerObjectsTo(f, {"FsiApp"}); 38 167 : Registry::registerActionsTo(af, {"FsiApp"}); 39 : 40 167 : NavierStokesApp::registerAll(f, af, s); 41 167 : SolidMechanicsApp::registerAll(f, af, s); 42 167 : } 43 : 44 : void 45 167 : FsiApp::registerApps() 46 : { 47 167 : registerApp(FsiApp); 48 : 49 167 : NavierStokesApp::registerApps(); 50 167 : SolidMechanicsApp::registerApps(); 51 167 : } 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 : }