|
GEOS
|
#include <StressStrainAverageKernels.hpp>

Classes | |
| struct | StackVariables |
| Kernel variables allocated on the stack. More... | |
Public Types | |
| using | Base = AverageOverQuadraturePointsBase< CellElementSubRegion, FE_TYPE > |
| Alias for the base class;. | |
Public Member Functions | |
| AverageStressStrainOverQuadraturePoints (NodeManager &nodeManager, EdgeManager const &edgeManager, FaceManager const &faceManager, CellElementSubRegion const &elementSubRegion, FE_TYPE const &finiteElementSpace, SOLID_TYPE const &solidModel, fields::solidMechanics::arrayViewConst2dLayoutTotalDisplacement const displacement, fields::solidMechanics::arrayViewConst2dLayoutIncrDisplacement const displacementInc, fields::solidMechanics::arrayView2dLayoutStrain const avgStrain, fields::solidMechanics::arrayView2dLayoutStrain const avgPlasticStrain, arrayView3d< real64 const, solid::STRESS_USD > const stress, fields::solidMechanics::arrayView2dLayoutAvgStress const avgStress, arrayView1d< real64 const > const temperature, arrayView1d< real64 const > const temperature_n) | |
| Constructor for the class. More... | |
| GEOS_HOST_DEVICE void | setup (localIndex const k, StackVariables &stack) const |
| Performs the setup phase for the kernel. More... | |
| GEOS_HOST_DEVICE void | quadraturePointKernel (localIndex const k, localIndex const q, StackVariables &stack) const |
| Increment the average property with the contribution of the property at this quadrature point. More... | |
Public Member Functions inherited from geos::AverageOverQuadraturePointsBase< CellElementSubRegion, FE_TYPE > | |
| AverageOverQuadraturePointsBase (NodeManager &nodeManager, EdgeManager const &edgeManager, FaceManager const &faceManager, CellElementSubRegion const &elementSubRegion, FE_TYPE const &finiteElementSpace) | |
| Constructor for the class. More... | |
| GEOS_HOST_DEVICE void | setup (localIndex const k, StackVariables &stack) const |
| Performs the setup phase for the kernel. More... | |
Static Public Member Functions | |
| template<typename POLICY , typename KERNEL_TYPE > | |
| static void | kernelLaunch (localIndex const numElems, KERNEL_TYPE const &kernelComponent) |
| Launch the kernel over the elements in the subRegion. More... | |
Protected Types | |
| using | KernelWrapper = decltype(std::declval< SOLID_TYPE const & >().createKernelUpdates()) |
Protected Attributes | |
| KernelWrapper const | m_solidUpdate |
| The material. | |
| fields::solidMechanics::arrayViewConst2dLayoutTotalDisplacement const | m_displacement |
| The displacement solution. | |
| fields::solidMechanics::arrayViewConst2dLayoutIncrDisplacement const | m_displacementInc |
| The displacement increment. | |
| fields::solidMechanics::arrayView2dLayoutStrain const | m_avgStrain |
| The average strain. | |
| fields::solidMechanics::arrayView2dLayoutStrain const | m_avgPlasticStrain |
| The average plastic strain. | |
| arrayView3d< real64 const, solid::STRESS_USD > const | m_stress |
| The stress solution. | |
| fields::solidMechanics::arrayView2dLayoutAvgStress const | m_avgStress |
| The average stress. | |
| arrayView1d< real64 const > const | m_temperature |
| The temperature at the current time step (empty for non-thermal simulations) | |
| arrayView1d< real64 const > const | m_temperature_n |
| The temperature at the previous time step (empty for non-thermal simulations) | |
Protected Attributes inherited from geos::AverageOverQuadraturePointsBase< CellElementSubRegion, FE_TYPE > | |
| FE_TYPE const & | m_finiteElementSpace |
| traits::ViewTypeConst< typename SUBREGION_TYPE::NodeMapType::base_type > const | m_elemsToNodes |
| The element to nodes map. | |
| arrayView2d< real64 const, nodes::REFERENCE_POSITION_USD > const | m_X |
| The reference position of the nodes. | |
| arrayView1d< real64 const > const | m_elementVolume |
| The volume of the elements. | |
| FE_TYPE::template MeshData< CellElementSubRegion > | m_meshData |
| Data structure containing mesh data used to setup the finite element. | |
| SUBREGION_TYPE | the subRegion type |
| FE_TYPE | the finite element type |
| SOLID_TYPE | the solid mechanics constitutuve type |
Definition at line 47 of file StressStrainAverageKernels.hpp.
|
protected |
Use the concrete wrapper returned by the model factory. This preserves final wrappers for device compilation instead of slicing them to the model's polymorphic base wrapper.
Definition at line 221 of file StressStrainAverageKernels.hpp.
|
inline |
Constructor for the class.
| nodeManager | the node manager |
| edgeManager | the edge manager |
| faceManager | the face manager |
| elementSubRegion | the element subRegion |
| finiteElementSpace | the finite element space |
| displacement | the displacement solution field |
| avgStrain | the strain averaged over quadrature points |
| stress | the stress solution field |
| avgStress | the stress averaged over quadrature points |
| temperature | the temperature field (may be empty for non-thermal simulations) |
| temperature_n | the temperature at the previous time step (may be empty for non-thermal simulations) |
Definition at line 75 of file StressStrainAverageKernels.hpp.
|
inlinestatic |
Launch the kernel over the elements in the subRegion.
| POLICY | the kernel policy |
| KERNEL_TYPE | the type of kernel |
| numElems | the number of elements in the subRegion |
| kernelComponent | the kernel component |
Definition at line 200 of file StressStrainAverageKernels.hpp.
|
inline |
Increment the average property with the contribution of the property at this quadrature point.
| k | The element index |
| q | The quadrature point index |
| stack | The StackVariables object that hold the stack variables. |
Definition at line 147 of file StressStrainAverageKernels.hpp.
|
inline |
Performs the setup phase for the kernel.
| k | The element index. |
| stack | The StackVariable object that hold the stack variables. |
Definition at line 118 of file StressStrainAverageKernels.hpp.