45 "the value of the function is negative at the element with ID " +
46 std::to_string(elem->id()) +
47 ". The function must be non-negative. Consider using the absolute value of "
49 elem->subdomain_id() = std::round(func_val);
registerMooseObject("MooseApp", ParsedSubdomainIDsGenerator)
A base class for mesh generators that Use a parsed expression to assign new subdomain id(s)
static InputParameters validParams()
std::vector< unsigned int > _eeid_indices
Indices of the extra element ids used in the parsed 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...
SymFunctionPtr _func_F
function parser object describing the combinatorial geometry
MeshGenerator to use a parsed expression to determine the subdomain ids of included elements.
static InputParameters validParams()
void assignElemSubdomainID(Elem *elem) override
Assign the subdomain id to the element based on the parsed expression.
ParsedSubdomainIDsGenerator(const InputParameters ¶meters)