sanity checks

This commit is contained in:
Martin Diehl 2018-10-18 19:06:21 +02:00
parent 33d816a5d0
commit 59399f2cd2
1 changed files with 10 additions and 11 deletions

View File

@ -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))