LCOV - code coverage report
Current view: top level - src/base - CombinedApp.C (source / functions) Hit Total Coverage
Test: idaholab/moose combined: #31405 (292dce) with base fef103 Lines: 41 79 51.9 %
Date: 2025-09-04 07:52:39 Functions: 5 8 62.5 %
Legend: Lines: hit not hit

          Line data    Source code
       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 "CombinedApp.h"
      11             : #include "Factory.h"
      12             : #include "ActionFactory.h"
      13             : #include "AppFactory.h"
      14             : #include "MooseSyntax.h"
      15             : 
      16             : #include "ChemicalReactionsApp.h"
      17             : #include "ContactApp.h"
      18             : #include "ElectromagneticsApp.h"
      19             : #include "ExternalPetscSolverApp.h"
      20             : #include "FluidPropertiesApp.h"
      21             : #include "FsiApp.h"
      22             : #include "FunctionalExpansionToolsApp.h"
      23             : #include "GeochemistryApp.h"
      24             : #include "HeatTransferApp.h"
      25             : #include "HeatConductionApp.h"
      26             : #include "LevelSetApp.h"
      27             : #include "MiscApp.h"
      28             : #include "NavierStokesApp.h"
      29             : #include "OptimizationApp.h"
      30             : #include "PeridynamicsApp.h"
      31             : #include "PhaseFieldApp.h"
      32             : #include "PorousFlowApp.h"
      33             : #include "RayTracingApp.h"
      34             : #include "RdgApp.h"
      35             : #include "ReactorApp.h"
      36             : #include "RichardsApp.h"
      37             : #include "ScalarTransportApp.h"
      38             : #include "SolidMechanicsApp.h"
      39             : #include "SolidPropertiesApp.h"
      40             : #include "StochasticToolsApp.h"
      41             : #include "SubChannelApp.h"
      42             : #include "ThermalHydraulicsApp.h"
      43             : #include "XFEMApp.h"
      44             : 
      45             : InputParameters
      46         997 : CombinedApp::validParams()
      47             : {
      48         997 :   InputParameters params = MooseApp::validParams();
      49             : 
      50         997 :   params.set<bool>("automatic_automatic_scaling") = false;
      51         997 :   params.set<bool>("use_legacy_material_output") = false;
      52         997 :   params.set<bool>("use_legacy_initial_residual_evaluation_behavior") = false;
      53             : 
      54         997 :   return params;
      55           0 : }
      56             : 
      57             : registerKnownLabel("CombinedApp");
      58             : 
      59          14 : CombinedApp::CombinedApp(const InputParameters & parameters) : MooseApp(parameters)
      60             : {
      61          14 :   CombinedApp::registerAll(_factory, _action_factory, _syntax);
      62          14 : }
      63             : 
      64          16 : CombinedApp::~CombinedApp() {}
      65             : 
      66             : void
      67           0 : CombinedApp::registerApps()
      68             : {
      69           0 :   registerApp(CombinedApp);
      70             : 
      71           0 :   ChemicalReactionsApp::registerApps();
      72           0 :   ContactApp::registerApps();
      73           0 :   ElectromagneticsApp::registerApps();
      74           0 :   ExternalPetscSolverApp::registerApps();
      75           0 :   FluidPropertiesApp::registerApps();
      76           0 :   FsiApp::registerApps();
      77           0 :   FunctionalExpansionToolsApp::registerApps();
      78           0 :   GeochemistryApp::registerApps();
      79           0 :   HeatTransferApp::registerApps();
      80           0 :   HeatConductionApp::registerApps();
      81           0 :   LevelSetApp::registerApps();
      82           0 :   MiscApp::registerApps();
      83           0 :   NavierStokesApp::registerApps();
      84           0 :   OptimizationApp::registerApps();
      85           0 :   PeridynamicsApp::registerApps();
      86           0 :   PhaseFieldApp::registerApps();
      87           0 :   PorousFlowApp::registerApps();
      88           0 :   RayTracingApp::registerApps();
      89           0 :   RdgApp::registerApps();
      90           0 :   ReactorApp::registerApps();
      91           0 :   RichardsApp::registerApps();
      92           0 :   ScalarTransportApp::registerApps();
      93           0 :   SolidMechanicsApp::registerApps();
      94           0 :   SolidPropertiesApp::registerApps();
      95           0 :   StochasticToolsApp::registerApps();
      96           0 :   SubChannelApp::registerApps();
      97           0 :   ThermalHydraulicsApp::registerApps();
      98           0 :   XFEMApp::registerApps();
      99           0 : }
     100             : 
     101             : void
     102         997 : CombinedApp::registerAll(Factory & f, ActionFactory & af, Syntax & s)
     103             : {
     104         997 :   Registry::registerObjectsTo(f, {"CombinedApp"});
     105         997 :   Registry::registerActionsTo(af, {"CombinedApp"});
     106             : 
     107         997 :   ChemicalReactionsApp::registerAll(f, af, s);
     108         997 :   ContactApp::registerAll(f, af, s);
     109         997 :   ElectromagneticsApp::registerAll(f, af, s);
     110         997 :   ExternalPetscSolverApp::registerAll(f, af, s);
     111         997 :   FluidPropertiesApp::registerAll(f, af, s);
     112         997 :   FsiApp::registerAll(f, af, s);
     113         997 :   FunctionalExpansionToolsApp::registerAll(f, af, s);
     114         997 :   GeochemistryApp::registerAll(f, af, s);
     115         997 :   HeatConductionApp::registerAll(f, af, s);
     116         997 :   LevelSetApp::registerAll(f, af, s);
     117         997 :   MiscApp::registerAll(f, af, s);
     118         997 :   NavierStokesApp::registerAll(f, af, s);
     119         997 :   OptimizationApp::registerAll(f, af, s);
     120         997 :   PeridynamicsApp::registerAll(f, af, s);
     121         997 :   PhaseFieldApp::registerAll(f, af, s);
     122         997 :   PorousFlowApp::registerAll(f, af, s);
     123         997 :   RayTracingApp::registerAll(f, af, s);
     124         997 :   RdgApp::registerAll(f, af, s);
     125         997 :   ReactorApp::registerAll(f, af, s);
     126         997 :   RichardsApp::registerAll(f, af, s);
     127         997 :   ScalarTransportApp::registerAll(f, af, s);
     128         997 :   SolidMechanicsApp::registerAll(f, af, s);
     129         997 :   SolidPropertiesApp::registerAll(f, af, s);
     130         997 :   StochasticToolsApp::registerAll(f, af, s);
     131         997 :   SubChannelApp::registerAll(f, af, s);
     132         997 :   ThermalHydraulicsApp::registerAll(f, af, s);
     133         997 :   XFEMApp::registerAll(f, af, s);
     134         997 : }
     135             : 
     136             : extern "C" void
     137           0 : CombinedApp__registerAll(Factory & f, ActionFactory & af, Syntax & s)
     138             : {
     139           0 :   CombinedApp::registerAll(f, af, s);
     140           0 : }
     141             : extern "C" void
     142           0 : CombinedApp__registerApps()
     143             : {
     144           0 :   CombinedApp::registerApps();
     145           0 : }

Generated by: LCOV version 1.14