Skip to content

Commit

Permalink
fixed compilation error, stresses match on simple problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Michael Aronson committed Aug 2, 2024
1 parent 0efc086 commit a0c39c2
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class AverageStrainOverQuadraturePoints :
}
}

for( int icomp = 0; icomp < 6; ++icomp ):wq
for( int icomp = 0; icomp < 6; ++icomp )
{
m_avgStrain[k][icomp] = 0.0;
}
Expand Down Expand Up @@ -253,7 +253,7 @@ class AverageStressOverQuadraturePoints :
FaceManager const & faceManager,
SUBREGION_TYPE const & elementSubRegion,
FE_TYPE const & finiteElementSpace,
arrayView3d< real64 const, constitutive::solid::STRESS_USD > const stress,
arrayView3d< real64 const, solid::STRESS_USD > const stress,
fields::solidMechanics::arrayView2dLayoutAvgStress const avgStress ):
Base( nodeManager,
edgeManager,
Expand Down Expand Up @@ -305,7 +305,7 @@ class AverageStressOverQuadraturePoints :

for( int icomp = 0; icomp < 6; ++icomp )
{
m_avgStress[k][icomp] += detJxW*m_stress[k][icomp]/m_elementVolume[k];
m_avgStress[k][icomp] += detJxW*m_stress[k][q][icomp]/m_elementVolume[k];
}
}

Expand Down Expand Up @@ -338,7 +338,7 @@ class AverageStressOverQuadraturePoints :
protected:

/// The stress solution
arrayView3d< real64 const, constitutive::solid::STRESS_USD > const m_stress;
arrayView3d< real64 const, solid::STRESS_USD > const m_stress;

/// The average stress
fields::solidMechanics::arrayView2dLayoutAvgStress const m_avgStress;
Expand Down Expand Up @@ -377,7 +377,7 @@ class AverageStressOverQuadraturePointsKernelFactory
FaceManager const & faceManager,
SUBREGION_TYPE const & elementSubRegion,
FE_TYPE const & finiteElementSpace,
arrayView3d< real64 const, constitutive::solid::STRESS_USD > const stress,
arrayView3d< real64 const, solid::STRESS_USD > const stress,
fields::solidMechanics::arrayView2dLayoutAvgStress const avgStress )
{
AverageStressOverQuadraturePoints< SUBREGION_TYPE, FE_TYPE >
Expand Down

0 comments on commit a0c39c2

Please sign in to comment.