PenaltyDirichletBC.C File Reference

Go to the source code of this file.


InputParameters validParams< PenaltyDirichletBC > ()

Function Documentation

Definition at line 19 of file PenaltyDirichletBC.C.

20 {
22  params.addRequiredParam<Real>("penalty", "Penalty scalar");
23  params.addParam<Real>("value", 0.0, "Boundary value of the variable");
24  params.declareControllable("value");
25  params.addClassDescription("Enforces a Dirichlet boundary condition "
26  "in a weak sense by penalizing differences between the current "
27  "solution and the Dirichlet data.");
28  return params;
29 }
InputParameters validParams< IntegratedBC >()
Definition: IntegratedBC.C:28
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 declareControllable(const std::string &name)
Declare the given parameters as controllable.
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...