LCOV - code coverage report
Current view: top level - src/kernels - ADHeatConductionTimeDerivativeRZ.C (source / functions) Hit Total Coverage
Test: idaholab/moose thermal_hydraulics: #31405 (292dce) with base fef103 Lines: 12 13 92.3 %
Date: 2025-09-04 07:58:41 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        2643 : ADHeatConductionTimeDerivativeRZ::validParams()
      16             : {
      17        2643 :   InputParameters params = ADHeatConductionTimeDerivative::validParams();
      18        2643 :   params += RZSymmetry::validParams();
      19        2643 :   params.addClassDescription(
      20             :       "Adds a time derivative term for the energy equation in XY coordinates "
      21             :       "interpreted as cylindrical coordinates");
      22        2643 :   return params;
      23           0 : }
      24             : 
      25        1453 : ADHeatConductionTimeDerivativeRZ::ADHeatConductionTimeDerivativeRZ(
      26        1453 :     const InputParameters & parameters)
      27        1453 :   : ADHeatConductionTimeDerivative(parameters), RZSymmetry(this, parameters)
      28             : {
      29        1453 : }
      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