www.mooseframework.org
contact
test
src
base
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
InputParameters
17
ContactTestApp::validParams
()
18
{
19
InputParameters
params =
ContactApp::validParams
();
20
return
params;
21
}
22
23
registerKnownLabel
(
"ContactTestApp"
);
24
25
ContactTestApp::ContactTestApp
(
InputParameters
parameters) :
MooseApp
(parameters)
26
{
27
ContactTestApp::registerAll
(
28
_factory
,
_action_factory
,
_syntax
, getParam<bool>(
"allow_test_objects"
));
29
}
30
31
ContactTestApp::~ContactTestApp
() {}
32
33
void
34
ContactTestApp::registerAll
(
Factory
&
f
,
ActionFactory
& af,
Syntax
& s,
bool
use_test_objs)
35
{
36
ContactApp::registerAll
(
f
, af, s);
37
if
(use_test_objs)
38
{
39
Registry::registerObjectsTo
(
f
, {
"ContactTestApp"
});
40
Registry::registerActionsTo
(af, {
"ContactTestApp"
});
41
}
42
}
43
44
void
45
ContactTestApp::registerApps
()
46
{
47
registerApp(
ContactApp
);
48
registerApp(
ContactTestApp
);
49
}
50
51
void
52
ContactTestApp::registerObjects
(
Factory
& factory)
53
{
54
Registry::registerObjectsTo
(factory, {
"ContactTestApp"
});
55
}
56
57
void
58
ContactTestApp::associateSyntax
(
Syntax
&
/*syntax*/
,
ActionFactory
& action_factory)
59
{
60
Registry::registerActionsTo
(action_factory, {
"ContactTestApp"
});
61
}
62
63
void
64
ContactTestApp::registerExecFlags
(
Factory
&
/*factory*/
)
65
{
66
}
67
68
extern
"C"
void
69
ContactTestApp__registerAll
(
Factory
&
f
,
ActionFactory
& af,
Syntax
& s)
70
{
71
ContactTestApp::registerAll
(
f
, af, s);
72
}
73
extern
"C"
void
74
ContactTestApp__registerApps
()
75
{
76
ContactTestApp::registerApps
();
77
}
AppFactory.h
Moose.h
ContactTestApp::~ContactTestApp
virtual ~ContactTestApp()
Definition:
ContactTestApp.C:31
ContactApp
Definition:
ContactApp.h:14
ContactTestApp::associateSyntax
static void associateSyntax(Syntax &syntax, ActionFactory &action_factory)
Definition:
ContactTestApp.C:58
ContactTestApp::registerObjects
static void registerObjects(Factory &factory)
Definition:
ContactTestApp.C:52
Factory
registerKnownLabel
registerKnownLabel("ContactTestApp")
ContactApp::validParams
static InputParameters validParams()
Definition:
ContactApp.C:17
ContactTestApp::registerExecFlags
static void registerExecFlags(Factory &factory)
Definition:
ContactTestApp.C:64
ContactTestApp.h
Registry::registerObjectsTo
static void registerObjectsTo(Factory &f, const std::set< std::string > &labels)
MooseApp::_syntax
Syntax _syntax
InputParameters
Registry::registerActionsTo
static void registerActionsTo(ActionFactory &f, const std::set< std::string > &labels)
Syntax
f
Real f(Real x)
Test function for Brents method.
Definition:
BrentsMethodTest.C:21
ActionFactory
ContactTestApp::validParams
static InputParameters validParams()
Definition:
ContactTestApp.C:17
MooseApp::_action_factory
ActionFactory _action_factory
MooseSyntax.h
ContactTestApp__registerAll
void ContactTestApp__registerAll(Factory &f, ActionFactory &af, Syntax &s)
Definition:
ContactTestApp.C:69
ContactApp.h
ContactTestApp::ContactTestApp
ContactTestApp(InputParameters parameters)
Definition:
ContactTestApp.C:25
ContactTestApp::registerApps
static void registerApps()
Definition:
ContactTestApp.C:45
MooseApp::_factory
Factory _factory
ContactTestApp__registerApps
void ContactTestApp__registerApps()
Definition:
ContactTestApp.C:74
MooseApp
ContactApp::registerAll
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
Definition:
ContactApp.C:52
ContactTestApp::registerAll
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objs=false)
Definition:
ContactTestApp.C:34
ContactTestApp
Definition:
ContactTestApp.h:14
Generated on Thu Apr 18 2024 15:38:32 for www.mooseframework.org by
1.8.14