37 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.");
62 template <
typename Derived>
65 return &LinearFVKernel::computeMatrixContribution<Derived>;
68 template <
typename Derived>
71 return &LinearFVKernel::computeNeighborMatrixContribution<Derived>;
An interface that restricts an object to subdomains via the 'blocks' input parameter.
const InputParameters & parameters() const
Get the parameters of the object.
Device-side geometric context for finite volume kernels and boundary conditions.
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...
LinearFVKernel(const InputParameters ¶meters)
static auto defaultNeighborMatrixContribution()
static InputParameters validParams()
KOKKOS_FUNCTION Real computeMatrixContribution(const FVDatum &) const
Default methods to prevent compile errors when matrix contributions are not defined in the derived cl...
KOKKOS_FUNCTION Real computeNeighborMatrixContribution(const FVDatum &) const
LinearFVKernel(const LinearFVKernel &object)
Base class for Kokkos objects that contribute to a linear system, i.e.