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 "KokkosVacuumBC.h" 11 : 12 443905 : registerKokkosResidualObject("MooseApp", KokkosVacuumBC); 13 : 14 : InputParameters 15 2132 : KokkosVacuumBC::validParams() 16 : { 17 2132 : InputParameters params = IntegratedBCValue::validParams(); 18 4264 : params.addClassDescription("Vacuum boundary condition for diffusion."); 19 6396 : params.addParam<Real>("alpha", 1, "Diffusion coefficient."); 20 2132 : return params; 21 0 : } 22 : 23 25 : KokkosVacuumBC::KokkosVacuumBC(const InputParameters & parameters) 24 18 : : IntegratedBCValue(parameters), _alpha(getParam<Real>("alpha")) 25 : { 26 17 : }