sanity checks
This commit is contained in:
parent
33d816a5d0
commit
59399f2cd2
|
@ -363,9 +363,8 @@ subroutine plastic_dislotwin_init(fileUnit)
|
|||
if (any(prm%CLambdaSlip <= 0.0_pReal)) extmsg = trim(extmsg)//'CLambdaSlip '
|
||||
if (any(prm%B < 0.0_pReal)) extmsg = trim(extmsg)//'B '
|
||||
if (any(prm%tau_peierls < 0.0_pReal)) extmsg = trim(extmsg)//'tau_peierls '
|
||||
|
||||
! if (any(prm%p = (prm%p, prm%Nslip)
|
||||
! if (any(prm%q = math_expand(prm%q, prm%Nslip)
|
||||
if (any(prm%p<=0.0_pReal .or. prm%p>1.0_pReal)) extmsg = trim(extmsg)//'p '
|
||||
if (any(prm%q< 1.0_pReal .or. prm%q>2.0_pReal)) extmsg = trim(extmsg)//'q '
|
||||
|
||||
else slipActive
|
||||
allocate(prm%burgers_slip(0))
|
||||
|
|
Loading…
Reference in New Issue