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 "KokkosIntegratedBCBase.h" 11 : 12 : namespace Moose::Kokkos 13 : { 14 : 15 : InputParameters 16 22106 : IntegratedBCBase::validParams() 17 : { 18 22106 : auto params = BoundaryCondition::validParams(); 19 22106 : params += MaterialPropertyInterface::validParams(); 20 22106 : params += LocalParallelInterface::validParams(); 21 : 22 : // Integrated BCs always rely on Boundary MaterialData 23 22106 : params.set<Moose::MaterialDataType>("_material_data_type") = Moose::BOUNDARY_MATERIAL_DATA; 24 : 25 22106 : return params; 26 0 : } 27 : 28 567 : IntegratedBCBase::IntegratedBCBase(const InputParameters & parameters, 29 567 : Moose::VarFieldType field_type) 30 : : BoundaryCondition(parameters, field_type, false), 31 : CoupleableMooseVariableDependencyIntermediateInterface(this, false), 32 : MaterialPropertyInterface(this, Moose::EMPTY_BLOCK_IDS, boundaryIDs()), 33 333 : LocalParallelInterface(this) 34 : { 35 567 : } 36 : 37 28362 : IntegratedBCBase::IntegratedBCBase(const IntegratedBCBase & object) 38 : : BoundaryCondition(object), 39 : CoupleableMooseVariableDependencyIntermediateInterface(object, {}), 40 : MaterialPropertyInterface(object, {}), 41 18595 : LocalParallelInterface(object) 42 : { 43 28362 : } 44 : 45 : } // namespace Moose::Kokkos