The Kokkos object that holds thread-private data in the parallel operations of Kokkos residual objects. More...
#include <KokkosDatum.h>
Public Member Functions | |
KOKKOS_FUNCTION | ResidualDatum (const ContiguousElementID elem, const unsigned int side, const Assembly &assembly, const Array< System > &systems, const Variable &ivar, const unsigned int jvar, const unsigned int comp=0) |
Constructor. More... | |
KOKKOS_FUNCTION | ResidualDatum (const ContiguousElementID elem, const Assembly &assembly, const Array< System > &systems, const Variable &ivar, const unsigned int jvar, const unsigned int comp=0) |
Constructor for elemental data. More... | |
KOKKOS_FUNCTION unsigned int | n_dofs () const |
Get the number of local DOFs. More... | |
KOKKOS_FUNCTION unsigned int | n_idofs () const |
Get the number of local DOFs. More... | |
KOKKOS_FUNCTION unsigned int | n_jdofs () const |
Get the number of local DOFs for the coupled variable. More... | |
KOKKOS_FUNCTION unsigned int | var () const |
Get the variable number. More... | |
KOKKOS_FUNCTION unsigned int | ivar () const |
Get the variable number. More... | |
KOKKOS_FUNCTION unsigned int | jvar () const |
Get the coupled variable number. More... | |
KOKKOS_FUNCTION unsigned int | fe () const |
Get the variable FE type ID. More... | |
KOKKOS_FUNCTION unsigned int | ife () const |
Get the variable FE type ID. More... | |
KOKKOS_FUNCTION unsigned int | jfe () const |
Get the coupled variable FE type ID. More... | |
KOKKOS_FUNCTION const Assembly & | assembly () const |
Get the Kokkos assembly. More... | |
KOKKOS_FUNCTION const System & | system (unsigned int sys) const |
Get the Kokkos system. More... | |
KOKKOS_FUNCTION const ElementInfo & | elem () const |
Get the element information object. More... | |
KOKKOS_FUNCTION ContiguousSubdomainID | subdomain () const |
Get the contiguous subdomain ID. More... | |
KOKKOS_FUNCTION unsigned int | side () const |
Get the side index. More... | |
KOKKOS_FUNCTION unsigned int | n_qps () const |
Get the number of local quadrature points. More... | |
KOKKOS_FUNCTION dof_id_type | qpOffset () const |
Get the starting offset into the global quadrature point index. More... | |
KOKKOS_FUNCTION bool | hasNeighbor () const |
Get whether the current side has a neighbor. More... | |
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 deta/dz dzeta/dz |. More... | |
KOKKOS_FUNCTION Real | JxW (const unsigned int qp) |
Get the transformed Jacobian weight. More... | |
KOKKOS_FUNCTION Real3 | q_point (const unsigned int qp) |
Get the physical quadrature point coordinate. More... | |
KOKKOS_FUNCTION void | reinit () |
Reset the reinit flag. More... | |
Protected Attributes | |
const TagID | _tag |
Solution tag ID. More... | |
const unsigned int | _ivar |
Variable numbers. More... | |
const unsigned int | _jvar |
const unsigned int | _ife |
FE type IDs of variables. More... | |
const unsigned int | _jfe |
const unsigned int | _n_idofs |
Number of local DOFs. More... | |
const unsigned int | _n_jdofs |
const Assembly & | _assembly |
Reference of the Kokkos assembly. More... | |
const Array< System > & | _systems |
Reference of the Kokkos systems. More... | |
const ElementInfo | _elem |
Current element information object. More... | |
const unsigned int | _side |
Current side index. More... | |
const ContiguousElementID | _neighbor |
Current contiguous element ID of neighbor. More... | |
const unsigned int | _n_qps |
Number of local quadrature points. More... | |
const dof_id_type | _qp_offset |
Starting offset into the global quadrature point index. More... | |
The Kokkos object that holds thread-private data in the parallel operations of Kokkos residual objects.
Definition at line 222 of file KokkosDatum.h.
|
inline |
Constructor.
elem | The contiguous element ID of the current thread |
side | The side index of the current thread |
assembly | The Kokkos assembly |
systems | The Kokkos systems |
ivar | The Kokkos variable |
jvar | The coupled variable number |
comp | The variable component |
Definition at line 236 of file KokkosDatum.h.
|
inline |
Constructor for elemental data.
elem | The contiguous element ID of the current thread |
assembly | The Kokkos assembly |
systems | The Kokkos systems |
ivar | The Kokkos variable |
jvar | The coupled variable number |
comp | The variable component |
Definition at line 263 of file KokkosDatum.h.
|
inlineinherited |
Get the Kokkos assembly.
Definition at line 68 of file KokkosDatum.h.
Referenced by Moose::Kokkos::VariablePhiValue::operator()(), Moose::Kokkos::VariablePhiGradient::operator()(), Moose::Kokkos::VariableTestValue::operator()(), and Moose::Kokkos::VariableTestGradient::operator()().
|
inlineinherited |
Get the element information object.
Definition at line 80 of file KokkosDatum.h.
Referenced by KokkosTimeDerivative< KokkosTimeDerivativeKernel >::computeJacobianInternal(), Moose::Kokkos::ResidualObject::computeJacobianInternal(), Moose::Kokkos::ResidualObject::computeResidualInternal(), Moose::Kokkos::VariablePhiValue::operator()(), Moose::Kokkos::VariablePhiGradient::operator()(), Moose::Kokkos::VariableTestValue::operator()(), Moose::Kokkos::VariableTestGradient::operator()(), Moose::Kokkos::VariableValue::operator()(), and Moose::Kokkos::VariableGradient::operator()().
|
inline |
Get the variable FE type ID.
Definition at line 307 of file KokkosDatum.h.
|
inlineinherited |
Get whether the current side has a neighbor.
Definition at line 105 of file KokkosDatum.h.
|
inline |
Get the variable FE type ID.
Definition at line 312 of file KokkosDatum.h.
Referenced by Moose::Kokkos::VariableTestValue::operator()(), and Moose::Kokkos::VariableTestGradient::operator()().
|
inline |
Get the variable number.
Definition at line 297 of file KokkosDatum.h.
Get the inverse of Jacobian matrix | dxi/dx deta/dx dzeta/dx | | dxi/dy deta/dy dzeta/dy | | dxi/dz deta/dz dzeta/dz |.
qp | The local quadrature point index |
Definition at line 115 of file KokkosDatum.h.
Referenced by Moose::Kokkos::VariablePhiGradient::operator()(), Moose::Kokkos::VariableTestGradient::operator()(), and Moose::Kokkos::VariableGradient::operator()().
|
inline |
Get the coupled variable FE type ID.
Definition at line 317 of file KokkosDatum.h.
Referenced by Moose::Kokkos::VariablePhiValue::operator()(), and Moose::Kokkos::VariablePhiGradient::operator()().
|
inline |
Get the coupled variable number.
Definition at line 302 of file KokkosDatum.h.
Referenced by KokkosTimeDerivative< KokkosTimeDerivativeKernel >::computeJacobianInternal(), Moose::Kokkos::ResidualObject::computeJacobianInternal(), Moose::Kokkos::Kernel< KokkosDiffusionKernel >::computeOffDiagJacobianInternal(), and Moose::Kokkos::IntegratedBC< KokkosNeumannBC >::computeOffDiagJacobianInternal().
Get the transformed Jacobian weight.
qp | The local quadrature point index |
Definition at line 126 of file KokkosDatum.h.
Referenced by KokkosTimeDerivative< KokkosTimeDerivativeKernel >::computeJacobianInternal(), Moose::Kokkos::KernelValue< Derived >::computeJacobianInternal(), Moose::Kokkos::KernelGrad< Derived >::computeJacobianInternal(), Moose::Kokkos::Kernel< KokkosDiffusionKernel >::computeJacobianInternal(), Moose::Kokkos::IntegratedBC< KokkosNeumannBC >::computeJacobianInternal(), Moose::Kokkos::IntegratedBC< KokkosNeumannBC >::computeOffDiagJacobianInternal(), Moose::Kokkos::Kernel< KokkosDiffusionKernel >::computeOffDiagJacobianInternal(), Moose::Kokkos::TimeKernel< KokkosTimeDerivativeKernel >::computeResidualInternal(), Moose::Kokkos::KernelValue< Derived >::computeResidualInternal(), Moose::Kokkos::KernelGrad< Derived >::computeResidualInternal(), Moose::Kokkos::IntegratedBC< KokkosNeumannBC >::computeResidualInternal(), and Moose::Kokkos::Kernel< KokkosDiffusionKernel >::computeResidualInternal().
|
inline |
Get the number of local DOFs.
Definition at line 277 of file KokkosDatum.h.
Referenced by Moose::Kokkos::ResidualObject::computeResidualInternal().
|
inline |
Get the number of local DOFs.
Definition at line 282 of file KokkosDatum.h.
Referenced by KokkosTimeDerivative< KokkosTimeDerivativeKernel >::computeJacobianInternal(), and Moose::Kokkos::ResidualObject::computeJacobianInternal().
|
inline |
Get the number of local DOFs for the coupled variable.
Definition at line 287 of file KokkosDatum.h.
Referenced by KokkosTimeDerivative< KokkosTimeDerivativeKernel >::computeJacobianInternal(), Moose::Kokkos::KernelValue< Derived >::computeJacobianInternal(), Moose::Kokkos::KernelGrad< Derived >::computeJacobianInternal(), Moose::Kokkos::Kernel< KokkosDiffusionKernel >::computeJacobianInternal(), Moose::Kokkos::IntegratedBC< KokkosNeumannBC >::computeJacobianInternal(), Moose::Kokkos::ResidualObject::computeJacobianInternal(), Moose::Kokkos::Kernel< KokkosDiffusionKernel >::computeOffDiagJacobianInternal(), and Moose::Kokkos::IntegratedBC< KokkosNeumannBC >::computeOffDiagJacobianInternal().
|
inlineinherited |
Get the number of local quadrature points.
Definition at line 95 of file KokkosDatum.h.
Referenced by KokkosTimeDerivative< KokkosTimeDerivativeKernel >::computeJacobianInternal(), Moose::Kokkos::KernelValue< Derived >::computeJacobianInternal(), Moose::Kokkos::KernelGrad< Derived >::computeJacobianInternal(), Moose::Kokkos::Kernel< KokkosDiffusionKernel >::computeJacobianInternal(), Moose::Kokkos::IntegratedBC< KokkosNeumannBC >::computeJacobianInternal(), Moose::Kokkos::IntegratedBC< KokkosNeumannBC >::computeOffDiagJacobianInternal(), Moose::Kokkos::Kernel< KokkosDiffusionKernel >::computeOffDiagJacobianInternal(), Moose::Kokkos::TimeKernel< KokkosTimeDerivativeKernel >::computeResidualInternal(), Moose::Kokkos::KernelValue< Derived >::computeResidualInternal(), Moose::Kokkos::KernelGrad< Derived >::computeResidualInternal(), Moose::Kokkos::Kernel< KokkosDiffusionKernel >::computeResidualInternal(), Moose::Kokkos::IntegratedBC< KokkosNeumannBC >::computeResidualInternal(), and Moose::Kokkos::Material< KokkosGenericConstantMaterial >::operator()().
Get the physical quadrature point coordinate.
qp | The local quadrature point index |
Definition at line 137 of file KokkosDatum.h.
|
inlineinherited |
Get the starting offset into the global quadrature point index.
Definition at line 100 of file KokkosDatum.h.
Referenced by Moose::Kokkos::VariableValue::operator()(), and Moose::Kokkos::VariableGradient::operator()().
|
inlineinherited |
Reset the reinit flag.
Definition at line 147 of file KokkosDatum.h.
Referenced by KokkosTimeDerivative< KokkosTimeDerivativeKernel >::computeJacobianInternal(), Moose::Kokkos::KernelValue< Derived >::computeJacobianInternal(), Moose::Kokkos::KernelGrad< Derived >::computeJacobianInternal(), Moose::Kokkos::Kernel< KokkosDiffusionKernel >::computeJacobianInternal(), Moose::Kokkos::IntegratedBC< KokkosNeumannBC >::computeJacobianInternal(), Moose::Kokkos::IntegratedBC< KokkosNeumannBC >::computeOffDiagJacobianInternal(), Moose::Kokkos::Kernel< KokkosDiffusionKernel >::computeOffDiagJacobianInternal(), Moose::Kokkos::TimeKernel< KokkosTimeDerivativeKernel >::computeResidualInternal(), Moose::Kokkos::KernelValue< Derived >::computeResidualInternal(), Moose::Kokkos::KernelGrad< Derived >::computeResidualInternal(), Moose::Kokkos::Kernel< KokkosDiffusionKernel >::computeResidualInternal(), Moose::Kokkos::IntegratedBC< KokkosNeumannBC >::computeResidualInternal(), and Moose::Kokkos::Material< KokkosGenericConstantMaterial >::operator()().
|
inlineinherited |
Get the side index.
Definition at line 90 of file KokkosDatum.h.
Referenced by Moose::Kokkos::VariablePhiValue::operator()(), Moose::Kokkos::VariablePhiGradient::operator()(), Moose::Kokkos::VariableTestValue::operator()(), Moose::Kokkos::VariableTestGradient::operator()(), Moose::Kokkos::VariableValue::operator()(), and Moose::Kokkos::VariableGradient::operator()().
|
inlineinherited |
Get the contiguous subdomain ID.
Definition at line 85 of file KokkosDatum.h.
|
inlineinherited |
Get the Kokkos system.
sys | The system number |
Definition at line 74 of file KokkosDatum.h.
Referenced by Moose::Kokkos::VariableValue::operator()(), and Moose::Kokkos::VariableGradient::operator()().
|
inline |
Get the variable number.
Definition at line 292 of file KokkosDatum.h.
|
protectedinherited |
Reference of the Kokkos assembly.
Definition at line 153 of file KokkosDatum.h.
Referenced by Moose::Kokkos::Datum::assembly(), and Moose::Kokkos::Datum::reinitTransform().
|
protectedinherited |
Current element information object.
Definition at line 161 of file KokkosDatum.h.
Referenced by Moose::Kokkos::Datum::elem(), Moose::Kokkos::Datum::reinitTransform(), and Moose::Kokkos::Datum::subdomain().
|
protected |
FE type IDs of variables.
Definition at line 331 of file KokkosDatum.h.
|
protected |
|
protected |
Definition at line 331 of file KokkosDatum.h.
Referenced by jfe().
|
protected |
Definition at line 327 of file KokkosDatum.h.
Referenced by jvar().
|
protected |
Number of local DOFs.
Definition at line 335 of file KokkosDatum.h.
|
protected |
Definition at line 335 of file KokkosDatum.h.
Referenced by n_jdofs().
|
protectedinherited |
Number of local quadrature points.
Definition at line 173 of file KokkosDatum.h.
Referenced by Moose::Kokkos::Datum::n_qps().
|
protectedinherited |
Current contiguous element ID of neighbor.
Definition at line 169 of file KokkosDatum.h.
Referenced by Moose::Kokkos::Datum::hasNeighbor().
|
protectedinherited |
Starting offset into the global quadrature point index.
Definition at line 177 of file KokkosDatum.h.
Referenced by Moose::Kokkos::Datum::qpOffset().
|
protectedinherited |
Current side index.
Definition at line 165 of file KokkosDatum.h.
Referenced by Moose::Kokkos::Datum::reinitTransform(), and Moose::Kokkos::Datum::side().
Reference of the Kokkos systems.
Definition at line 157 of file KokkosDatum.h.
Referenced by Moose::Kokkos::Datum::system().
|
protected |
Solution tag ID.
Definition at line 323 of file KokkosDatum.h.