20 "Uses a parsed expression to determine the subdomain ids of included elements.");
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 " GenericReal< is_ad > evaluate(SymFunctionPtr &, const std::string &object_name="")
Evaluate FParser object and check EvalError.
std::vector< unsigned int > _eeid_indices
Indices of the extra element ids used in the parsed expression.
static InputParameters validParams()
void paramError(const std::string ¶m, Args... args) const
Emits an error prefixed with the file and line number of the given param (from the input file) along ...
ParsedSubdomainIDsGenerator(const InputParameters ¶meters)
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...
A base class for mesh generators that Use a parsed expression to assign new subdomain id(s) ...
static InputParameters validParams()
void assignElemSubdomainID(Elem *elem) override
Assign the subdomain id to the element based on the parsed expression.
SymFunctionPtr _func_F
function parser object describing the combinatorial geometry
MeshGenerator to use a parsed expression to determine the subdomain ids of included elements...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
std::vector< GenericReal< is_ad > > _func_params
Array to stage the parameters passed to the functions when calling Eval.
registerMooseObject("MooseApp", ParsedSubdomainIDsGenerator)
auto index_range(const T &sizable)