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 
20 {
22  return params;
23 }
24 
25 registerKnownLabel("PhaseFieldTestApp");
26 
28 {
30  _factory, _action_factory, _syntax, getParam<bool>("allow_test_objects"));
31 }
32 
34 
35 void
36 PhaseFieldTestApp::registerAll(Factory & f, ActionFactory & af, Syntax & s, bool use_test_objs)
37 {
39  if (use_test_objs)
40  {
41  Registry::registerObjectsTo(f, {"PhaseFieldTestApp"});
42  Registry::registerActionsTo(af, {"PhaseFieldTestApp"});
43  }
44 }
45 
46 void
48 {
49  registerApp(PhaseFieldApp);
50  registerApp(PhaseFieldTestApp);
51 }
52 
53 void
55 {
56  Registry::registerObjectsTo(factory, {"PhaseFieldTestApp"});
57 }
58 
59 void
61 {
62  Registry::registerActionsTo(action_factory, {"PhaseFieldTestApp"});
63 }
64 
65 void
67 {
68 }
69 
70 extern "C" void
72 {
74 }
75 extern "C" void
77 {
79 }
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objs=false)
static InputParameters validParams()
static void registerApps()
virtual ~PhaseFieldTestApp()
static void registerObjectsTo(Factory &f, const std::set< std::string > &labels)
Syntax _syntax
void PhaseFieldTestApp__registerAll(Factory &f, ActionFactory &af, Syntax &s)
static void registerActionsTo(ActionFactory &f, const std::set< std::string > &labels)
void PhaseFieldTestApp__registerApps()
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
Definition: PhaseFieldApp.C:73
Real f(Real x)
Test function for Brents method.
ActionFactory _action_factory
registerKnownLabel("PhaseFieldTestApp")
static void associateSyntax(Syntax &syntax, ActionFactory &action_factory)
static void registerExecFlags(Factory &factory)
static void registerObjects(Factory &factory)
static InputParameters validParams()
Definition: PhaseFieldApp.C:16
PhaseFieldTestApp(InputParameters parameters)
Factory _factory