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 "Moose.h" 11 : #include "LevelSetApp.h" 12 : #include "AppFactory.h" 13 : #include "MooseSyntax.h" 14 : #include "LevelSetTypes.h" 15 : 16 : InputParameters 17 333 : LevelSetApp::validParams() 18 : { 19 333 : InputParameters params = MooseApp::validParams(); 20 : 21 333 : params.addClassDescription( 22 : "Application containing object necessary to solve the level set equation."); 23 : 24 333 : params.set<bool>("automatic_automatic_scaling") = false; 25 : 26 333 : params.set<bool>("use_legacy_material_output") = false; 27 333 : params.set<bool>("use_legacy_initial_residual_evaluation_behavior") = false; 28 : 29 333 : return params; 30 0 : } 31 : 32 : registerKnownLabel("LevelSetApp"); 33 : 34 0 : LevelSetApp::LevelSetApp(const InputParameters & parameters) : MooseApp(parameters) 35 : { 36 0 : srand(processor_id()); 37 0 : LevelSetApp::registerAll(_factory, _action_factory, _syntax); 38 0 : } 39 : 40 : void 41 268 : LevelSetApp::registerApps() 42 : { 43 268 : registerApp(LevelSetApp); 44 268 : } 45 : 46 : void 47 333 : LevelSetApp::registerAll(Factory & f, ActionFactory & af, Syntax & /*s*/) 48 : { 49 333 : Registry::registerObjectsTo(f, {"LevelSetApp"}); 50 333 : Registry::registerActionsTo(af, {"LevelSetApp"}); 51 333 : } 52 : 53 : // Dynamic Library Entry Points - DO NOT MODIFY 54 : extern "C" void 55 0 : LevelSetApp__registerAll(Factory & f, ActionFactory & af, Syntax & s) 56 : { 57 0 : LevelSetApp::registerAll(f, af, s); 58 0 : } 59 : extern "C" void 60 0 : LevelSetApp__registerApps() 61 : { 62 0 : LevelSetApp::registerApps(); 63 0 : }