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