https://mooseframework.inl.gov
LevelSetTestApp.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 "LevelSetTestApp.h"
11 #include "LevelSetApp.h"
12 #include "Moose.h"
13 #include "AppFactory.h"
14 #include "MooseSyntax.h"
15 
18 {
20  return params;
21 }
22 
23 registerKnownLabel("LevelSetTestApp");
24 
26 {
27  srand(processor_id());
29  _factory, _action_factory, _syntax, getParam<bool>("allow_test_objects"));
30 }
31 
33 
34 void
35 LevelSetTestApp::registerAll(Factory & f, ActionFactory & af, Syntax & s, bool use_test_objs)
36 {
38  if (use_test_objs)
39  {
40  Registry::registerObjectsTo(f, {"LevelSetTestApp"});
41  Registry::registerActionsTo(af, {"LevelSetTestApp"});
42  }
43 }
44 
45 void
47 {
49  registerApp(LevelSetTestApp);
50 }
51 
52 extern "C" void
54 {
56 }
57 extern "C" void
59 {
61 }
virtual ~LevelSetTestApp()
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
Definition: LevelSetApp.C:47
static void registerObjectsTo(Factory &f, const std::set< std::string > &labels)
Syntax _syntax
processor_id_type processor_id() const
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)
static void registerApps()
Real f(Real x)
Test function for Brents method.
static InputParameters validParams()
Definition: LevelSetApp.C:17
ActionFactory _action_factory
void LevelSetTestApp__registerAll(Factory &f, ActionFactory &af, Syntax &s)
void LevelSetTestApp__registerApps()
Factory _factory
registerKnownLabel("LevelSetTestApp")
LevelSetTestApp(const InputParameters &parameters)
static InputParameters validParams()
static void registerApps()
Definition: LevelSetApp.C:41