www.mooseframework.org
MiscApp.C
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 "MiscApp.h"
11 #include "Moose.h"
12 #include "AppFactory.h"
13 #include "MooseSyntax.h"
14 
17 {
19 
20  params.set<bool>("use_legacy_material_output") = false;
21  params.set<bool>("use_legacy_initial_residual_evaluation_bahavior") = false;
22 
23  return params;
24 }
25 
26 registerKnownLabel("MiscApp");
27 
28 MiscApp::MiscApp(const InputParameters & parameters) : MooseApp(parameters)
29 {
31 }
32 
34 
35 void
37 {
38  Registry::registerObjectsTo(f, {"MiscApp"});
39  Registry::registerActionsTo(af, {"MiscApp"});
40 }
41 
42 void
44 {
45  registerApp(MiscApp);
46 }
47 
48 void
50 {
51  Registry::registerObjectsTo(factory, {"MiscApp"});
52 }
53 
54 void
55 MiscApp::associateSyntax(Syntax & /*syntax*/, ActionFactory & action_factory)
56 {
57  Registry::registerActionsTo(action_factory, {"MiscApp"});
58 }
59 
60 void
62 {
63 }
64 
65 extern "C" void
67 {
68  MiscApp::registerAll(f, af, s);
69 }
70 
71 extern "C" void
73 {
75 }
static InputParameters validParams()
Definition: MiscApp.C:16
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
Definition: MiscApp.C:36
T & set(const std::string &name, bool quiet_mode=false)
static void registerObjectsTo(Factory &f, const std::set< std::string > &labels)
Syntax _syntax
registerKnownLabel("MiscApp")
void MiscApp__registerApps()
Definition: MiscApp.C:72
static InputParameters validParams()
static void associateSyntax(Syntax &syntax, ActionFactory &action_factory)
Definition: MiscApp.C:55
static void registerActionsTo(ActionFactory &f, const std::set< std::string > &labels)
Real f(Real x)
Test function for Brents method.
static void registerExecFlags(Factory &factory)
Definition: MiscApp.C:61
ActionFactory _action_factory
void MiscApp__registerAll(Factory &f, ActionFactory &af, Syntax &s)
Definition: MiscApp.C:66
static void registerApps()
Definition: MiscApp.C:43
MiscApp(const InputParameters &parameters)
Definition: MiscApp.C:28
Factory _factory
virtual ~MiscApp()
Definition: MiscApp.C:33
static void registerObjects(Factory &factory)
Definition: MiscApp.C:49