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

Go to the source code of this file.

Classes

class  DGDiffusion
 DG kernel for diffusion. More...
 

Functions

template<>
InputParameters validParams< DGDiffusion > ()
 

Function Documentation

Definition at line 24 of file DGDiffusion.C.

25 {
27  // See header file for sigma and epsilon
28  params.addRequiredParam<Real>("sigma", "sigma");
29  params.addRequiredParam<Real>("epsilon", "epsilon");
30  params.addParam<MaterialPropertyName>(
31  "diff", 1., "The diffusion (or thermal conductivity or viscosity) coefficient.");
32  return params;
33 }
InputParameters validParams< DGKernel >()
Definition: DGKernel.C: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...
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...