25 std::unique_ptr<MeshBase>
generate()
override;
std::vector< unsigned int > _eeid_indices
Indices of the extra element ids used in the parsed expression.
std::shared_ptr< SymFunction > SymFunctionPtr
Shorthand for an smart pointer to an autodiff function parser object.
const std::vector< ExtraElementIDName > _eeid_names
Names of the extra element ids used in the parsed expression.
static InputParameters validParams()
const std::string _function
function expression
std::vector< subdomain_id_type > _excluded_ids
A list of excluded subdomain ids that will not be changed even if they are in the combinatorial geome...
void functionInitialize(const std::string &function_expression)
Initialize the function parser object.
A base class for mesh generators that Use a parsed expression to assign new subdomain id(s) ...
ParsedSubdomainGeneratorBase(const InputParameters ¶meters)
virtual void setBlockName(std::unique_ptr< MeshBase > &)
virtual void assignElemSubdomainID(Elem *elem)=0
std::unique_ptr< MeshBase > & _input
mesh to set the subdomains on
SymFunctionPtr _func_F
function parser object describing the combinatorial geometry
const InputParameters & parameters() const
Get the parameters of the object.
std::unique_ptr< MeshBase > generate() override
Generate / modify the mesh.
MeshGenerators are objects that can modify or add to an existing mesh.
usingFunctionParserUtilsMembers(false)