LCOV - code coverage report
Current view: top level - src/bcs - ConvectionHeatTransferRZBC.C (source / functions) Hit Total Coverage
Test: idaholab/moose thermal_hydraulics: #30301 (3b550b) with base 2ad78d Lines: 14 15 93.3 %
Date: 2025-07-30 13:02:48 Functions: 4 4 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 "ConvectionHeatTransferRZBC.h"
      11             : 
      12             : registerMooseObject("ThermalHydraulicsApp", ConvectionHeatTransferRZBC);
      13             : 
      14             : InputParameters
      15          10 : ConvectionHeatTransferRZBC::validParams()
      16             : {
      17          10 :   InputParameters params = ConvectionHeatTransferBC::validParams();
      18          10 :   params += RZSymmetry::validParams();
      19             : 
      20          10 :   params.addClassDescription("Convection BC for RZ domain in XY coordinate system");
      21             : 
      22          10 :   return params;
      23           0 : }
      24             : 
      25           5 : ConvectionHeatTransferRZBC::ConvectionHeatTransferRZBC(const InputParameters & parameters)
      26           5 :   : ConvectionHeatTransferBC(parameters), RZSymmetry(this, parameters)
      27             : {
      28           5 : }
      29             : 
      30             : Real
      31         360 : ConvectionHeatTransferRZBC::computeQpResidual()
      32             : {
      33         360 :   const Real circumference = computeCircumference(_q_point[_qp]);
      34         360 :   return circumference * ConvectionHeatTransferBC::computeQpResidual();
      35             : }
      36             : 
      37             : Real
      38         160 : ConvectionHeatTransferRZBC::computeQpJacobian()
      39             : {
      40         160 :   const Real circumference = computeCircumference(_q_point[_qp]);
      41         160 :   return circumference * ConvectionHeatTransferBC::computeQpJacobian();
      42             : }

Generated by: LCOV version 1.14