www.mooseframework.org
SolidMechanicsTestApp.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 "SolidMechanicsTestApp.h"
11 #include "SolidMechanicsApp.h"
12 #include "Moose.h"
13 #include "AppFactory.h"
14 #include "MooseSyntax.h"
15 
18 {
20  return params;
21 }
22 
23 registerKnownLabel("SolidMechanicsTestApp");
24 
26 {
28  _factory, _action_factory, _syntax, getParam<bool>("allow_test_objects"));
29 }
30 
32 
33 void
35 {
37  if (use_test_objs)
38  {
39  Registry::registerObjectsTo(f, {"SolidMechanicsTestApp"});
40  Registry::registerActionsTo(af, {"SolidMechanicsTestApp"});
41  }
42 }
43 void
45 {
46  registerApp(SolidMechanicsApp);
47  registerApp(SolidMechanicsTestApp);
48 }
49 
50 void
52 {
53  Registry::registerObjectsTo(factory, {"SolidMechanicsTestApp"});
54 }
55 
56 void
58 {
59  Registry::registerActionsTo(action_factory, {"SolidMechanicsTestApp"});
60 }
61 
62 void
64 {
65 }
66 
67 extern "C" void
69 {
71 }
72 extern "C" void
74 {
76 }
static InputParameters validParams()
void SolidMechanicsTestApp__registerApps()
void SolidMechanicsTestApp__registerAll(Factory &f, ActionFactory &af, Syntax &s)
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
static void associateSyntax(Syntax &syntax, ActionFactory &action_factory)
static void registerObjectsTo(Factory &f, const std::set< std::string > &labels)
static void registerExecFlags(Factory &factory)
Syntax _syntax
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objs=false)
static InputParameters validParams()
static void registerActionsTo(ActionFactory &f, const std::set< std::string > &labels)
Real f(Real x)
Test function for Brents method.
static void registerObjects(Factory &factory)
ActionFactory _action_factory
SolidMechanicsTestApp(InputParameters parameters)
Factory _factory
registerKnownLabel("SolidMechanicsTestApp")