LCOV - code coverage report
Current view: top level - src/bcs - ADHSHeatFluxRZBC.C (source / functions) Hit Total Coverage
Test: idaholab/moose thermal_hydraulics: #32971 (54bef8) with base c6cf66 Lines: 11 12 91.7 %
Date: 2026-05-29 20:41:18 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 "ADHSHeatFluxRZBC.h"
      11             : #include "Function.h"
      12             : 
      13             : registerMooseObject("ThermalHydraulicsApp", ADHSHeatFluxRZBC);
      14             : 
      15             : InputParameters
      16          17 : ADHSHeatFluxRZBC::validParams()
      17             : {
      18          17 :   InputParameters params = ADHSHeatFluxBC::validParams();
      19          17 :   params += RZSymmetry::validParams();
      20             : 
      21          17 :   params.addClassDescription("Applies a specified heat flux to the side of a cylindrical heat "
      22             :                              "structure in XY coordinates");
      23             : 
      24          17 :   return params;
      25           0 : }
      26             : 
      27           9 : ADHSHeatFluxRZBC::ADHSHeatFluxRZBC(const InputParameters & parameters)
      28           9 :   : ADHSHeatFluxBC(parameters), RZSymmetry(this, parameters)
      29             : {
      30           9 : }
      31             : 
      32             : ADReal
      33         400 : ADHSHeatFluxRZBC::computeQpResidual()
      34             : {
      35         400 :   const Real P_heat = computeCircumference(_q_point[_qp]);
      36         400 :   return P_heat * ADHSHeatFluxBC::computeQpResidual();
      37             : }

Generated by: LCOV version 1.14