https://mooseframework.inl.gov
ReactorMeshParams.h
Go to the documentation of this file.
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 
19 {
20 public:
22 
24 
25  std::unique_ptr<MeshBase> generate() override;
26 
27  void generateData() override{};
28 
29 protected:
31  const MooseEnum _dim;
32 
35 
38 
40  std::vector<Real> _axial_regions;
41 
43  std::vector<unsigned int> _axial_mesh_intervals;
44 
47 
50 
53 };
A class to store mesh information that is globally applicable to a reactor.
const MooseEnum _geom
The geometry type for the reactor.
ReactorMeshParams(const InputParameters &parameters)
std::unique_ptr< MeshBase > generate() override
static InputParameters validParams()
boundary_id_type _bottom_boundary
Boundary id assigned to bottom boundary of extruded mesh.
int8_t boundary_id_type
boundary_id_type _radial_boundary
Boundary id assigned to outer radial boundary of core mesh.
const Real _assembly_pitch
The the flat-to-flat size of assemblies in the reactor.
std::vector< unsigned int > _axial_mesh_intervals
The number of mesh divisions in each axial region.
const MooseEnum _dim
The number of dimension in the mesh.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
boundary_id_type _top_boundary
Boundary id assigned to top boundary of extruded mesh.
const InputParameters & parameters() const
void generateData() override
std::vector< Real > _axial_regions
The heights of the axial regions.