https://mooseframework.inl.gov
PeridynamicsApp.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 "PeridynamicsApp.h"
11 #include "SolidMechanicsApp.h" // solid mechanics dependency
12 #include "Moose.h"
13 #include "AppFactory.h"
14 #include "MooseSyntax.h"
15 
18 {
20 
21  params.set<bool>("automatic_automatic_scaling") = false;
22 
23  params.set<bool>("use_legacy_material_output") = false;
24  params.set<bool>("use_legacy_initial_residual_evaluation_behavior") = false;
25 
26  return params;
27 }
28 
29 registerKnownLabel("PeridynamicsApp");
30 
32 {
34 }
35 
37 
38 void
40 {
41  registerApp(PeridynamicsApp);
42 
44 }
45 
46 void
48 {
49  Registry::registerObjectsTo(f, {"PeridynamicsApp"});
50  Registry::registerActionsTo(af, {"PeridynamicsApp"});
51 
52  registerSyntax("MechanicsActionPD", "Modules/Peridynamics/Mechanics/Master/*");
53  registerSyntax("GeneralizedPlaneStrainActionPD",
54  "Modules/Peridynamics/Mechanics/GeneralizedPlaneStrain/*");
55 
57 }
58 
59 extern "C" void
61 {
63 }
64 
65 extern "C" void
67 {
69 }
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
T & set(const std::string &name, bool quiet_mode=false)
void PeridynamicsApp__registerAll(Factory &f, ActionFactory &af, Syntax &s)
static void registerObjectsTo(Factory &f, const std::set< std::string > &labels)
static void registerApps()
Syntax _syntax
Syntax & syntax()
static InputParameters validParams()
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 registerAll(Factory &f, ActionFactory &af, Syntax &s)
static InputParameters validParams()
void PeridynamicsApp__registerApps()
Factory _factory
registerKnownLabel("PeridynamicsApp")
virtual ~PeridynamicsApp()
PeridynamicsApp(const InputParameters &parameters)