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