Line data Source code
1 : //* This file is part of the MOOSE framework 2 : //* https://mooseframework.inl.gov 3 : //* 4 : //* All rights reserved, see COPYRIGHT for full restrictions 5 : //* https://github.com/idaholab/moose/blob/master/COPYRIGHT 6 : //* 7 : //* Licensed under LGPL 2.1, please see LICENSE for details 8 : //* https://www.gnu.org/licenses/lgpl-2.1.html 9 : 10 : #include "InterfaceDiffusionBase.h" 11 : 12 : InputParameters 13 69 : InterfaceDiffusionBase::validParams() 14 : { 15 69 : InputParameters params = InterfaceKernel::validParams(); 16 138 : params.addParam<Real>("D", 1.0, "Diffusion coefficient"); 17 138 : params.addParam<Real>("D_neighbor", 1.0, "Neighbor variable diffusion coefficient"); 18 69 : return params; 19 0 : } 20 : 21 36 : InterfaceDiffusionBase::InterfaceDiffusionBase(const InputParameters & parameters) 22 108 : : InterfaceKernel(parameters), _D(getParam<Real>("D")), _D_neighbor(getParam<Real>("D_neighbor")) 23 : { 24 36 : }