From 101c29321600e589a3733120a19db384bd477ef7 Mon Sep 17 00:00:00 2001 From: FLE_Knight <ujwalkishore.jinaga@uliege.be> Date: Fri, 23 May 2025 18:01:14 +0200 Subject: [PATCH] [MINOR PATCH] Aliter to the previous --- dG3D/src/dG3DMaterialLaw.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/dG3D/src/dG3DMaterialLaw.cpp b/dG3D/src/dG3DMaterialLaw.cpp index 8cf971c47..eba380b8d 100644 --- a/dG3D/src/dG3DMaterialLaw.cpp +++ b/dG3D/src/dG3DMaterialLaw.cpp @@ -5751,12 +5751,12 @@ void StochTMDMNDG3DMaterialLaw::stress(IPVariable*ipv, const IPVariable*ipvprev, static STensor3 RT; STensorOperation::zero(RT); STensorOperation::transposeSTensor3(R,RT); - // STensorOperation::multSTensor3InPlace2nd(R,U); - // STensorOperation::multSTensor3InPlace1st(U,RT); + STensorOperation::multSTensor3InPlace2nd(R,U); + STensorOperation::multSTensor3InPlace1st(U,RT); // STensorOperation::multSTensor3(R_def,U,F); - // F = U; // R_def in the rotated frame = I; + F = U; // R_def in the rotated frame = I; - STensorOperation::multSTensor3InPlace1st(F,RT); + // STensorOperation::multSTensor3InPlace1st(F,RT); STensorOperation::multSTensor3SVector3InPlace2nd(R,H); } @@ -6283,9 +6283,9 @@ void StochTMDMNDG3DMaterialLaw::stress(IPVariable*ipv, const IPVariable*ipvprev, L = L_rot; dqdF = dqdF_rot; dwdf = dwdf_rot; dmechSourcedf = dmechSourcedf_rot; } - // STensorOperation::multSTensor3(F_unrot,S,P); + STensorOperation::multSTensor3(F_unrot,S,P); - STensorOperation::multSTensor3(Prot,R,P); + // STensorOperation::multSTensor3(Prot,R,P); STensorOperation::multSTensor3SVector3InPlace2nd(RT,Q); } -- GitLab