GEOSX
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
geosx::finiteElement::ImplicitKernelBase< SUBREGION_TYPE, CONSTITUTIVE_TYPE, FE_TYPE, NUM_DOF_PER_TEST_SP, NUM_DOF_PER_TRIAL_SP >::StackVariables Struct Reference

Kernel variables allocated on the stack. More...

#include <ImplicitKernelBase.hpp>

Inheritance diagram for geosx::finiteElement::ImplicitKernelBase< SUBREGION_TYPE, CONSTITUTIVE_TYPE, FE_TYPE, NUM_DOF_PER_TEST_SP, NUM_DOF_PER_TRIAL_SP >::StackVariables:
Inheritance graph
[legend]

Public Member Functions

GEOSX_HOST_DEVICE StackVariables ()
 

Public Attributes

globalIndex localRowDofIndex [numRows]
 C-array storage for the element local row degrees of freedom.
 
globalIndex localColDofIndex [numCols]
 C-array storage for the element local column degrees of freedom.
 
real64 localResidual [numRows]
 C-array storage for the element local residual vector.
 
real64 localJacobian [numRows][numCols]
 C-array storage for the element local Jacobian matrix.
 

Static Public Attributes

static constexpr int numRows = numTestSupportPointsPerElem *numDofPerTestSupportPoint
 The number of rows in the element local jacobian matrix.
 
static constexpr int numCols = numTrialSupportPointsPerElem *numDofPerTrialSupportPoint
 The number of columns in the element local jacobian matrix.
 

Detailed Description

template<typename SUBREGION_TYPE, typename CONSTITUTIVE_TYPE, typename FE_TYPE, int NUM_DOF_PER_TEST_SP, int NUM_DOF_PER_TRIAL_SP>
struct geosx::finiteElement::ImplicitKernelBase< SUBREGION_TYPE, CONSTITUTIVE_TYPE, FE_TYPE, NUM_DOF_PER_TEST_SP, NUM_DOF_PER_TRIAL_SP >::StackVariables

Kernel variables allocated on the stack.

ImplicitKernelBase::StackVariables Description

Contains variables that will be allocated on the stack of the main kernel. This will typically consist of local arrays to hold data mapped from the global data arrays, and/or local storage for the residual and jacobian contributions.

Definition at line 113 of file ImplicitKernelBase.hpp.

Constructor & Destructor Documentation

◆ StackVariables()

template<typename SUBREGION_TYPE, typename CONSTITUTIVE_TYPE, typename FE_TYPE, int NUM_DOF_PER_TEST_SP, int NUM_DOF_PER_TRIAL_SP>
GEOSX_HOST_DEVICE geosx::finiteElement::ImplicitKernelBase< SUBREGION_TYPE, CONSTITUTIVE_TYPE, FE_TYPE, NUM_DOF_PER_TEST_SP, NUM_DOF_PER_TRIAL_SP >::StackVariables::StackVariables ( )
inline

Default constructor

Definition at line 125 of file ImplicitKernelBase.hpp.


The documentation for this struct was generated from the following file: