www.mooseframework.org
Functions
AddSideSetsFromBoundingBox.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< AddSideSetsFromBoundingBox > ()
 

Function Documentation

Definition at line 22 of file AddSideSetsFromBoundingBox.C.

23 {
25  params.addClassDescription("Find sidesets with given boundary ids in bounding box and add new "
26  "boundary id. This can be done by finding all required boundary "
27  "and adding the new boundary id to those sidesets. Alternatively, "
28  "a number of boundary ids can be provided and all nodes within the "
29  "bounding box that have all the required boundary ids will have a new"
30  "boundary id added.");
31 
32  MooseEnum location("INSIDE OUTSIDE", "INSIDE");
33 
35  "bottom_left", "The bottom left point (in x,y,z with spaces in-between).");
37  "top_right", "The bottom left point (in x,y,z with spaces in-between).");
38  params.addRequiredParam<SubdomainID>("block_id",
39  "Subdomain id to set for inside/outside the bounding box");
40  params.addRequiredParam<std::vector<BoundaryName>>(
41  "boundary_id_old", "Boundary id on specified block within the bounding box to select");
42  params.addRequiredParam<boundary_id_type>(
43  "boundary_id_new", "Boundary id on specified block within the bounding box to assign");
44  params.addParam<bool>("boundary_id_overlap",
45  false,
46  "Set to true if boundaries need to overlap on sideset to be detected.");
47  params.addParam<MooseEnum>(
48  "location", location, "Control of where the subdomain id is to be set");
49 
50  return params;
51 }
VectorValue< Real > RealVectorValue
Definition: Assembly.h:40
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...
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
Definition: MooseEnum.h:37
void addClassDescription(const std::string &doc_string)
This method adds a description of the class that will be displayed in the input file syntax dump...
void addParam(const std::string &name, const S &value, const std::string &doc_string)
These methods add an option parameter and a documentation string to the InputParameters object...
InputParameters validParams< MeshModifier >()
Definition: MeshModifier.C:20