26 template <
typename Derived>
36template <
typename Derived>
37KOKKOS_FUNCTION
inline Real
Kokkos linear finite volume elemental kernel that adds a scaled volumetric source to the right-hand s...
KOKKOS_FUNCTION Real computeRightHandSideContribution(const FVDatum &datum) const
const Moose::Kokkos::ReferenceWrapper< const KokkosParsedFunction > _source_density
The source density.
const Moose::Kokkos::ReferenceWrapper< const KokkosParsedFunction > _scale
Coefficient for multiplying the surface density.
static InputParameters validParams()
KokkosLinearFVSource(const InputParameters ¶meters)
KOKKOS_FUNCTION Real value(Real t, Real3 p) const
const InputParameters & parameters() const
Get the parameters of the object.
Device-side geometric context for finite volume kernels and boundary conditions.
KOKKOS_FUNCTION Real elementVolume() const
Get the coordinate-weighted current element volume.
KOKKOS_FUNCTION Real3 elementCentroid() const
Get the current element centroid.
Base class for Kokkos linear finite volume kernels that contribute on elements (volumetric terms)
Scalar< Real > _t
TODO: Move to TransientInterface.
The Kokkos object that can hold the reference of a variable.