https://mooseframework.inl.gov
SolidPropertiesApp.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 "SolidPropertiesApp.h"
11 #include "HeatTransferApp.h"
12 #include "Moose.h"
13 #include "AppFactory.h"
14 #include "MooseSyntax.h"
15 
18 {
20  params.set<bool>("use_legacy_material_output") = false;
21  params.set<bool>("use_legacy_initial_residual_evaluation_behavior") = false;
22  return params;
23 }
24 
25 registerKnownLabel("SolidPropertiesApp");
26 
28 {
30 }
31 
32 void
34 {
35  registerApp(SolidPropertiesApp);
36 
38 }
39 
40 void
42 {
44  Registry::registerObjectsTo(f, {"SolidPropertiesApp"});
45  Registry::registerActionsTo(af, {"SolidPropertiesApp"});
46 
47  registerSyntaxTask(
48  "AddSolidPropertiesDeprecatedAction", "Modules/SolidProperties/*", "add_solid_properties");
49  registerSyntaxTask("AddSolidPropertiesAction", "SolidProperties/*", "add_solid_properties");
50  registerMooseObjectTask("add_solid_properties", SolidProperties, false);
51 
52  syntax.addDependency("add_solid_properties", "add_function");
53  syntax.addDependency("add_user_object", "add_solid_properties");
54 }
55 
56 extern "C" void
58 {
60 }
61 extern "C" void
63 {
65 }
static InputParameters validParams()
void SolidPropertiesApp__registerApps()
void addDependency(const std::string &task, const std::string &pre_req)
static void registerApps()
T & set(const std::string &name, bool quiet_mode=false)
static void registerObjectsTo(Factory &f, const std::set< std::string > &labels)
registerKnownLabel("SolidPropertiesApp")
void SolidPropertiesApp__registerAll(Factory &f, ActionFactory &af, Syntax &s)
Syntax _syntax
Syntax & syntax()
static InputParameters validParams()
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
static void registerActionsTo(ActionFactory &f, const std::set< std::string > &labels)
Real f(Real x)
Test function for Brents method.
SolidPropertiesApp(const InputParameters &parameters)
ActionFactory _action_factory
static void registerApps()
Factory _factory
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)