https://mooseframework.inl.gov
SubdomainExtraElementIDGenerator.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 
15 {
16 public:
19 
20  virtual std::unique_ptr<MeshBase> generate() override;
21 
22 protected:
24  std::unique_ptr<MeshBase> & _input;
26  const std::vector<SubdomainName> & _subdomain_names;
27 };
SubdomainExtraElementIDGenerator(const InputParameters &parameters)
virtual std::unique_ptr< MeshBase > generate() override
const std::vector< SubdomainName > & _subdomain_names
subdomains that are to be assigned with element IDs
std::unique_ptr< MeshBase > & _input
input mesh for adding element IDs
const InputParameters & parameters() const