LCOV - code coverage report
Current view: top level - include/meshgenerators - ReactorMeshParams.h (source / functions) Hit Total Coverage
Test: idaholab/moose reactor: #31405 (292dce) with base fef103 Lines: 1 1 100.0 %
Date: 2025-09-04 07:56:24 Functions: 1 1 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 "MeshGenerator.h"
      13             : #include "MooseEnum.h"
      14             : 
      15             : /**
      16             :  * A class to store mesh information that is globally applicable to a reactor.
      17             :  */
      18             : class ReactorMeshParams : public MeshGenerator
      19             : {
      20             : public:
      21             :   static InputParameters validParams();
      22             : 
      23             :   ReactorMeshParams(const InputParameters & parameters);
      24             : 
      25             :   std::unique_ptr<MeshBase> generate() override;
      26             : 
      27         498 :   void generateData() override{};
      28             : 
      29             : protected:
      30             :   /// The number of dimension in the mesh
      31             :   const MooseEnum _dim;
      32             : 
      33             :   /// The geometry type for the reactor
      34             :   const MooseEnum _geom;
      35             : 
      36             :   /// The the flat-to-flat size of assemblies in the reactor.
      37             :   const Real _assembly_pitch;
      38             : 
      39             :   ///The heights of the axial regions.
      40             :   std::vector<Real> _axial_regions;
      41             : 
      42             :   ///The number of mesh divisions in each axial region.
      43             :   std::vector<unsigned int> _axial_mesh_intervals;
      44             : 
      45             :   ///Boundary id assigned to top boundary of extruded mesh.
      46             :   boundary_id_type _top_boundary;
      47             : 
      48             :   ///Boundary id assigned to bottom boundary of extruded mesh.
      49             :   boundary_id_type _bottom_boundary;
      50             : 
      51             :   ///Boundary id assigned to outer radial boundary of core mesh.
      52             :   boundary_id_type _radial_boundary;
      53             : };

Generated by: LCOV version 1.14