LCOV - code coverage report
Current view: top level - include/mesh - ConcentricCircleMesh.h (source / functions) Hit Total Coverage
Test: idaholab/moose framework: 2bf808 Lines: 0 1 0.0 %
Date: 2025-07-17 01:28:37 Functions: 0 1 0.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 "MooseMesh.h"
      13             : #include "MooseEnum.h"
      14             : 
      15             : /**
      16             :  * Mesh generated from parameters
      17             :  */
      18             : class ConcentricCircleMesh : public MooseMesh
      19             : {
      20             : public:
      21             :   static InputParameters validParams();
      22             : 
      23             :   ConcentricCircleMesh(const InputParameters & parameters);
      24             : 
      25           0 :   ConcentricCircleMesh(const ConcentricCircleMesh & /* other_mesh */) = default;
      26             : 
      27             :   ConcentricCircleMesh & operator=(const ConcentricCircleMesh & other_mesh) = delete;
      28             :   virtual std::unique_ptr<MooseMesh> safeClone() const override;
      29             : 
      30             :   virtual void buildMesh() override;
      31             : 
      32             : protected:
      33             :   /// Number of sectors in one quadrant
      34             :   unsigned int _num_sectors;
      35             :   /// Radii of concentric circles
      36             :   std::vector<Real> _radii;
      37             :   /// Number of rings in each circle or in the moderator
      38             :   std::vector<unsigned int> _rings;
      39             :   /// Size of inner square in relation to radius of the innermost concentric circle
      40             :   Real _inner_mesh_fraction;
      41             :   /// Adding the moderator is optional
      42             :   bool _has_outer_square;
      43             :   Real _pitch;
      44             :   /// Volume preserving function is optional
      45             :   bool _preserve_volumes;
      46             :   /// Control of which portion of mesh will be developed
      47             :   MooseEnum _portion;
      48             : };

Generated by: LCOV version 1.14