LCOV - code coverage report
Current view: top level - src/base - ScalarTransportApp.C (source / functions) Hit Total Coverage
Test: idaholab/moose scalar_transport: #31405 (292dce) with base fef103 Lines: 36 43 83.7 %
Date: 2025-09-04 07:56:42 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 "ScalarTransportApp.h"
      11             : #include "Moose.h"
      12             : #include "AppFactory.h"
      13             : #include "MooseSyntax.h"
      14             : 
      15             : #include "ChemicalReactionsApp.h"
      16             : #include "NavierStokesApp.h"
      17             : #include "ThermalHydraulicsApp.h"
      18             : #include "FluidPropertiesApp.h"
      19             : #include "HeatTransferApp.h"
      20             : #include "RdgApp.h"
      21             : #include "RayTracingApp.h"
      22             : #include "SolidPropertiesApp.h"
      23             : #include "MiscApp.h"
      24             : 
      25             : InputParameters
      26         220 : ScalarTransportApp::validParams()
      27             : {
      28         220 :   InputParameters params = MooseApp::validParams();
      29         220 :   params.set<bool>("use_legacy_material_output") = false;
      30         220 :   params.set<bool>("use_legacy_initial_residual_evaluation_behavior") = false;
      31         220 :   params.set<bool>("automatic_automatic_scaling") = false;
      32         220 :   return params;
      33           0 : }
      34             : 
      35         220 : ScalarTransportApp::ScalarTransportApp(const InputParameters & parameters) : MooseApp(parameters)
      36             : {
      37         220 :   ScalarTransportApp::registerAll(_factory, _action_factory, _syntax);
      38         220 : }
      39             : 
      40         220 : ScalarTransportApp::~ScalarTransportApp() {}
      41             : 
      42             : void
      43         440 : ScalarTransportApp::registerAll(Factory & f, ActionFactory & af, Syntax & s)
      44             : {
      45         440 :   Registry::registerObjectsTo(f, {"ScalarTransportApp"});
      46         440 :   Registry::registerActionsTo(af, {"ScalarTransportApp"});
      47             : 
      48         440 :   ChemicalReactionsApp::registerAll(f, af, s);
      49         440 :   NavierStokesApp::registerAll(f, af, s);
      50         440 :   ThermalHydraulicsApp::registerAll(f, af, s);
      51         440 :   FluidPropertiesApp::registerAll(f, af, s);
      52         440 :   HeatTransferApp::registerAll(f, af, s);
      53         440 :   RdgApp::registerAll(f, af, s);
      54         440 :   RayTracingApp::registerAll(f, af, s);
      55         440 :   SolidPropertiesApp::registerAll(f, af, s);
      56         440 :   MiscApp::registerAll(f, af, s);
      57             : 
      58             :   /* register custom execute flags, action syntax, etc. here */
      59             :   auto & syntax = s;
      60         880 :   registerSyntax("MultiSpeciesDiffusionCG", "Physics/MultiSpeciesDiffusion/ContinuousGalerkin/*");
      61         440 : }
      62             : 
      63             : void
      64         220 : ScalarTransportApp::registerApps()
      65             : {
      66         220 :   registerApp(ScalarTransportApp);
      67             : 
      68         220 :   ChemicalReactionsApp::registerApps();
      69         220 :   NavierStokesApp::registerApps();
      70         220 :   ThermalHydraulicsApp::registerApps();
      71         220 :   FluidPropertiesApp::registerApps();
      72         220 :   HeatTransferApp::registerApps();
      73         220 :   RdgApp::registerApps();
      74         220 :   RayTracingApp::registerApps();
      75         220 :   SolidPropertiesApp::registerApps();
      76         220 :   MiscApp::registerApps();
      77         220 : }
      78             : 
      79             : /***************************************************************************************************
      80             :  *********************** Dynamic Library Entry Points - DO NOT MODIFY ******************************
      81             :  **************************************************************************************************/
      82             : extern "C" void
      83           0 : ScalarTransportApp__registerAll(Factory & f, ActionFactory & af, Syntax & s)
      84             : {
      85           0 :   ScalarTransportApp::registerAll(f, af, s);
      86           0 : }
      87             : extern "C" void
      88           0 : ScalarTransportApp__registerApps()
      89             : {
      90           0 :   ScalarTransportApp::registerApps();
      91           0 : }

Generated by: LCOV version 1.14