www.mooseframework.org
InterfaceDiffusionBase.C
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
8 
9 template <>
10 InputParameters
12 {
13  InputParameters params = validParams<InterfaceKernel>();
14  params.addParam<Real>("D", 1.0, "Diffusion coefficient");
15  params.addParam<Real>("D_neighbor", 1.0, "Neighbor variable diffusion coefficient");
16  return params;
17 }
18 
19 InterfaceDiffusionBase::InterfaceDiffusionBase(const InputParameters & parameters)
20  : InterfaceKernel(parameters), _D(getParam<Real>("D")), _D_neighbor(getParam<Real>("D_neighbor"))
21 {
22 }
InterfaceDiffusionBase(const InputParameters &parameters)
InputParameters validParams< InterfaceDiffusionBase >()