https://mooseframework.inl.gov
MiscApp.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 "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_behavior") = 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 extern "C" void
50 {
51  MiscApp::registerAll(f, af, s);
52 }
53 
54 extern "C" void
56 {
58 }
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:55
static InputParameters validParams()
static void registerActionsTo(ActionFactory &f, const std::set< std::string > &labels)
Real f(Real x)
Test function for Brents method.
ActionFactory _action_factory
void MiscApp__registerAll(Factory &f, ActionFactory &af, Syntax &s)
Definition: MiscApp.C:49
static void registerApps()
Definition: MiscApp.C:43
MiscApp(const InputParameters &parameters)
Definition: MiscApp.C:28
Factory _factory
virtual ~MiscApp()
Definition: MiscApp.C:33