36 template <
typename Derived>
40 ::Kokkos::abort(
"Default computeMatrixContribution() should never be called. Make sure you " 41 "properly redefined this method in your class without typos.");
46 template <
typename Derived>
49 ::Kokkos::abort(
"Default computeNeighborMatrixContribution() should never be called. Make sure " 50 "you properly redefined this method in your class without typos.");
61 template <
typename Derived>
65 return &LinearFVKernel::computeMatrixContribution<Derived>;
68 template <
typename Derived>
71 return &LinearFVKernel::computeNeighborMatrixContribution<Derived>;
LinearFVKernel(const InputParameters ¶meters)
const InputParameters & parameters() const
Get the parameters of the object.
static auto defaultNeighborMatrixContribution()
Base class for Kokkos objects that contribute to a linear system, i.e.
KOKKOS_FUNCTION Real computeMatrixContribution(const FVDatum &) const
Default methods to prevent compile errors when matrix contributions are not defined in the derived cl...
Base class for Kokkos linear finite volume kernels that contribute to the linear system.
static auto defaultMatrixContribution()
Functions used to check if users have overriden the hook methods, whose calculations can be skipped w...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
KOKKOS_FUNCTION Real computeNeighborMatrixContribution(const FVDatum &) const
An interface that restricts an object to subdomains via the 'blocks' input parameter.
Device-side geometric context for finite volume kernels and boundary conditions.
static InputParameters validParams()