https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
22FsiTestApp::FsiTestApp(const InputParameters & parameters) : MooseApp(parameters)
23{
24 FsiTestApp::registerAll(_factory, _action_factory, _syntax, getParam<bool>("allow_test_objects"));
25}
26
28
29void
30FsiTestApp::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
40void
46
47/***************************************************************************************************
48 *********************** Dynamic Library Entry Points - DO NOT MODIFY ******************************
49 **************************************************************************************************/
50// External entry point for dynamic application loading
51extern "C" void
56extern "C" void
Real f(Real x)
Test function for Brents method.
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)
Definition FsiApp.C:35
static InputParameters validParams()
Definition FsiApp.C:19
static void registerApps()
Definition FsiApp.C:45
virtual ~FsiTestApp()
Definition FsiTestApp.C:27
FsiTestApp(const InputParameters &parameters)
Definition FsiTestApp.C:22
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objs=false)
Definition FsiTestApp.C:30
static InputParameters validParams()
Definition FsiTestApp.C:16
static void registerApps()
Definition FsiTestApp.C:41
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)