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