LinearNodalConstraint.C File Reference

Go to the source code of this file.


InputParameters validParams< LinearNodalConstraint > ()

Function Documentation

Definition at line 21 of file LinearNodalConstraint.C.

22 {
24  params.addRequiredParam<std::vector<unsigned int>>("master", "The master node IDs.");
25  params.addParam<std::vector<unsigned int>>("slave_node_ids", "The list of slave node ids");
26  params.addParam<BoundaryName>(
27  "slave_node_set", "NaN", "The boundary ID associated with the slave side");
28  params.addRequiredParam<Real>("penalty", "The penalty used for the boundary term");
29  params.addRequiredParam<std::vector<Real>>(
30  "weights",
31  "The weights associated with the master node ids. Must be of the same size as master nodes");
32  return params;
33 }
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< NodalConstraint >()
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...