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 "KokkosPostprocessorNeumannBC.h" 11 : 12 : registerMooseObject("MooseApp", KokkosPostprocessorNeumannBC); 13 : 14 : InputParameters 15 9134 : KokkosPostprocessorNeumannBC::validParams() 16 : { 17 9134 : InputParameters params = IntegratedBC::validParams(); 18 18268 : params.addClassDescription( 19 : "Neumann boundary condition with value prescribed by a Postprocessor value."); 20 18274 : params.addParam<PostprocessorName>( 21 18256 : "postprocessor", 0.0, "The postprocessor to use for value of the gradient on the boundary."); 22 9134 : return params; 23 0 : } 24 : 25 15 : KokkosPostprocessorNeumannBC::KokkosPostprocessorNeumannBC(const InputParameters & parameters) 26 18 : : IntegratedBC(parameters), _value(getPostprocessorValue("postprocessor")) 27 : { 28 12 : }