LCOV - code coverage report
Current view: top level - src/kernels - ADHeatConductionTimeDerivativeRZ.C (source / functions) Hit Total Coverage
Test: idaholab/moose thermal_hydraulics: #32971 (54bef8) with base c6cf66 Lines: 12 13 92.3 %
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 "ADHeatConductionTimeDerivativeRZ.h"
      11             : 
      12             : registerMooseObject("ThermalHydraulicsApp", ADHeatConductionTimeDerivativeRZ);
      13             : 
      14             : InputParameters
      15        1301 : ADHeatConductionTimeDerivativeRZ::validParams()
      16             : {
      17        1301 :   InputParameters params = ADHeatConductionTimeDerivative::validParams();
      18        1301 :   params += RZSymmetry::validParams();
      19        1301 :   params.addClassDescription(
      20             :       "Adds a time derivative term for the energy equation in XY coordinates "
      21             :       "interpreted as cylindrical coordinates");
      22        1301 :   return params;
      23           0 : }
      24             : 
      25         694 : ADHeatConductionTimeDerivativeRZ::ADHeatConductionTimeDerivativeRZ(
      26         694 :     const InputParameters & parameters)
      27         694 :   : ADHeatConductionTimeDerivative(parameters), RZSymmetry(this, parameters)
      28             : {
      29         694 : }
      30             : 
      31             : ADReal
      32     8765154 : ADHeatConductionTimeDerivativeRZ::precomputeQpResidual()
      33             : {
      34     8765154 :   const ADReal circumference = computeCircumference(_q_point[_qp]);
      35     8765154 :   return circumference * ADHeatConductionTimeDerivative::precomputeQpResidual();
      36             : }

Generated by: LCOV version 1.14