https://mooseframework.inl.gov
GapLineMeshGenerator.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 
13 
20 {
21 public:
23 
25 
26  std::unique_ptr<MeshBase> generate() override;
27 
28 protected:
30  std::unique_ptr<MeshBase> & _input;
31 
34 
36  const enum class GapDirection { OUTWARD, INWARD } _gap_direction;
37 
39  const std::vector<boundary_id_type> _boundary_ids;
40 };
enum GapLineMeshGenerator::GapDirection _gap_direction
GapDirection
The direction in which the gap is created with respect to the boundary of the input mesh...
const InputParameters & parameters() const
static InputParameters validParams()
const Real _thickness
The thickness of the gap to be created.
std::unique_ptr< MeshBase > generate() override
Generate a polyline mesh that is based on an input 2D-XY mesh.
GapLineMeshGenerator(const InputParameters &parameters)
std::unique_ptr< MeshBase > & _input
Input mesh defining the boundary.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
A base class that contains common members for Reactor module mesh generators.
const std::vector< boundary_id_type > _boundary_ids
The boundary IDs around which the gap will be created.