https://mooseframework.inl.gov
Loading...
Searching...
No Matches
CartesianIDPatternedMeshGenerator.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
14#include "libmesh/replicated_mesh.h"
15
20{
21public:
23
25
26 std::unique_ptr<MeshBase> generate() override;
27
28protected:
30 const std::string _element_id_name;
34 const bool _use_exclude_id;
36 std::vector<bool> _exclude_ids;
38 std::vector<std::vector<dof_id_type>> _id_pattern;
39};
Generates patterned Cartesian meshes with a reporting ID.
std::vector< bool > _exclude_ids
flag to indicate if exclude_id is used for each input
std::vector< std::vector< dof_id_type > > _id_pattern
hold integer ID for each input pattern cell
const bool _use_exclude_id
flag to indicate if exclude_id is defined
const ReportingIDGeneratorUtils::AssignType _assign_type
integer ID assignment type
std::unique_ptr< MeshBase > generate() override
const std::string _element_id_name
name of integer ID.
const InputParameters & parameters() const
AssignType
Enum item for reporting id assign types.