www.mooseframework.org
Functions
AddExtraNodeset.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< AddExtraNodeset > ()
 

Function Documentation

Definition at line 23 of file AddExtraNodeset.C.

24 {
26  params.addRequiredParam<std::vector<BoundaryName>>("new_boundary",
27  "The name of the boundary to create");
28 
29  params.addParam<std::vector<unsigned int>>("nodes",
30  "The nodes you want to be in the nodeset "
31  "(Either this parameter or \"coord\" must be "
32  "supplied).");
33  params.addParam<std::vector<Real>>("coord",
34  "The nodes with coordinates you want to be in the "
35  "nodeset (Either this parameter or \"nodes\" must be "
36  "supplied).");
37  params.addParam<Real>(
38  "tolerance", TOLERANCE, "The tolerance in which two nodes are considered identical");
39 
40  return params;
41 }
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 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