www.mooseframework.org
SolidMechanicsTestApp.C
Go to the documentation of this file.
2 #include "SolidMechanicsApp.h"
3 #include "Moose.h"
4 #include "AppFactory.h"
5 #include "MooseSyntax.h"
6 
7 template <>
8 InputParameters
10 {
11  InputParameters params = validParams<SolidMechanicsApp>();
12  return params;
13 }
14 
15 SolidMechanicsTestApp::SolidMechanicsTestApp(InputParameters parameters) : MooseApp(parameters)
16 {
17  Moose::registerObjects(_factory);
20 
21  Moose::associateSyntax(_syntax, _action_factory);
22  SolidMechanicsApp::associateSyntaxDepends(_syntax, _action_factory);
23  SolidMechanicsApp::associateSyntax(_syntax, _action_factory);
24 
25  bool use_test_objs = getParam<bool>("allow_test_objects");
26  if (use_test_objs)
27  {
29  SolidMechanicsTestApp::associateSyntax(_syntax, _action_factory);
30  }
31 }
32 
34 
35 // External entry point for dynamic application loading
36 extern "C" void
38 {
40 }
41 void
43 {
44  registerApp(SolidMechanicsApp);
45  registerApp(SolidMechanicsTestApp);
46 }
47 
48 // External entry point for dynamic object registration
49 extern "C" void
51 {
53 }
54 void
56 {
57 }
58 
59 // External entry point for dynamic syntax association
60 extern "C" void
61 SolidMechanicsTestApp__associateSyntax(Syntax & syntax, ActionFactory & action_factory)
62 {
63  SolidMechanicsTestApp::associateSyntax(syntax, action_factory);
64 }
65 void
66 SolidMechanicsTestApp::associateSyntax(Syntax & /*syntax*/, ActionFactory & /*action_factory*/)
67 {
68 }
InputParameters validParams< SolidMechanicsApp >()
void SolidMechanicsTestApp__registerApps()
void SolidMechanicsTestApp__associateSyntax(Syntax &syntax, ActionFactory &action_factory)
static void associateSyntax(Syntax &syntax, ActionFactory &action_factory)
static void associateSyntaxDepends(Syntax &syntax, ActionFactory &action_factory)
static void registerObjectDepends(Factory &factory)
static void registerObjects(Factory &factory)
void SolidMechanicsTestApp__registerObjects(Factory &factory)
static void registerObjects(Factory &factory)
SolidMechanicsTestApp(InputParameters parameters)
static void associateSyntax(Syntax &syntax, ActionFactory &action_factory)
InputParameters validParams< SolidMechanicsTestApp >()