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 "KokkosNodalKernelBase.h" 11 : 12 : namespace Moose::Kokkos 13 : { 14 : 15 : InputParameters 16 15496 : NodalKernelBase::validParams() 17 : { 18 15496 : InputParameters params = ResidualObject::validParams(); 19 15496 : params += BlockRestrictable::validParams(); 20 15496 : params += BoundaryRestrictable::validParams(); 21 : 22 15496 : params.registerBase("NodalKernel"); 23 : 24 15496 : return params; 25 0 : } 26 : 27 407 : NodalKernelBase::NodalKernelBase(const InputParameters & parameters, Moose::VarFieldType field_type) 28 : : ResidualObject(parameters, field_type), 29 : BlockRestrictable(this), 30 : BoundaryRestrictable(this, true), // true for applying to nodesets 31 215 : CoupleableMooseVariableDependencyIntermediateInterface(this, true) 32 : { 33 407 : } 34 : 35 42582 : NodalKernelBase::NodalKernelBase(const NodalKernelBase & object) 36 : : ResidualObject(object), 37 : BlockRestrictable(object, {}), 38 : BoundaryRestrictable(object, {}), 39 22532 : CoupleableMooseVariableDependencyIntermediateInterface(object, {}) 40 : { 41 42582 : } 42 : 43 : } // namespace Moose::Kokkos