www.mooseframework.org
Functions
NodalConstraint.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< NodalConstraint > ()
 

Function Documentation

Definition at line 26 of file NodalConstraint.C.

Referenced by validParams< EqualValueBoundaryConstraint >(), and validParams< LinearNodalConstraint >().

27 {
29  MooseEnum formulationtype("penalty kinematic", "penalty");
30  params.addParam<MooseEnum>("formulation",
31  formulationtype,
32  "Formulation used to calculate constraint - penalty or kinematic.");
33  return params;
34 }
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
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 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< Constraint >()
Definition: Constraint.C:20