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 : #pragma once 11 : 12 : #include "KokkosNodalBC.h" 13 : 14 : /** 15 : * Set Dirichlet boundary condition for eigenvalue problems. 16 : * Value has to be zero. 17 : */ 18 : class KokkosEigenDirichletBC : public Moose::Kokkos::NodalBC 19 : { 20 : public: 21 : static InputParameters validParams(); 22 : 23 : KokkosEigenDirichletBC(const InputParameters & parameters); 24 : 25 : template <typename Derived> 26 6552 : KOKKOS_FUNCTION Real computeQpResidual(const unsigned int /* qp */, 27 : AssemblyDatum & /* datum */) const 28 : { 29 6552 : return 0; 30 : } 31 : template <typename Derived> 32 0 : KOKKOS_FUNCTION Real computeQpJacobian(const unsigned int /* qp */, 33 : AssemblyDatum & /* datum */) const 34 : { 35 0 : return 0; 36 : } 37 : };