https://mooseframework.inl.gov
Loading...
Searching...
No Matches
MiscTestApp.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 "MiscTestApp.h"
11#include "MiscApp.h"
12#include "Moose.h"
13#include "AppFactory.h"
14#include "MooseSyntax.h"
15
18{
20 return params;
21}
22
23registerKnownLabel("MiscTestApp");
24
25MiscTestApp::MiscTestApp(const InputParameters & parameters) : MooseApp(parameters)
26{
28 _factory, _action_factory, _syntax, getParam<bool>("allow_test_objects"));
29}
30
32
33void
34MiscTestApp::registerAll(Factory & f, ActionFactory & af, Syntax & s, bool use_test_objs)
35{
36 MiscApp::registerAll(f, af, s);
37 if (use_test_objs)
38 {
39 Registry::registerObjectsTo(f, {"MiscTestApp"});
40 Registry::registerActionsTo(af, {"MiscTestApp"});
41 }
42}
43
44void
50
51extern "C" void
56extern "C" void
Real f(Real x)
Test function for Brents method.
registerKnownLabel("MiscTestApp")
void MiscTestApp__registerApps()
Definition MiscTestApp.C:57
void MiscTestApp__registerAll(Factory &f, ActionFactory &af, Syntax &s)
Definition MiscTestApp.C:52
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
Definition MiscApp.C:36
static InputParameters validParams()
Definition MiscApp.C:16
static void registerApps()
Definition MiscApp.C:43
MiscTestApp(const InputParameters &parameters)
Definition MiscTestApp.C:25
static void registerApps()
Definition MiscTestApp.C:45
static InputParameters validParams()
Definition MiscTestApp.C:17
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objs=false)
Definition MiscTestApp.C:34
virtual ~MiscTestApp()
Definition MiscTestApp.C:31
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)