www.mooseframework.org
Classes | Functions
DGFunctionDiffusionDirichletBC.h File Reference

Go to the source code of this file.

Classes

class  DGFunctionDiffusionDirichletBC
 Implements a simple BC for DG. More...
 

Functions

template<>
InputParameters validParams< DGFunctionDiffusionDirichletBC > ()
 

Function Documentation

Definition at line 29 of file DGFunctionDiffusionDirichletBC.C.

30 {
32  params.addParam<Real>("value", 0.0, "The value the variable should have on the boundary");
33  params.addRequiredParam<FunctionName>("function", "The forcing function.");
34  params.addRequiredParam<Real>("epsilon", "Epsilon");
35  params.addRequiredParam<Real>("sigma", "Sigma");
36  params.addParam<MaterialPropertyName>(
37  "diff", 1, "The diffusion (or thermal conductivity or viscosity) coefficient.");
38 
39  return params;
40 }
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 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...