LCOV - code coverage report
Current view: top level - src/base - HeatTransferApp.C (source / functions) Hit Total Coverage
Test: idaholab/moose heat_transfer: #31405 (292dce) with base fef103 Lines: 34 45 75.6 %
Date: 2025-09-04 07:53:51 Functions: 3 8 37.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 "HeatTransferApp.h"
      11             : #include "Moose.h"
      12             : #include "AppFactory.h"
      13             : #include "MooseSyntax.h"
      14             : #include "RayTracingApp.h"
      15             : 
      16             : InputParameters
      17        4212 : HeatTransferApp::validParams()
      18             : {
      19        4212 :   InputParameters params = MooseApp::validParams();
      20             : 
      21        4212 :   params.set<bool>("use_legacy_material_output") = false;
      22        4212 :   params.set<bool>("use_legacy_initial_residual_evaluation_behavior") = false;
      23             : 
      24        4212 :   return params;
      25           0 : }
      26             : 
      27             : registerKnownLabel("HeatTransferApp");
      28             : 
      29           0 : HeatTransferApp::HeatTransferApp(const InputParameters & parameters) : MooseApp(parameters)
      30             : {
      31           0 :   HeatTransferApp::registerAll(_factory, _action_factory, _syntax);
      32           0 : }
      33             : 
      34           0 : HeatTransferApp::~HeatTransferApp() {}
      35             : 
      36             : void
      37        4212 : HeatTransferApp::registerApps()
      38             : {
      39        4212 :   registerApp(HeatTransferApp);
      40             : 
      41        4212 :   RayTracingApp::registerApps();
      42        4212 : }
      43             : 
      44             : void
      45        4212 : HeatTransferApp::registerAll(Factory & f, ActionFactory & af, Syntax & syntax)
      46             : {
      47        4212 :   RayTracingApp::registerAll(f, af, syntax);
      48        4212 :   Registry::registerObjectsTo(f, {"HeatTransferApp"});
      49        4212 :   Registry::registerActionsTo(af, {"HeatTransferApp"});
      50             : 
      51             :   // This registers an action to add the "secondary_flux" vector to the system at the right time
      52        4212 :   registerTask("add_secondary_flux_vector", false);
      53        8424 :   addTaskDependency("add_secondary_flux_vector", "ready_to_init");
      54        8424 :   addTaskDependency("setup_dampers", "add_secondary_flux_vector");
      55             : 
      56        8424 :   registerSyntax("HeatConductionCG", "Physics/HeatConduction/FiniteElement/*");
      57        8424 :   registerSyntax("HeatConductionFV", "Physics/HeatConduction/FiniteVolume/*");
      58             : 
      59        8424 :   registerSyntaxTask("ThermalContactAction", "ThermalContact/*", "add_aux_kernel");
      60        8424 :   registerSyntaxTask("ThermalContactAction", "ThermalContact/*", "add_aux_variable");
      61        8424 :   registerSyntaxTask("ThermalContactAction", "ThermalContact/*", "add_bc");
      62        8424 :   registerSyntaxTask("ThermalContactAction", "ThermalContact/*", "add_dirac_kernel");
      63        8424 :   registerSyntaxTask("ThermalContactAction", "ThermalContact/*", "add_material");
      64        8424 :   registerSyntaxTask("ThermalContactAction", "ThermalContact/*", "add_secondary_flux_vector");
      65             : 
      66        8424 :   registerSyntaxTask("RadiationTransferAction", "GrayDiffuseRadiation/*", "append_mesh_generator");
      67        8424 :   registerSyntaxTask("RadiationTransferAction", "GrayDiffuseRadiation/*", "setup_mesh_complete");
      68        8424 :   registerSyntaxTask("RadiationTransferAction", "GrayDiffuseRadiation/*", "add_user_object");
      69        8424 :   registerSyntaxTask("RadiationTransferAction", "GrayDiffuseRadiation/*", "add_bc");
      70        8424 :   registerSyntaxTask(
      71             :       "RadiationTransferAction", "GrayDiffuseRadiation/*", "add_ray_boundary_condition");
      72             : 
      73        8424 :   registerSyntaxTask(
      74             :       "MortarGapHeatTransferAction", "MortarGapHeatTransfer/*", "append_mesh_generator");
      75        8424 :   registerSyntaxTask(
      76             :       "MortarGapHeatTransferAction", "MortarGapHeatTransfer/*", "add_mortar_variable");
      77        8424 :   registerSyntaxTask("MortarGapHeatTransferAction", "MortarGapHeatTransfer/*", "add_constraint");
      78        8424 :   registerSyntaxTask("MortarGapHeatTransferAction", "MortarGapHeatTransfer/*", "add_user_object");
      79        4212 : }
      80             : 
      81             : extern "C" void
      82           0 : HeatTransferApp__registerAll(Factory & f, ActionFactory & af, Syntax & s)
      83             : {
      84           0 :   HeatTransferApp::registerAll(f, af, s);
      85           0 : }
      86             : extern "C" void
      87           0 : HeatTransferApp__registerApps()
      88             : {
      89           0 :   HeatTransferApp::registerApps();
      90           0 : }

Generated by: LCOV version 1.14