www.mooseframework.org
CombinedTestApp.C
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 "CombinedTestApp.h"
11 #include "CombinedApp.h"
12 #include "Factory.h"
13 #include "ActionFactory.h"
14 #include "AppFactory.h"
15 #include "MooseSyntax.h"
16 #include "CombinedRevision.h"
17 
19 #include "ContactTestApp.h"
22 #include "FluidPropertiesTestApp.h"
23 #include "FsiTestApp.h"
25 #include "GeochemistryTestApp.h"
26 #include "HeatTransferTestApp.h"
27 #include "LevelSetTestApp.h"
28 #include "MiscTestApp.h"
29 #include "NavierStokesTestApp.h"
30 #include "OptimizationTestApp.h"
31 #include "PeridynamicsTestApp.h"
32 #include "PhaseFieldTestApp.h"
33 #include "PorousFlowTestApp.h"
34 #include "PorousFlowTestApp.h"
35 #include "RayTracingTestApp.h"
36 #include "RdgTestApp.h"
37 #include "ReactorTestApp.h"
38 #include "RichardsTestApp.h"
39 #include "ScalarTransportTestApp.h"
40 #include "SolidPropertiesTestApp.h"
41 #include "StochasticToolsTestApp.h"
42 #include "ScalarTransportTestApp.h"
43 #include "SolidPropertiesTestApp.h"
44 #include "SolidMechanicsTestApp.h"
46 #include "XFEMTestApp.h"
47 
50 {
52  // Below parameter is set to enable data driven mesh generation in test suite
54  return params;
55 }
56 
57 registerKnownLabel("CombinedTestApp");
58 
60 {
62  _factory, _action_factory, _syntax, getParam<bool>("allow_test_objects"));
63 }
64 
66 
67 void
68 CombinedTestApp::registerAll(Factory & f, ActionFactory & af, Syntax & s, bool use_test_objs)
69 {
71  if (use_test_objs)
72  {
73  Registry::registerObjectsTo(f, {"CombinedTestApp"});
74  Registry::registerActionsTo(af, {"CombinedTestApp"});
75 
76  ChemicalReactionsTestApp::registerAll(f, af, s, use_test_objs);
77  ContactTestApp::registerAll(f, af, s, use_test_objs);
78  ElectromagneticsTestApp::registerAll(f, af, s, use_test_objs);
79  ExternalPetscSolverTestApp::registerAll(f, af, s, use_test_objs);
80  FluidPropertiesTestApp::registerAll(f, af, s, use_test_objs);
81  FsiTestApp::registerAll(f, af, s, use_test_objs);
82  FunctionalExpansionToolsTestApp::registerAll(f, af, s, use_test_objs);
83  GeochemistryTestApp::registerAll(f, af, s, use_test_objs);
84  HeatTransferTestApp::registerAll(f, af, s, use_test_objs);
85  LevelSetTestApp::registerAll(f, af, s, use_test_objs);
86  MiscTestApp::registerAll(f, af, s, use_test_objs);
87  NavierStokesTestApp::registerAll(f, af, s, use_test_objs);
88  OptimizationTestApp::registerAll(f, af, s, use_test_objs);
89  PeridynamicsTestApp::registerAll(f, af, s, use_test_objs);
90  PhaseFieldTestApp::registerAll(f, af, s, use_test_objs);
91  PorousFlowTestApp::registerAll(f, af, s, use_test_objs);
92  RayTracingTestApp::registerAll(f, af, s, use_test_objs);
93  RdgTestApp::registerAll(f, af, s, use_test_objs);
94  ReactorTestApp::registerAll(f, af, s, use_test_objs);
95  RichardsTestApp::registerAll(f, af, s, use_test_objs);
96  ScalarTransportTestApp::registerAll(f, af, s, use_test_objs);
97  SolidPropertiesTestApp::registerAll(f, af, s, use_test_objs);
98  StochasticToolsTestApp::registerAll(f, af, s, use_test_objs);
99  SolidMechanicsTestApp::registerAll(f, af, s, use_test_objs);
100  ThermalHydraulicsTestApp::registerAll(f, af, s, use_test_objs);
101  XFEMTestApp::registerAll(f, af, s, use_test_objs);
102  }
103 }
104 
105 void
107 {
108  registerApp(CombinedTestApp);
109  registerApp(CombinedApp);
110 
137 }
138 
139 std::string
141 {
142  return COMBINED_INSTALLABLE_DIRS;
143 }
144 
145 void
147 {
148  mooseError("registerObjects is deprecated, fix the calling application");
149 }
150 
151 void
152 CombinedTestApp::associateSyntax(Syntax & /*syntax*/, ActionFactory & /*action_factory*/)
153 {
154  mooseError("associateSyntax is deprecated, fix the calling application");
155 }
156 
157 void
159 {
160  mooseError("registerExecFlags is deprecated, fix the calling application");
161 }
162 
163 extern "C" void
165 {
167 }
168 extern "C" void
170 {
172 }
registerKnownLabel("CombinedTestApp")
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objs=false)
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objs=false)
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objs=false)
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objects=false)
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objs=false)
CombinedTestApp(const InputParameters &parameters)
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objs=false)
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objs=false)
void mooseError(Args &&... args)
virtual ~CombinedTestApp()
static void registerApps()
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objs=false)
T & set(const std::string &name, bool quiet_mode=false)
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objs=false)
Definition: XFEMTestApp.C:35
static void registerObjectsTo(Factory &f, const std::set< std::string > &labels)
Syntax _syntax
static void registerObjects(Factory &factory)
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
Definition: CombinedApp.C:100
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objs=false)
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objs=false)
static void associateSyntax(Syntax &syntax, ActionFactory &action_factory)
static void registerApps()
Definition: FsiTestApp.C:41
static void registerApps()
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objs=false)
static InputParameters validParams()
Definition: CombinedApp.C:45
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objs=false)
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objs=false)
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objs=false)
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objs=false)
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 registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objs=false)
Definition: RdgTestApp.C:33
static void registerApps()
static void registerApps()
static void registerApps()
Real f(Real x)
Test function for Brents method.
void CombinedTestApp__registerApps()
ActionFactory _action_factory
static void registerApps()
static void registerApps()
static void registerApps()
virtual std::string getInstallableInputs() const override final
static void registerExecFlags(Factory &factory)
static void registerApps()
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objs=false)
static void registerApps()
static InputParameters validParams()
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objs=false)
Definition: MiscTestApp.C:34
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objs=false)
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objs=false)
static void registerApps()
Definition: RdgTestApp.C:44
static void registerApps()
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objs=false)
Definition: FsiTestApp.C:30
Factory _factory
static void registerApps()
static const std::string allow_data_driven_param
static void registerApps()
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objs=false)
void CombinedTestApp__registerAll(Factory &f, ActionFactory &af, Syntax &s)
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objs=false)
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objs=false)
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objs=false)
static void registerApps()
Definition: XFEMTestApp.C:46
static void registerApps()
Definition: MiscTestApp.C:45