https://mooseframework.inl.gov
Loading...
Searching...
No Matches
SolidMechanicsTestApp.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
11#include "Moose.h"
12#include "AppFactory.h"
13#include "MooseSyntax.h"
14
21
22registerKnownLabel("SolidMechanicsTestApp");
23
25 : SolidMechanicsApp(parameters)
26{
28 _factory, _action_factory, _syntax, getParam<bool>("allow_test_objects"));
29}
30
32
33void
35 ActionFactory & af,
36 Syntax & /*s*/,
37 bool use_test_objs)
38{
39 if (use_test_objs)
40 {
41 Registry::registerObjectsTo(f, {"SolidMechanicsTestApp"});
42 Registry::registerActionsTo(af, {"SolidMechanicsTestApp"});
43 }
44}
45void
51
52extern "C" void
57extern "C" void
Real f(Real x)
Test function for Brents method.
void SolidMechanicsTestApp__registerAll(Factory &f, ActionFactory &af, Syntax &s)
void SolidMechanicsTestApp__registerApps()
registerKnownLabel("SolidMechanicsTestApp")
ActionFactory _action_factory
Factory _factory
Syntax _syntax
static void registerActionsTo(ActionFactory &f, const std::set< std::string > &labels)
static void registerObjectsTo(Factory &f, const std::set< std::string > &labels)
static InputParameters validParams()
static void registerApps()
SolidMechanicsTestApp(const InputParameters &parameters)
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objs=false)
static InputParameters validParams()