#include <KokkosVariableValue.h>
Definition at line 229 of file KokkosVariableValue.h.
◆ VariableGradient() [1/2]
Moose::Kokkos::VariableGradient::VariableGradient |
( |
Variable |
var | ) |
|
|
inline |
◆ VariableGradient() [2/2]
Constructor.
- Parameters
-
var | The MOOSE variable |
tag | The vector tag name |
Definition at line 242 of file KokkosVariableValue.h.
Variable _var
Coupled Kokkos variable.
◆ operator bool()
KOKKOS_FUNCTION Moose::Kokkos::VariableGradient::operator bool |
( |
| ) |
const |
|
inline |
Get whether the variable was coupled.
- Returns
- Whether the variable was coupled
Definition at line 251 of file KokkosVariableValue.h.
KOKKOS_FUNCTION bool coupled() const
Get whether the variable is coupled.
Variable _var
Coupled Kokkos variable.
◆ operator()()
KOKKOS_FUNCTION Real3 Moose::Kokkos::VariableGradient::operator() |
( |
Datum & |
datum, |
|
|
unsigned int |
qp, |
|
|
unsigned int |
comp = 0 |
|
) |
| const |
|
inline |
Get the current variable gradient.
- Parameters
-
datum | The Datum object of the current thread |
qp | The local quadrature-point index |
comp | The variable component |
- Returns
- The variable gradient
Definition at line 260 of file KokkosVariableValue.h.
264 auto & elem = datum.
elem();
265 auto side = datum.
side();
270 .getVectorQpGrad(elem, qp_offset + qp,
_var.
var(comp),
_var.
tag())
272 .getVectorQpGradFace(
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.
const unsigned int invalid_uint
KOKKOS_FUNCTION bool coupled() const
Get whether the variable is coupled.
KOKKOS_FUNCTION const Real33 & J(const unsigned int qp)
Get the inverse of Jacobian matrix | dxi/dx deta/dx dzeta/dx | | dxi/dy deta/dy dzeta/dy | | dxi/dz d...
KOKKOS_FUNCTION unsigned int side() const
Get the side index.
KOKKOS_FUNCTION const ElementInfo & elem() const
Get the element information object.
Variable _var
Coupled Kokkos variable.
KOKKOS_FUNCTION unsigned int var(unsigned int comp=0) const
Get the variable number of a component.
KOKKOS_FUNCTION const System & system(unsigned int sys) const
Get the Kokkos system.
KOKKOS_FUNCTION dof_id_type qpOffset() const
Get the starting offset into the global quadrature point index.
◆ _var
Variable Moose::Kokkos::VariableGradient::_var |
|
private |
The documentation for this class was generated from the following file: