www.mooseframework.org
Functions
CoefDiffusion.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< CoefDiffusion > ()
 

Function Documentation

template<>
InputParameters validParams< CoefDiffusion > ( )

Definition at line 11 of file CoefDiffusion.C.

12 {
13  InputParameters params = validParams<Kernel>();
14  params.addParam<Real>("coef", 0.0, "Diffusion coefficient");
15  params.addParam<FunctionName>("function",
16  "If provided, the diffusion coefficient will be coef + "
17  "this function. This is useful for temporally or "
18  "spatially varying diffusivities");
19  params.addClassDescription("Kernel for diffusion with diffusivity = coef + function");
20  return params;
21 }