Skip to content
Snippets Groups Projects
Commit 7ecc329c authored by Ujwal Kishore Jinaga's avatar Ujwal Kishore Jinaga :clown:
Browse files

[MINOR PATCH] Aliter to the previous

parent 98288a81
No related branches found
No related tags found
No related merge requests found
......@@ -5751,10 +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::multSTensor3(R_def,U,F);
// STensorOperation::multSTensor3InPlace2nd(R,U);
// STensorOperation::multSTensor3InPlace1st(U,RT);
// STensorOperation::multSTensor3(R_def,U,F);
// F = U; // R_def in the rotated frame = I;
STensorOperation::multSTensor3InPlace1st(F,RT);
STensorOperation::multSTensor3SVector3InPlace2nd(R,H);
}
 
......@@ -6281,7 +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::multSTensor3SVector3InPlace2nd(RT,Q);
 
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment