https://mooseframework.inl.gov
DepletionIDGenerator.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"
17 {
18 public:
21 
22  virtual std::unique_ptr<MeshBase> generate() override;
23 
24 protected:
26  std::unique_ptr<MeshBase> & _input;
28  ExtraElementIDName _material_id_name;
29 };
ExtraElementIDName _material_id_name
material id name
static InputParameters validParams()
DepletionIDGenerator(const InputParameters &parameters)
virtual std::unique_ptr< MeshBase > generate() override
Assigns depletion IDs to elements based on reporting and material IDs.
std::unique_ptr< MeshBase > & _input
input mesh for adding element IDs
const InputParameters & parameters() const