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 
16 template <>
17 InputParameters
19 {
20  InputParameters params = validParams<SolidMechanicsApp>();
21  return params;
22 }
23 
24 registerKnownLabel("SolidMechanicsTestApp");
25 
26 SolidMechanicsTestApp::SolidMechanicsTestApp(InputParameters parameters) : MooseApp(parameters)
27 {
29  _factory, _action_factory, _syntax, getParam<bool>("allow_test_objects"));
30 }
31 
33 
34 void
35 SolidMechanicsTestApp::registerAll(Factory & f, ActionFactory & af, Syntax & s, bool use_test_objs)
36 {
38  if (use_test_objs)
39  {
40  Registry::registerObjectsTo(f, {"SolidMechanicsTestApp"});
41  Registry::registerActionsTo(af, {"SolidMechanicsTestApp"});
42  }
43 }
44 
45 void
47 {
48  registerApp(SolidMechanicsApp);
49  registerApp(SolidMechanicsTestApp);
50 }
51 
52 void
54 {
55  Registry::registerObjectsTo(factory, {"SolidMechanicsTestApp"});
56 }
57 
58 void
59 SolidMechanicsTestApp::associateSyntax(Syntax & /*syntax*/, ActionFactory & action_factory)
60 {
61  Registry::registerActionsTo(action_factory, {"SolidMechanicsTestApp"});
62 }
63 
64 void
66 {
67 }
68 
69 extern "C" void
70 SolidMechanicsTestApp__registerAll(Factory & f, ActionFactory & af, Syntax & s)
71 {
73 }
74 extern "C" void
76 {
78 }
InputParameters validParams< SolidMechanicsApp >()
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 registerExecFlags(Factory &factory)
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objs=false)
static void registerObjects(Factory &factory)
SolidMechanicsTestApp(InputParameters parameters)
InputParameters validParams< SolidMechanicsTestApp >()
registerKnownLabel("SolidMechanicsTestApp")