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