GEOSX
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
geos::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 geos::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

GEOS_HOST_DEVICE StackVariables ()
 

Public Attributes

localIndex numRows
 The actual number of rows in the element local jacobian matrix (<= maxNumRows).
 
localIndex numCols
 The actual number of columns in the element local jacobian matrix (<= maxNumCols).
 
globalIndex localRowDofIndex [maxNumRows]
 C-array storage for the element local row degrees of freedom.
 
globalIndex localColDofIndex [maxNumCols]
 C-array storage for the element local column degrees of freedom.
 
real64 localResidual [maxNumRows]
 C-array storage for the element local residual vector.
 
real64 localJacobian [maxNumRows][maxNumCols]
 C-array storage for the element local Jacobian matrix.
 
FE_TYPE::StackVariables feStack
 Stack variables needed for the underlying FEM type.
 

Static Public Attributes

static constexpr int maxNumRows = maxNumTestSupportPointsPerElem *numDofPerTestSupportPoint
 The number of rows in the pre-allocated element local jacobian matrix (upper bound for numRows).
 
static constexpr int maxNumCols = maxNumTrialSupportPointsPerElem *numDofPerTrialSupportPoint
 The number of columns in the pre-allocated element local jacobian matrix (upper bound for numCols).
 

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 geos::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 119 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>
GEOS_HOST_DEVICE geos::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 131 of file ImplicitKernelBase.hpp.


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