LCOV - code coverage report
Current view: top level - src/postprocessors - ADElementIntegralMaterialPropertyRZ.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 "ADElementIntegralMaterialPropertyRZ.h"
      11             : 
      12             : registerMooseObject("ThermalHydraulicsApp", ADElementIntegralMaterialPropertyRZ);
      13             : 
      14             : InputParameters
      15          28 : ADElementIntegralMaterialPropertyRZ::validParams()
      16             : {
      17          28 :   InputParameters params = ADElementIntegralMaterialProperty::validParams();
      18          28 :   params += RZSymmetry::validParams();
      19          28 :   params.addClassDescription(
      20             :       "Computes the volume integral of a material property for an RZ geometry.");
      21          28 :   return params;
      22           0 : }
      23             : 
      24          10 : ADElementIntegralMaterialPropertyRZ::ADElementIntegralMaterialPropertyRZ(
      25          10 :     const InputParameters & parameters)
      26          10 :   : ADElementIntegralMaterialProperty(parameters), RZSymmetry(this, parameters)
      27             : {
      28          10 : }
      29             : 
      30             : Real
      31        6000 : ADElementIntegralMaterialPropertyRZ::computeQpIntegral()
      32             : {
      33        6000 :   const Real circumference = computeCircumference(_q_point[_qp]);
      34        6000 :   return circumference * ADElementIntegralMaterialProperty::computeQpIntegral();
      35             : }

Generated by: LCOV version 1.14