LCOV - code coverage report
Current view: top level - src/postprocessors - FunctionSideIntegralRZ.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 "FunctionSideIntegralRZ.h"
      11             : 
      12             : registerMooseObject("ThermalHydraulicsApp", FunctionSideIntegralRZ);
      13             : 
      14             : InputParameters
      15          34 : FunctionSideIntegralRZ::validParams()
      16             : {
      17          34 :   InputParameters params = FunctionSideIntegral::validParams();
      18          34 :   params += RZSymmetry::validParams();
      19             : 
      20          34 :   params.addClassDescription(
      21             :       "Integrates a function over sides for RZ geometry modeled by XY domain");
      22             : 
      23          34 :   return params;
      24           0 : }
      25             : 
      26          14 : FunctionSideIntegralRZ::FunctionSideIntegralRZ(const InputParameters & parameters)
      27          14 :   : FunctionSideIntegral(parameters), RZSymmetry(this, parameters)
      28             : {
      29          12 : }
      30             : 
      31             : Real
      32         600 : FunctionSideIntegralRZ::computeQpIntegral()
      33             : {
      34         600 :   const Real circumference = computeCircumference(_q_point[_qp]);
      35         600 :   return circumference * FunctionSideIntegral::computeQpIntegral();
      36             : }

Generated by: LCOV version 1.14