LCOV - code coverage report
Current view: top level - src/bcs - ExternalAppConvectionHeatTransferRZBC.C (source / functions) Hit Total Coverage
Test: idaholab/moose thermal_hydraulics: #32971 (54bef8) with base c6cf66 Lines: 15 16 93.8 %
Date: 2026-05-29 20:41:18 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 "ExternalAppConvectionHeatTransferRZBC.h"
      11             : 
      12             : registerMooseObject("ThermalHydraulicsApp", ExternalAppConvectionHeatTransferRZBC);
      13             : 
      14             : InputParameters
      15           4 : ExternalAppConvectionHeatTransferRZBC::validParams()
      16             : {
      17           4 :   InputParameters params = ExternalAppConvectionHeatTransferBC::validParams();
      18           4 :   params += RZSymmetry::validParams();
      19             : 
      20           4 :   params.addClassDescription(
      21             :       "Convection BC from an external application for RZ domain in XY coordinate system");
      22             : 
      23           4 :   return params;
      24           0 : }
      25             : 
      26           2 : ExternalAppConvectionHeatTransferRZBC::ExternalAppConvectionHeatTransferRZBC(
      27           2 :     const InputParameters & parameters)
      28           2 :   : ExternalAppConvectionHeatTransferBC(parameters), RZSymmetry(this, parameters)
      29             : {
      30           2 : }
      31             : 
      32             : Real
      33         144 : ExternalAppConvectionHeatTransferRZBC::computeQpResidual()
      34             : {
      35         144 :   const Real circumference = computeCircumference(_q_point[_qp]);
      36         144 :   return circumference * ExternalAppConvectionHeatTransferBC::computeQpResidual();
      37             : }
      38             : 
      39             : Real
      40          64 : ExternalAppConvectionHeatTransferRZBC::computeQpJacobian()
      41             : {
      42          64 :   const Real circumference = computeCircumference(_q_point[_qp]);
      43          64 :   return circumference * ExternalAppConvectionHeatTransferBC::computeQpJacobian();
      44             : }

Generated by: LCOV version 1.14