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 "KokkosLinearFVFunctorNeumannBC.h" 11 : 12 369936 : registerKokkosLinearFVBoundaryCondition("MooseApp", KokkosLinearFVFunctorNeumannBC); 13 : 14 : InputParameters 15 2342 : KokkosLinearFVFunctorNeumannBC::validParams() 16 : { 17 2342 : InputParameters params = Moose::Kokkos::LinearFVBoundaryCondition::validParams(); 18 9368 : params.addRequiredParam<FunctionName>( 19 : "functor", "The prescribed outward normal gradient functor on the boundary."); 20 2342 : params.addClassDescription("Kokkos LinearFV Neumann boundary condition."); 21 2342 : return params; 22 0 : } 23 : 24 162 : KokkosLinearFVFunctorNeumannBC::KokkosLinearFVFunctorNeumannBC(const InputParameters & parameters) 25 : : Moose::Kokkos::LinearFVBoundaryCondition(parameters), 26 108 : _normal_gradient_functor(getKokkosFunction<KokkosParsedFunction>("functor")) 27 : { 28 108 : }