polishing

This commit is contained in:
Martin Diehl 2023-09-22 07:10:08 +02:00
parent eeb5de0531
commit 7c2e870d17
2 changed files with 30 additions and 28 deletions

View File

@ -273,6 +273,7 @@ pure module subroutine kinehardening_LpAndItsTangent(Lp,dLp_dMp, Mp,ph,en)
real(pREAL), dimension(param(ph)%sum_N_sl) :: &
dot_gamma, ddot_gamma_dtau
Lp = 0.0_pREAL
dLp_dMp = 0.0_pREAL
@ -308,8 +309,6 @@ module function plastic_kinehardening_dotState(Mp,ph,en) result(dotState)
real(pREAL) :: &
sumGamma
real(pREAL), dimension(param(ph)%sum_N_sl) :: &
dot_gamma
associate(prm => param(ph), stt => state(ph), &
@ -449,6 +448,7 @@ pure subroutine kinetics(Mp,ph,en, &
tau_neg
integer :: i
associate(prm => param(ph), stt => state(ph))
tau_pos = [(math_tensordot(Mp,prm%P_nS_pos(1:3,1:3,i)) - stt%chi(i,en),i=1,prm%sum_N_sl)]

View File

@ -315,6 +315,7 @@ pure module subroutine phenopowerlaw_LpAndItsTangent(Lp,dLp_dMp,Mp,ph,en)
real(pREAL), dimension(param(ph)%sum_N_tw) :: &
dot_gamma_tw,ddot_gamma_dtau_tw
Lp = 0.0_pREAL
dLp_dMp = 0.0_pREAL
@ -359,10 +360,10 @@ module function phenopowerlaw_dotState(Mp,ph,en) result(dotState)
real(pREAL) :: &
sumF
real(pREAL), dimension(param(ph)%sum_N_sl) :: &
dot_gamma_sl_pos,dot_gamma_sl_neg, &
xi_sl_sat_offset, &
left_SlipSlip
associate(prm => param(ph), stt => state(ph), &
dot_xi_sl => dotState(indexDotState(ph)%xi_sl(1):indexDotState(ph)%xi_sl(2)), &
dot_xi_tw => dotState(indexDotState(ph)%xi_tw(1):indexDotState(ph)%xi_tw(2)), &
@ -458,6 +459,7 @@ pure subroutine kinetics_sl(Mp,ph,en, &
tau_sl_neg
integer :: i
associate(prm => param(ph), stt => state(ph))
tau_sl_pos = [(math_tensordot(Mp,prm%P_nS_pos(1:3,1:3,i)),i=1,prm%sum_N_sl)]