www.mooseframework.org
PhaseFieldTestApp.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 "PhaseFieldTestApp.h"
11 #include "PhaseFieldApp.h"
12 #include "Moose.h"
13 #include "AppFactory.h"
14 #include "MooseSyntax.h"
15 
16 #include "GaussContForcing.h"
17 
18 template <>
19 InputParameters
21 {
22  InputParameters params = validParams<PhaseFieldApp>();
23  return params;
24 }
25 
26 registerKnownLabel("PhaseFieldTestApp");
27 
28 PhaseFieldTestApp::PhaseFieldTestApp(InputParameters parameters) : MooseApp(parameters)
29 {
31  _factory, _action_factory, _syntax, getParam<bool>("allow_test_objects"));
32 }
33 
35 
36 void
37 PhaseFieldTestApp::registerAll(Factory & f, ActionFactory & af, Syntax & s, bool use_test_objs)
38 {
40  if (use_test_objs)
41  {
42  Registry::registerObjectsTo(f, {"PhaseFieldTestApp"});
43  Registry::registerActionsTo(af, {"PhaseFieldTestApp"});
44  }
45 }
46 
47 void
49 {
50  registerApp(PhaseFieldApp);
51  registerApp(PhaseFieldTestApp);
52 }
53 
54 void
56 {
57  Registry::registerObjectsTo(factory, {"PhaseFieldTestApp"});
58 }
59 
60 void
61 PhaseFieldTestApp::associateSyntax(Syntax & /*syntax*/, ActionFactory & action_factory)
62 {
63  Registry::registerActionsTo(action_factory, {"PhaseFieldTestApp"});
64 }
65 
66 void
68 {
69 }
70 
71 extern "C" void
72 PhaseFieldTestApp__registerAll(Factory & f, ActionFactory & af, Syntax & s)
73 {
75 }
76 extern "C" void
78 {
80 }
validParams< PhaseFieldTestApp >
InputParameters validParams< PhaseFieldTestApp >()
Definition: PhaseFieldTestApp.C:20
PhaseFieldTestApp::~PhaseFieldTestApp
virtual ~PhaseFieldTestApp()
Definition: PhaseFieldTestApp.C:34
registerKnownLabel
registerKnownLabel("PhaseFieldTestApp")
PhaseFieldApp
Definition: PhaseFieldApp.h:19
PhaseFieldTestApp::registerAll
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objs=false)
Definition: PhaseFieldTestApp.C:37
PhaseFieldTestApp::registerApps
static void registerApps()
Definition: PhaseFieldTestApp.C:48
PhaseFieldTestApp__registerApps
void PhaseFieldTestApp__registerApps()
Definition: PhaseFieldTestApp.C:77
PhaseFieldTestApp__registerAll
void PhaseFieldTestApp__registerAll(Factory &f, ActionFactory &af, Syntax &s)
Definition: PhaseFieldTestApp.C:72
PhaseFieldApp.h
PhaseFieldTestApp
Definition: PhaseFieldTestApp.h:19
GaussContForcing.h
PhaseFieldTestApp.h
PhaseFieldTestApp::PhaseFieldTestApp
PhaseFieldTestApp(InputParameters parameters)
Definition: PhaseFieldTestApp.C:28
PhaseFieldTestApp::associateSyntax
static void associateSyntax(Syntax &syntax, ActionFactory &action_factory)
Definition: PhaseFieldTestApp.C:61
PhaseFieldTestApp::registerObjects
static void registerObjects(Factory &factory)
Definition: PhaseFieldTestApp.C:55
PhaseFieldTestApp::registerExecFlags
static void registerExecFlags(Factory &factory)
Definition: PhaseFieldTestApp.C:67
validParams< PhaseFieldApp >
InputParameters validParams< PhaseFieldApp >()
Definition: PhaseFieldApp.C:17
PhaseFieldApp::registerAll
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
Definition: PhaseFieldApp.C:73