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

Generated by: LCOV version 1.14