www.mooseframework.org
PhaseFieldTestApp.C
Go to the documentation of this file.
1 #include "PhaseFieldTestApp.h"
2 #include "PhaseFieldApp.h"
3 #include "Moose.h"
4 #include "AppFactory.h"
5 #include "MooseSyntax.h"
6 
7 #include "GaussContForcing.h"
8 
9 template <>
10 InputParameters
12 {
13  InputParameters params = validParams<PhaseFieldApp>();
14  return params;
15 }
16 
17 PhaseFieldTestApp::PhaseFieldTestApp(InputParameters parameters) : MooseApp(parameters)
18 {
19  Moose::registerObjects(_factory);
21 
22  Moose::associateSyntax(_syntax, _action_factory);
23  PhaseFieldApp::associateSyntax(_syntax, _action_factory);
24 
25  bool use_test_objs = getParam<bool>("allow_test_objects");
26  if (use_test_objs)
27  {
29  PhaseFieldTestApp::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(PhaseFieldApp);
45  registerApp(PhaseFieldTestApp);
46 }
47 
48 // External entry point for dynamic object registration
49 extern "C" void
51 {
53 }
54 void
56 {
57  registerKernel(GaussContForcing);
58 }
59 
60 // External entry point for dynamic syntax association
61 extern "C" void
62 PhaseFieldTestApp__associateSyntax(Syntax & syntax, ActionFactory & action_factory)
63 {
64  PhaseFieldTestApp::associateSyntax(syntax, action_factory);
65 }
66 void
67 PhaseFieldTestApp::associateSyntax(Syntax & /*syntax*/, ActionFactory & /*action_factory*/)
68 {
69 }
static void registerApps()
virtual ~PhaseFieldTestApp()
void PhaseFieldTestApp__registerApps()
static void associateSyntax(Syntax &syntax, ActionFactory &action_factory)
InputParameters validParams< PhaseFieldTestApp >()
void PhaseFieldTestApp__associateSyntax(Syntax &syntax, ActionFactory &action_factory)
Note: This class is duplicated from moose_test.
void PhaseFieldTestApp__registerObjects(Factory &factory)
static void registerObjects(Factory &factory)
static void associateSyntax(Syntax &syntax, ActionFactory &action_factory)
static void registerObjects(Factory &factory)
PhaseFieldTestApp(InputParameters parameters)
InputParameters validParams< PhaseFieldApp >()