LCOV - code coverage report
Current view: top level - src/base - ScalarTransportApp.C (source / functions) Hit Total Coverage
Test: idaholab/moose scalar_transport: #32971 (54bef8) with base c6cf66 Lines: 36 43 83.7 %
Date: 2026-05-29 20:39:31 Functions: 6 8 75.0 %
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         118 : ScalarTransportApp::validParams()
      27             : {
      28         118 :   InputParameters params = MooseApp::validParams();
      29         118 :   params.set<bool>("use_legacy_material_output") = false;
      30         118 :   params.set<bool>("use_legacy_initial_residual_evaluation_behavior") = false;
      31         118 :   params.set<bool>("automatic_automatic_scaling") = false;
      32         118 :   return params;
      33           0 : }
      34             : 
      35         118 : ScalarTransportApp::ScalarTransportApp(const InputParameters & parameters) : MooseApp(parameters)
      36             : {
      37         118 :   ScalarTransportApp::registerAll(_factory, _action_factory, _syntax);
      38         118 : }
      39             : 
      40         119 : ScalarTransportApp::~ScalarTransportApp() {}
      41             : 
      42             : void
      43         235 : ScalarTransportApp::registerAll(Factory & f, ActionFactory & af, Syntax & s)
      44             : {
      45         235 :   Registry::registerObjectsTo(f, {"ScalarTransportApp"});
      46         235 :   Registry::registerActionsTo(af, {"ScalarTransportApp"});
      47             : 
      48         235 :   ChemicalReactionsApp::registerAll(f, af, s);
      49         235 :   NavierStokesApp::registerAll(f, af, s);
      50         235 :   ThermalHydraulicsApp::registerAll(f, af, s);
      51         235 :   FluidPropertiesApp::registerAll(f, af, s);
      52         235 :   HeatTransferApp::registerAll(f, af, s);
      53         235 :   RdgApp::registerAll(f, af, s);
      54         235 :   RayTracingApp::registerAll(f, af, s);
      55         235 :   SolidPropertiesApp::registerAll(f, af, s);
      56         235 :   MiscApp::registerAll(f, af, s);
      57             : 
      58             :   /* register custom execute flags, action syntax, etc. here */
      59             :   auto & syntax = s;
      60         470 :   registerSyntax("MultiSpeciesDiffusionCG", "Physics/MultiSpeciesDiffusion/ContinuousGalerkin/*");
      61         235 : }
      62             : 
      63             : void
      64         117 : ScalarTransportApp::registerApps()
      65             : {
      66         117 :   registerApp(ScalarTransportApp);
      67             : 
      68         117 :   ChemicalReactionsApp::registerApps();
      69         117 :   NavierStokesApp::registerApps();
      70         117 :   ThermalHydraulicsApp::registerApps();
      71         117 :   FluidPropertiesApp::registerApps();
      72         117 :   HeatTransferApp::registerApps();
      73         117 :   RdgApp::registerApps();
      74         117 :   RayTracingApp::registerApps();
      75         117 :   SolidPropertiesApp::registerApps();
      76         117 :   MiscApp::registerApps();
      77         117 : }
      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