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 "KokkosBoundaryCondition.h" 11 : 12 : namespace Moose 13 : { 14 : namespace Kokkos 15 : { 16 : 17 : InputParameters 18 84800 : BoundaryCondition::validParams() 19 : { 20 84800 : InputParameters params = ResidualObject::validParams(); 21 84800 : params += BoundaryRestrictableRequired::validParams(); 22 : 23 84800 : params.registerBase("KokkosBoundaryCondition"); 24 : 25 84800 : return params; 26 0 : } 27 : 28 1402 : BoundaryCondition::BoundaryCondition(const InputParameters & parameters, 29 : Moose::VarFieldType field_type, 30 1402 : bool nodal) 31 1069 : : ResidualObject(parameters, field_type, nodal), BoundaryRestrictableRequired(this, nodal) 32 : { 33 1402 : } 34 : 35 67707 : BoundaryCondition::BoundaryCondition(const BoundaryCondition & object) 36 55076 : : ResidualObject(object), BoundaryRestrictableRequired(object, {}) 37 : { 38 67707 : } 39 : 40 : } // namespace Kokkos 41 : } // namespace Moose