diff --git a/code/plastic_dislotwin.f90 b/code/plastic_dislotwin.f90 index d378c98cf..050875052 100644 --- a/code/plastic_dislotwin.f90 +++ b/code/plastic_dislotwin.f90 @@ -176,8 +176,8 @@ module plastic_dislotwin plastic_dislotwin_outputID !< ID of each post result output type, private :: tDislotwinState real(pReal), pointer, dimension(:,:) :: & - rohEdge, & - rohEdgeDip, & + rhoEdge, & + rhoEdgeDip, & accshear_slip, & F, & accshear_twin, & @@ -1087,15 +1087,15 @@ subroutine plastic_dislotwin_init(fileUnit) startIndex=1_pInt endIndex=ns - state(instance)%rohEdge=>plasticState(phase)%state(startIndex:endIndex,:) - state0(instance)%rohEdge=>plasticState(phase)%state0(startIndex:endIndex,:) - dotState(instance)%rohEdge=>plasticState(phase)%dotState(startIndex:endIndex,:) + state(instance)%rhoEdge=>plasticState(phase)%state(startIndex:endIndex,:) + state0(instance)%rhoEdge=>plasticState(phase)%state0(startIndex:endIndex,:) + dotState(instance)%rhoEdge=>plasticState(phase)%dotState(startIndex:endIndex,:) startIndex=endIndex+1 endIndex=endIndex+ns - state(instance)%rohEdgeDip=>plasticState(phase)%state(startIndex:endIndex,:) - state0(instance)%rohEdgeDip=>plasticState(phase)%state0(startIndex:endIndex,:) - dotState(instance)%rohEdgeDip=>plasticState(phase)%dotState(startIndex:endIndex,:) + state(instance)%rhoEdgeDip=>plasticState(phase)%state(startIndex:endIndex,:) + state0(instance)%rhoEdgeDip=>plasticState(phase)%state0(startIndex:endIndex,:) + dotState(instance)%rhoEdgeDip=>plasticState(phase)%dotState(startIndex:endIndex,:) startIndex=endIndex+1 endIndex=endIndex+ns @@ -1449,7 +1449,7 @@ subroutine plastic_dislotwin_microstructure(temperature,ipc,ip,el) !* 1/mean free distance between 2 forest dislocations seen by a moving dislocation forall (s = 1_pInt:ns) & state(ph)%invLambdaSlip(s,of) = & - sqrt(dot_product((state(ph)%rohEdge(1_pInt:ns,of)+state(ph)%rohEdgeDip(1_pInt:ns,of)),& + sqrt(dot_product((state(ph)%rhoEdge(1_pInt:ns,of)+state(ph)%rhoEdgeDip(1_pInt:ns,of)),& plastic_dislotwin_forestProjectionEdge(1:ns,s,instance)))/ & plastic_dislotwin_CLambdaSlipPerSlipSystem(s,instance) @@ -1499,7 +1499,7 @@ subroutine plastic_dislotwin_microstructure(temperature,ipc,ip,el) forall (s = 1_pInt:ns) & state(ph)%threshold_stress_slip(s,of) = & lattice_mu(ph)*plastic_dislotwin_burgersPerSlipSystem(s,instance)*& - sqrt(dot_product((state(ph)%rohEdge(1_pInt:ns,of)+state(ph)%rohEdgeDip(1_pInt:ns,of)),& + sqrt(dot_product((state(ph)%rhoEdge(1_pInt:ns,of)+state(ph)%rhoEdgeDip(1_pInt:ns,of)),& plastic_dislotwin_interactionMatrix_SlipSlip(s,1:ns,instance))) !* threshold stress for growing twin @@ -1649,7 +1649,7 @@ subroutine plastic_dislotwin_LpAndItsTangent(Lp,dLp_dTstar99,Tstar_v,Temperature BoltzmannRatio = plastic_dislotwin_QedgePerSlipSystem(j,instance)/(kB*Temperature) !* Initial shear rates DotGamma0 = & - state(ph)%rohEdge(j,of)*plastic_dislotwin_burgersPerSlipSystem(j,instance)*& + state(ph)%rhoEdge(j,of)*plastic_dislotwin_burgersPerSlipSystem(j,instance)*& plastic_dislotwin_v0PerSlipSystem(j,instance) !* Shear rates due to slip @@ -1767,8 +1767,8 @@ subroutine plastic_dislotwin_LpAndItsTangent(Lp,dLp_dTstar99,Tstar_v,Temperature s1=lattice_fcc_twinNucleationSlipPair(1,index_myFamily+i) s2=lattice_fcc_twinNucleationSlipPair(2,index_myFamily+i) if (tau_twin(j) < plastic_dislotwin_tau_r_twin(j,instance)) then - Ndot0=(abs(gdot_slip(s1))*(state(ph)%rohEdge(s2,of)+state(ph)%rohEdgeDip(s2,of))+& !!!!! correct? - abs(gdot_slip(s2))*(state(ph)%rohEdge(s1,of)+state(ph)%rohEdgeDip(s1,of)))/& + Ndot0=(abs(gdot_slip(s1))*(state(ph)%rhoEdge(s2,of)+state(ph)%rhoEdgeDip(s2,of))+& !!!!! correct? + abs(gdot_slip(s2))*(state(ph)%rhoEdge(s1,of)+state(ph)%rhoEdgeDip(s1,of)))/& (plastic_dislotwin_L0_twin(instance)*plastic_dislotwin_burgersPerSlipSystem(j,instance))*& (1.0_pReal-exp(-plastic_dislotwin_VcrossSlip(instance)/(kB*Temperature)*& (plastic_dislotwin_tau_r_twin(j,instance)-tau_twin(j)))) @@ -1956,18 +1956,18 @@ subroutine plastic_dislotwin_dotState(Tstar_v,Temperature,ipc,ip,el) if (EdgeDipDistance(j)