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