LCOV - code coverage report
Current view: top level - src/bcs - HeatStructure2DCouplerRZBC.C (source / functions) Hit Total Coverage
Test: idaholab/moose thermal_hydraulics: #30301 (3b550b) with base 2ad78d Lines: 11 12 91.7 %
Date: 2025-07-30 13:02:48 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 "HeatStructure2DCouplerRZBC.h"
      11             : 
      12             : registerMooseObject("ThermalHydraulicsApp", HeatStructure2DCouplerRZBC);
      13             : 
      14             : InputParameters
      15         234 : HeatStructure2DCouplerRZBC::validParams()
      16             : {
      17         234 :   InputParameters params = HeatStructure2DCouplerBC::validParams();
      18         234 :   params += RZSymmetry::validParams();
      19             : 
      20         234 :   params.addClassDescription("Applies BC for HeatStructure2DCoupler for cylindrical heat structure "
      21             :                              "in a XY coordinate system");
      22             : 
      23         234 :   return params;
      24           0 : }
      25             : 
      26         126 : HeatStructure2DCouplerRZBC::HeatStructure2DCouplerRZBC(const InputParameters & parameters)
      27         126 :   : HeatStructure2DCouplerBC(parameters), RZSymmetry(this, parameters)
      28             : {
      29         126 : }
      30             : 
      31             : ADReal
      32       96000 : HeatStructure2DCouplerRZBC::computeQpResidual()
      33             : {
      34       96000 :   const Real P_heat = computeCircumference(_q_point[_qp]);
      35       96000 :   return P_heat * HeatStructure2DCouplerBC::computeQpResidual();
      36             : }

Generated by: LCOV version 1.14