Classes | Functions
ParsedSubdomainMeshModifier.h File Reference

Go to the source code of this file.


class  ParsedSubdomainMeshModifier
 MeshModifier for defining a Subdomain inside or outside of combinatorial geometry. More...


InputParameters validParams< ParsedSubdomainMeshModifier > ()

Function Documentation

Definition at line 24 of file ParsedSubdomainMeshModifier.C.

25 {
28  params.addRequiredParam<std::string>("combinatorial_geometry",
29  "Function expression encoding a combinatorial geometry");
30  params.addRequiredParam<SubdomainID>("block_id",
31  "Subdomain id to set for inside of the combinatorial");
32  params.addParam<SubdomainName>("block_name",
33  "Subdomain name to set for inside of the combinatorial");
34  params.addParam<std::vector<SubdomainID>>("excluded_subdomain_ids",
35  "A set of subdomain ids that will not changed even if "
36  "they are inside/outside the combinatorial geometry");
37  params.addParam<std::vector<std::string>>(
38  "constant_names", "Vector of constants used in the parsed function (use this for kB etc.)");
39  params.addParam<std::vector<std::string>>(
40  "constant_expressions",
41  "Vector of values for the constants in constant_names (can be an FParser expression)");
42  params.addClassDescription("MeshModifier that uses a parsed expression (combinatorial_geometry) "
43  "to determine if an element (aka its centroid) is inside the "
44  "combinatorial geometry and "
45  "assigns a new block id.");
46  return params;
47 }
subdomain_id_type SubdomainID
Definition: MooseTypes.h:77
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
void addRequiredParam(const std::string &name, const std::string &doc_string)
This method adds a parameter and documentation string to the InputParameters object that will be extr...
InputParameters validParams< FunctionParserUtils >()
InputParameters validParams< MeshModifier >()
Definition: MeshModifier.C:20