ParsedAddSideset.C File Reference

Go to the source code of this file.


InputParameters validParams< ParsedAddSideset > ()

Function Documentation

Definition at line 24 of file ParsedAddSideset.C.

25 {
28  params.addRequiredParam<std::string>("combinatorial_geometry",
29  "Function expression encoding a combinatorial geometry");
30  params.addRequiredParam<BoundaryName>("new_sideset_name", "The name of the new sideset");
31  params.addParam<std::vector<SubdomainID>>(
32  "included_subdomain_ids",
33  "A set of subdomain ids whose sides will be included in the new sidesets");
34  params.addParam<Point>(
35  "normal",
36  Point(),
37  "If provided specifies the normal vector on sides that are added to the new ");
38  params.addParam<std::vector<std::string>>(
39  "constant_names", "Vector of constants used in the parsed function (use this for kB etc.)");
40  params.addParam<std::vector<std::string>>(
41  "constant_expressions",
42  "Vector of values for the constants in constant_names (can be an FParser expression)");
43  params.addClassDescription("A MeshModifier that adds element's sides to a sideset if the "
44  "centroid satisfies the combinatorial_geometry expression, (and "
45  "optionally) "
46  "if one of the side's elements is in included_subdomain_ids and if it "
47  "features the correct normal.");
48  return params;
49 }
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< AddSideSetsBase >()
InputParameters validParams< FunctionParserUtils >()