Line data Source code
1 : /****************************************************************************/ 2 : /* DO NOT MODIFY THIS HEADER */ 3 : /* */ 4 : /* MALAMUTE: MOOSE Application Library for Advanced Manufacturing UTilitiEs */ 5 : /* */ 6 : /* Copyright 2021 - 2024, Battelle Energy Alliance, LLC */ 7 : /* ALL RIGHTS RESERVED */ 8 : /****************************************************************************/ 9 : 10 : #include "MalamuteApp.h" 11 : #include "Moose.h" 12 : #include "AppFactory.h" 13 : #include "ModulesApp.h" 14 : #include "MooseSyntax.h" 15 : 16 : InputParameters 17 167 : MalamuteApp::validParams() 18 : { 19 167 : InputParameters params = MooseApp::validParams(); 20 : 21 : // Do not use legacy material output, i.e., output properties on INITIAL as well as TIMESTEP_END 22 167 : params.set<bool>("use_legacy_material_output") = false; 23 : 24 167 : return params; 25 0 : } 26 : 27 29 : MalamuteApp::MalamuteApp(const InputParameters & parameters) : MooseApp(parameters) 28 : { 29 29 : MalamuteApp::registerAll(_factory, _action_factory, _syntax); 30 29 : } 31 : 32 29 : MalamuteApp::~MalamuteApp() {} 33 : 34 : void 35 167 : MalamuteApp::registerAll(Factory & f, ActionFactory & af, Syntax & syntax) 36 : { 37 167 : ModulesApp::registerAllObjects<MalamuteApp>(f, af, syntax); 38 501 : Registry::registerObjectsTo(f, {"MalamuteApp"}); 39 501 : Registry::registerActionsTo(af, {"MalamuteApp"}); 40 : 41 : /* register custom execute flags, action syntax, etc. here */ 42 501 : } 43 : 44 : void 45 133 : MalamuteApp::registerApps() 46 : { 47 133 : registerApp(MalamuteApp); 48 133 : ModulesApp::registerApps(); 49 133 : } 50 : 51 : /*************************************************************************************************** 52 : *********************** Dynamic Library Entry Points - DO NOT MODIFY ****************************** 53 : **************************************************************************************************/ 54 : extern "C" void 55 0 : MalamuteApp__registerAll(Factory & f, ActionFactory & af, Syntax & s) 56 : { 57 0 : MalamuteApp::registerAll(f, af, s); 58 0 : } 59 : extern "C" void 60 0 : MalamuteApp__registerApps() 61 : { 62 0 : MalamuteApp::registerApps(); 63 0 : }