29 template <
typename Derived>
31 template <
typename Derived>
33 template <
typename Derived>
35 const FVDatum & datum,
const int bc_index,
const MOOSE_KOKKOS_INDEX_TYPE bc_face_index)
const;
36 template <
typename Derived>
38 const FVDatum & datum,
const int bc_index,
const MOOSE_KOKKOS_INDEX_TYPE bc_face_index)
const;
58template <
typename Derived>
65template <
typename Derived>
72template <
typename Derived>
75 const FVDatum & datum,
const int bc_index,
const MOOSE_KOKKOS_INDEX_TYPE bc_face_index)
const
81template <
typename Derived>
84 const FVDatum & datum,
const int bc_index,
const MOOSE_KOKKOS_INDEX_TYPE bc_face_index)
const
90KOKKOS_FUNCTION
inline Real
96KOKKOS_FUNCTION
inline Real
Kokkos linear finite volume flux kernel implementing the diffusion term.
virtual bool hasInternalRightHandSideContribution() const override
Whether this kernel has nonzero internal-face RHS contributions.
KOKKOS_FUNCTION Real faceDiffusionCoefficient(const FVDatum &datum) const
Method for evaluating the face diffusion coefficient.
virtual bool needsBoundaryNormalGradientData() const override
Whether this kernel needs boundary normal gradient data from its boundary conditions.
KOKKOS_FUNCTION Real computeBoundaryMatrixContribution(const FVDatum &datum, const int bc_index, const MOOSE_KOKKOS_INDEX_TYPE bc_face_index) const
static InputParameters validParams()
KOKKOS_FUNCTION Real computeBoundaryRightHandSideContribution(const FVDatum &datum, const int bc_index, const MOOSE_KOKKOS_INDEX_TYPE bc_face_index) const
KokkosLinearFVDiffusion(const InputParameters ¶meters)
Moose::Kokkos::ReferenceWrapper< const KokkosParsedFunction > _diffusion_coeff
Diffusion coefficient.
KOKKOS_FUNCTION Real faceConductance(const FVDatum &datum) const
Method for evaluating the face diffusion coefficient times the face area divided by the distance betw...
KOKKOS_FUNCTION Real computeInternalNeighborMatrixContribution(const FVDatum &datum) const
KOKKOS_FUNCTION Real computeInternalMatrixContribution(const FVDatum &datum) const
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 Real3 faceCentroid() const
Get the centroid of the current element side.
KOKKOS_FUNCTION Real faceArea() const
Get the coordinate-weighted area of the current element side.
KOKKOS_FUNCTION Real faceDCNMag() const
Get the distance from the current element centroid to its neighbor centroid.
Base class for Kokkos linear finite volume kernels that contribute on faces (flux terms).
KOKKOS_FUNCTION Real boundaryNormalGradientCoefficient(const int bc_index, const MOOSE_KOKKOS_INDEX_TYPE bc_face_index) const
Boundary normal gradient coefficient for this boundary face.
KOKKOS_FUNCTION Real boundaryNormalGradientSource(const int bc_index, const MOOSE_KOKKOS_INDEX_TYPE bc_face_index) const
Boundary normal gradient source for this boundary face.
Scalar< Real > _t
TODO: Move to TransientInterface.
The Kokkos object that can hold the reference of a variable.