Skip to content

Commit

Permalink
try to fix cuda compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
ryar9534 committed Jun 20, 2024
1 parent 0956ef2 commit 4181f6c
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ class AverageStrainOverQuadraturePoints :
FaceManager const & faceManager,
SUBREGION_TYPE const & elementSubRegion,
FE_TYPE const & finiteElementSpace,
arrayView2d< real64 const > const displacement,
arrayView2d< real64 > const avgStrain ):
solidMechanics::arrayViewConst2dLayoutTotalDisplacement const displacement,
solidMechanics::arrayViewConst2dLayoutStrain const avgStrain ):
Base( nodeManager,
edgeManager,
faceManager,
Expand Down Expand Up @@ -160,10 +160,10 @@ class AverageStrainOverQuadraturePoints :
protected:

/// The displacement solution
arrayView2d< real64 const > const m_displacement;
solidMechanics::arrayViewConst2dLayoutTotalDisplacement const m_displacement;

/// The average strain
arrayView2d< real64 > const m_avgStrain;
solidMechanics::arrayViewConst2dLayoutStrain const m_avgStrain;

};

Expand Down Expand Up @@ -199,8 +199,8 @@ class AverageStrainOverQuadraturePointsKernelFactory
FaceManager const & faceManager,
SUBREGION_TYPE const & elementSubRegion,
FE_TYPE const & finiteElementSpace,
arrayView2d< real64 const > const displacement,
arrayView2d< real64 > const avgStrain )
solidMechanics::arrayViewConst2dLayoutTotalDisplacement const displacement,
solidMechanics::arrayViewConst2dLayoutStrain const avgStrain )
{
AverageStrainOverQuadraturePoints< SUBREGION_TYPE, FE_TYPE >
kernel( nodeManager, edgeManager, faceManager, elementSubRegion, finiteElementSpace,
Expand Down

0 comments on commit 4181f6c

Please sign in to comment.