https://mooseframework.inl.gov
LevelSetApp.C
Go to the documentation of this file.
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 
18 {
20 
21  params.addClassDescription(
22  "Application containing object necessary to solve the level set equation.");
23 
24  params.set<bool>("automatic_automatic_scaling") = false;
25 
26  params.set<bool>("use_legacy_material_output") = false;
27  params.set<bool>("use_legacy_initial_residual_evaluation_behavior") = false;
28 
29  return params;
30 }
31 
32 registerKnownLabel("LevelSetApp");
33 
34 LevelSetApp::LevelSetApp(const InputParameters & parameters) : MooseApp(parameters)
35 {
36  srand(processor_id());
38 }
39 
40 void
42 {
43  registerApp(LevelSetApp);
44 }
45 
46 void
48 {
49  Registry::registerObjectsTo(f, {"LevelSetApp"});
50  Registry::registerActionsTo(af, {"LevelSetApp"});
51 }
52 
53 // Dynamic Library Entry Points - DO NOT MODIFY
54 extern "C" void
56 {
58 }
59 extern "C" void
61 {
63 }
void LevelSetApp__registerAll(Factory &f, ActionFactory &af, Syntax &s)
Definition: LevelSetApp.C:55
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
Definition: LevelSetApp.C:47
T & set(const std::string &name, bool quiet_mode=false)
static void registerObjectsTo(Factory &f, const std::set< std::string > &labels)
Syntax _syntax
processor_id_type processor_id() const
static InputParameters validParams()
static void registerActionsTo(ActionFactory &f, const std::set< std::string > &labels)
Real f(Real x)
Test function for Brents method.
static InputParameters validParams()
Definition: LevelSetApp.C:17
ActionFactory _action_factory
LevelSetApp(const InputParameters &parameters)
Definition: LevelSetApp.C:34
registerKnownLabel("LevelSetApp")
void LevelSetApp__registerApps()
Definition: LevelSetApp.C:60
Factory _factory
void addClassDescription(const std::string &doc_string)
static void registerApps()
Definition: LevelSetApp.C:41