Loading [MathJax]/extensions/tex2jax.js
https://mooseframework.inl.gov
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
FsiTestApp.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 #include "FsiTestApp.h"
10 #include "FsiApp.h"
11 #include "Moose.h"
12 #include "AppFactory.h"
13 #include "MooseSyntax.h"
14 
17 {
19  return params;
20 }
21 
23 {
24  FsiTestApp::registerAll(_factory, _action_factory, _syntax, getParam<bool>("allow_test_objects"));
25 }
26 
28 
29 void
30 FsiTestApp::registerAll(Factory & f, ActionFactory & af, Syntax & s, bool use_test_objs)
31 {
32  FsiApp::registerAll(f, af, s);
33  if (use_test_objs)
34  {
35  Registry::registerObjectsTo(f, {"FsiTestApp"});
36  Registry::registerActionsTo(af, {"FsiTestApp"});
37  }
38 }
39 
40 void
42 {
44  registerApp(FsiTestApp);
45 }
46 
47 /***************************************************************************************************
48  *********************** Dynamic Library Entry Points - DO NOT MODIFY ******************************
49  **************************************************************************************************/
50 // External entry point for dynamic application loading
51 extern "C" void
53 {
54  FsiTestApp::registerAll(f, af, s);
55 }
56 extern "C" void
58 {
60 }
static void registerObjectsTo(Factory &f, const std::set< std::string > &labels)
virtual ~FsiTestApp()
Definition: FsiTestApp.C:27
static InputParameters validParams()
Definition: FsiApp.C:19
Syntax _syntax
static void registerApps()
Definition: FsiTestApp.C:41
static void registerActionsTo(ActionFactory &f, const std::set< std::string > &labels)
Real f(Real x)
Test function for Brents method.
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
Definition: FsiApp.C:35
ActionFactory _action_factory
void FsiTestApp__registerApps()
Definition: FsiTestApp.C:57
void FsiTestApp__registerAll(Factory &f, ActionFactory &af, Syntax &s)
Definition: FsiTestApp.C:52
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objs=false)
Definition: FsiTestApp.C:30
Factory _factory
FsiTestApp(InputParameters parameters)
Definition: FsiTestApp.C:22
static InputParameters validParams()
Definition: FsiTestApp.C:16
static void registerApps()
Definition: FsiApp.C:45