https://mooseframework.inl.gov
PeridynamicsTestApp.C
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
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 "PeridynamicsTestApp.h"
11 #include "PeridynamicsApp.h"
12 #include "Moose.h"
13 #include "AppFactory.h"
14 #include "MooseSyntax.h"
15 
18 {
20 
21  return params;
22 }
23 
24 registerKnownLabel("PeridynamicsTestApp");
25 
27 {
29  _factory, _action_factory, _syntax, getParam<bool>("allow_test_objects"));
30 }
31 
33 
34 void
36 {
38  if (use_test_objs)
39  {
40  Registry::registerObjectsTo(f, {"PeridynamicsTestApp"});
41  Registry::registerActionsTo(af, {"PeridynamicsTestApp"});
42  }
43 }
44 
45 void
47 {
49  registerApp(PeridynamicsTestApp);
50 }
51 
52 extern "C" void
54 {
56 }
57 
58 extern "C" void
60 {
62 }
PeridynamicsTestApp(const InputParameters &parameters)
static void registerObjectsTo(Factory &f, const std::set< std::string > &labels)
Syntax _syntax
registerKnownLabel("PeridynamicsTestApp")
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objs=false)
static void registerActionsTo(ActionFactory &f, const std::set< std::string > &labels)
Real f(Real x)
Test function for Brents method.
ActionFactory _action_factory
static void registerApps()
static void registerApps()
static InputParameters validParams()
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
static InputParameters validParams()
Factory _factory
void PeridynamicsTestApp__registerAll(Factory &f, ActionFactory &af, Syntax &s)
void PeridynamicsTestApp__registerApps()