LCOV - code coverage report
Current view: top level - src/userobjects - FunctorGapFluxModelRadiation.C (source / functions) Hit Total Coverage
Test: idaholab/moose heat_transfer: #31405 (292dce) with base fef103 Lines: 11 12 91.7 %
Date: 2025-09-04 07:53:51 Functions: 3 3 100.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 "FunctorGapFluxModelRadiation.h"
      11             : 
      12             : registerMooseObject("HeatTransferApp", FunctorGapFluxModelRadiation);
      13             : 
      14             : InputParameters
      15          82 : FunctorGapFluxModelRadiation::validParams()
      16             : {
      17          82 :   InputParameters params = GapFluxModelRadiationBase::validParams();
      18          82 :   params.addClassDescription("Gap flux model for heat transfer across a gap due to radiation, "
      19             :                              "based on the diffusion approximation. Uses a temperature functor.");
      20         164 :   params.addRequiredParam<MooseFunctorName>("temperature", "The name of the temperature functor");
      21          82 :   return params;
      22           0 : }
      23             : 
      24          44 : FunctorGapFluxModelRadiation::FunctorGapFluxModelRadiation(const InputParameters & parameters)
      25          88 :   : GapFluxModelRadiationBase(parameters), _T(getFunctor<ADReal>("temperature"))
      26             : {
      27          44 : }
      28             : 
      29             : ADReal
      30        1782 : FunctorGapFluxModelRadiation::computeFlux() const
      31             : {
      32        1782 :   return computeRadiationFlux(_T(_secondary_point, determineState()),
      33        3564 :                               _T(_primary_point, determineState()));
      34             : }

Generated by: LCOV version 1.14