Line data Source code
1 : //* This file is part of the MOOSE framework 2 : //* https://www.mooseframework.org 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 "KokkosLinearFVFunctorDirichletBC.h" 11 : 12 369936 : registerKokkosLinearFVBoundaryCondition("MooseApp", KokkosLinearFVFunctorDirichletBC); 13 : 14 : InputParameters 15 2588 : KokkosLinearFVFunctorDirichletBC::validParams() 16 : { 17 2588 : InputParameters params = Moose::Kokkos::LinearFVBoundaryCondition::validParams(); 18 10352 : params.addRequiredParam<FunctionName>("functor", "The boundary-value functor."); 19 2588 : params.addClassDescription("Kokkos LinearFV Dirichlet boundary condition."); 20 2588 : return params; 21 0 : } 22 : 23 231 : KokkosLinearFVFunctorDirichletBC::KokkosLinearFVFunctorDirichletBC( 24 344 : const InputParameters & parameters) 25 : : Moose::Kokkos::LinearFVBoundaryCondition(parameters), 26 236 : _functor(getKokkosFunction<KokkosParsedFunction>("functor")) 27 : { 28 231 : }