Classes | Functions
MeshExtruder.h File Reference

Go to the source code of this file.


class  MeshExtruder
class  MeshExtruder::QueryElemSubdomainID
 This class is used during the mesh construction (extrusion) to set element ids as they are created. More...


InputParameters validParams< MeshExtruder > ()

Function Documentation

Definition at line 25 of file MeshExtruder.C.

26 {
28  params.addClassDescription("Takes a 1D or 2D mesh and extrudes the entire structure along the "
29  "specified axis increasing the dimensionality of the mesh.");
30  params.addRequiredParam<RealVectorValue>("extrusion_vector",
31  "The direction and length of the extrusion");
32  params.addParam<unsigned int>("num_layers", 1, "The number of layers in the extruded mesh");
33  params.addParam<std::vector<BoundaryName>>(
34  "bottom_sideset", "The boundary that will be applied to the bottom of the extruded mesh");
35  params.addParam<std::vector<BoundaryName>>(
36  "top_sideset", "The boundary that will be to the top of the extruded mesh");
38  params.addParam<std::vector<SubdomainID>>(
39  "existing_subdomains",
40  std::vector<SubdomainID>(),
41  "The subdomains that will be remapped for specific layers");
42  params.addParam<std::vector<unsigned int>>(
43  "layers",
44  std::vector<unsigned int>(),
45  "The layers where the \"existing_subdomain\" will be remapped to new ids");
46  params.addParam<std::vector<unsigned int>>(
47  "new_ids",
48  std::vector<unsigned int>(),
49  "The list of new ids, This list should be either length \"existing_subdomains\" or "
50  "\"existing_subdomains\" * layers");
51  return params;
52 }
VectorValue< Real > RealVectorValue
Definition: Assembly.h:40
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...
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