https://mooseframework.inl.gov
KokkosDirichletBC.h
Go to the documentation of this file.
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 #pragma once
11 
12 #include "KokkosDirichletBCBase.h"
13 
14 template <bool is_ad>
16 {
17 public:
19 
20  KokkosDirichletBCTempl(const InputParameters & parameters);
21 
22  KOKKOS_FUNCTION Real computeValue(const unsigned int /* qp */, AssemblyDatum & /* datum */) const
23  {
24  return _value;
25  }
26 
27 protected:
29 };
30 
The base Kokkos boundary condition of a Dirichlet type.
KOKKOS_FUNCTION Real computeValue(const unsigned int, AssemblyDatum &) const
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
const Moose::Kokkos::Scalar< const Real > _value
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
The Kokkos object that holds thread-private data in the parallel operations of Kokkos kernels...
Definition: KokkosDatum.h:364
KokkosDirichletBCTempl(const InputParameters &parameters)
KokkosDirichletBCTempl< false > KokkosDirichletBC
KokkosDirichletBCTempl< true > KokkosADDirichletBC