Skip to content

Commit

Permalink
Update include/TFEL/Material/EshelbyAnisotropic.ixx
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Helfer <[email protected]>
  • Loading branch information
antoinecea and thelfer authored Dec 4, 2024
1 parent f257632 commit ceaa660
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/TFEL/Material/EshelbyAnisotropic.ixx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ namespace tfel::material::homogenization::elasticity{
TFEL_HOST_DEVICE void setSt4(tfel::math::st2tost2<3u,Type>& A, int i, int j, int k, int l,Type Aijkl){
const int I = vi(i,j);
const int J = vi(k,l);
real fac = real(1);
constexpr auto fac = real(1);
if (I > 2){fac*=std::sqrt(2);};
if (J > 2){fac*=std::sqrt(2);};
A(I,J)=fac*Aijkl;
Expand Down

0 comments on commit ceaa660

Please sign in to comment.