LCOV - code coverage report
Current view: top level - include/components - HeatStructureCylindricalBase.h (source / functions) Hit Total Coverage
Test: idaholab/moose thermal_hydraulics: #30301 (3b550b) with base 2ad78d Lines: 2 3 66.7 %
Date: 2025-07-30 13:02:48 Functions: 2 2 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             : #pragma once
      11             : 
      12             : #include "HeatStructureBase.h"
      13             : 
      14             : /**
      15             :  * Base class for cylindrical heat structure components
      16             :  */
      17           0 : class HeatStructureCylindricalBase : public HeatStructureBase
      18             : {
      19             : public:
      20             :   HeatStructureCylindricalBase(const InputParameters & params);
      21             : 
      22             :   virtual void setupMesh() override;
      23             :   virtual Real getUnitPerimeter(const ExternalBoundaryType & side) const override;
      24             : 
      25             :   /**
      26             :    * Get the inner radius of the heat structure
      27             :    *
      28             :    * @returns The inner radius of the heat structure
      29             :    */
      30          55 :   virtual Real getInnerRadius() const { return _inner_radius; }
      31             : 
      32             :   virtual Real computeRadialBoundaryArea(const Real & length, const Real & y) const override;
      33             :   virtual Real computeAxialBoundaryArea(const Real & y_min, const Real & y_max) const override;
      34             : 
      35             : protected:
      36        1208 :   virtual bool useCylindricalTransformation() const override { return true; }
      37             : 
      38             :   /// Inner radius of the heat structure
      39             :   Real _inner_radius;
      40             : 
      41             : public:
      42             :   static InputParameters validParams();
      43             : };

Generated by: LCOV version 1.14