25 template <
typename Derived>
28 template <
typename Derived>
42template <
typename Derived>
50 auto elem = datum.
elem().
id;
52 for (
unsigned int i = 0; i < datum.
n_dofs(); ++i)
53 sys.getVectorDofValue(sys.getElemLocalDofIndex(elem, i, var), tag) =
_v(datum, i);
56template <
typename Derived>
64 auto node = datum.
node();
66 sys.getVectorDofValue(sys.getNodeLocalDofIndex(node, 0, var), tag) =
_v(datum, 0);
Copies variables onto auxiliary variables, each source onto the auxiliary variable of the same compon...
const Moose::Kokkos::VariableValue _v
The variable values to copy from.
virtual void setupMassFactors(const bool) override
Compute the Cholesky factors of the element mass matrices and allocate the right-hand side and soluti...
KOKKOS_FUNCTION void computeNodeInternal(const Derived &auxkernel, AssemblyDatum &datum) const
static InputParameters validParams()
KokkosCopyValueAux(const InputParameters ¶meters)
KOKKOS_FUNCTION void computeElementInternal(const Derived &auxkernel, AssemblyDatum &datum) const
unsigned short _state
Variable used to specify state being copied.
const InputParameters & parameters() const
Get the parameters of the object.
The Kokkos object that holds thread-private data in the parallel operations of Kokkos kernels.
KOKKOS_FUNCTION unsigned int n_dofs() const
Get the number of local DOFs.
KOKKOS_FUNCTION unsigned int comp() const
Get the variable component.
The base class for a user to derive their own Kokkos auxiliary kernels.
Variable _kokkos_var
Kokkos variable.
KOKKOS_FUNCTION ContiguousNodeID node() const
Get the contiguous node ID.
KOKKOS_FUNCTION const ElementInfo & elem() const
Get the element information object.
The Kokkos wrapper classes for MOOSE-like variable value access.
KOKKOS_FUNCTION unsigned int var(unsigned int comp=0) const
Get the variable number of a component.
KOKKOS_FUNCTION TagID tag() const
Get the vector tag ID.
KOKKOS_FUNCTION unsigned int sys(unsigned int comp=0) const
Get the system number of a component.
ContiguousElementID id
Contiguous element ID.