https://mooseframework.inl.gov
ParsedSubdomainMeshGenerator.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 
18 {
19 public:
21 
23 
24 protected:
27 
32  void assignElemSubdomainID(Elem * elem) override;
33 
38  void setBlockName(std::unique_ptr<MeshBase> & mesh) override;
39 };
void setBlockName(std::unique_ptr< MeshBase > &mesh) override
Set block name for the block with new id if applicable.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
A base class for mesh generators that Use a parsed expression to assign new subdomain id(s) ...
void assignElemSubdomainID(Elem *elem) override
Assign the subdomain id to the element based on the parsed expression.
ParsedSubdomainMeshGenerator(const InputParameters &parameters)
MeshGenerator for defining a Subdomain inside or outside of combinatorial geometry.
const InputParameters & parameters() const
Get the parameters of the object.
const subdomain_id_type _block_id
Block ID to assign to the region.