#include <KokkosVariableValue.h>
Public Member Functions | |
VariableNodalValue (Array< System > &systems, Variable var) | |
Constructor. More... | |
VariableNodalValue (Array< System > &systems, const MooseVariableBase &var, const TagName &tag=Moose::SOLUTION_TAG) | |
Constructor. More... | |
KOKKOS_FUNCTION | operator bool () const |
Get whether the variable was coupled. More... | |
KOKKOS_FUNCTION Real | operator() (ContiguousNodeID node, unsigned int comp=0) const |
Get the current variable nodal value. More... | |
KOKKOS_FUNCTION const Array< System > & | kokkosSystems () const |
Get the const reference of the Kokkos systems. More... | |
Array< System > & | kokkosSystems () |
Get the writeable host reference of the Kokkos systems. More... | |
KOKKOS_FUNCTION const System & | kokkosSystem (unsigned int sys) const |
Get the const reference of a Kokkos system. More... | |
System & | kokkosSystem (unsigned int sys) |
Get the writeable reference of a Kokkos system. More... | |
Private Attributes | |
Variable | _var |
Coupled Kokkos variable. More... | |
Definition at line 176 of file KokkosVariableValue.h.
|
inline |
Constructor.
Definition at line 184 of file KokkosVariableValue.h.
|
inline |
Constructor.
systems | The Kokkos systems |
var | The MOOSE variable |
tag | The vector tag name |
Definition at line 191 of file KokkosVariableValue.h.
|
inlineinherited |
Get the const reference of a Kokkos system.
sys | The system number |
Definition at line 615 of file KokkosSystem.h.
Referenced by Moose::Kokkos::ResidualObject::accumulateTaggedElementalMatrix(), Moose::Kokkos::ResidualObject::accumulateTaggedElementalResidual(), Moose::Kokkos::ResidualObject::accumulateTaggedNodalMatrix(), Moose::Kokkos::ResidualObject::accumulateTaggedNodalResidual(), and operator()().
Get the writeable reference of a Kokkos system.
sys | The system number |
Definition at line 626 of file KokkosSystem.h.
|
inlineinherited |
Get the const reference of the Kokkos systems.
Definition at line 598 of file KokkosSystem.h.
Get the writeable host reference of the Kokkos systems.
Definition at line 608 of file KokkosSystem.h.
|
inline |
Get whether the variable was coupled.
Definition at line 202 of file KokkosVariableValue.h.
|
inline |
Get the current variable nodal value.
node | The current contiguous node ID |
comp | The variable component |
Definition at line 210 of file KokkosVariableValue.h.
|
private |
Coupled Kokkos variable.
Definition at line 226 of file KokkosVariableValue.h.
Referenced by operator bool(), and operator()().