LCOV - code coverage report
Current view: top level - src/postprocessors - ADSideFluxIntegralRZ.C (source / functions) Hit Total Coverage
Test: idaholab/moose thermal_hydraulics: #30301 (3b550b) with base 2ad78d Lines: 11 12 91.7 %
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 "ADSideFluxIntegralRZ.h"
      11             : 
      12             : registerMooseObject("ThermalHydraulicsApp", ADSideFluxIntegralRZ);
      13             : 
      14             : InputParameters
      15          60 : ADSideFluxIntegralRZ::validParams()
      16             : {
      17          60 :   InputParameters params = ADSideFluxIntegral::validParams();
      18          60 :   params += RZSymmetry::validParams();
      19             : 
      20          60 :   params.addClassDescription("Integrates a diffusive flux over a boundary of a 2D RZ domain.");
      21             : 
      22          60 :   return params;
      23           0 : }
      24             : 
      25          24 : ADSideFluxIntegralRZ::ADSideFluxIntegralRZ(const InputParameters & parameters)
      26          24 :   : ADSideFluxIntegral(parameters), RZSymmetry(this, parameters)
      27             : {
      28          24 : }
      29             : 
      30             : Real
      31         144 : ADSideFluxIntegralRZ::computeQpIntegral()
      32             : {
      33         144 :   const Real circumference = computeCircumference(_q_point[_qp]);
      34         144 :   return circumference * ADSideFluxIntegral::computeQpIntegral();
      35             : }

Generated by: LCOV version 1.14