only first broken ip signals "terminally ill"
This commit is contained in:
parent
4a6e08bb69
commit
6230dacbac
|
@ -420,10 +420,14 @@ subroutine materialpoint_stressAndItsTangent(updateJaco,dt)
|
||||||
else
|
else
|
||||||
if ( (myNgrains == 1_pInt .and. materialpoint_subStep(i,e) <= 1.0 ) .or. & ! single grain already tried internal subStepping in crystallite
|
if ( (myNgrains == 1_pInt .and. materialpoint_subStep(i,e) <= 1.0 ) .or. & ! single grain already tried internal subStepping in crystallite
|
||||||
subStepSizeHomog * materialpoint_subStep(i,e) <= subStepMinHomog ) then ! would require too small subStep
|
subStepSizeHomog * materialpoint_subStep(i,e) <= subStepMinHomog ) then ! would require too small subStep
|
||||||
! cutback makes no sense and...
|
! cutback makes no sense
|
||||||
|
if (.not. terminallyIll) then ! so first signals terminally ill...
|
||||||
|
!$OMP CRITICAL (write2out)
|
||||||
|
write(6,*) 'Integration point ', i,' at element ', e, ' terminally ill'
|
||||||
|
!$OMP END CRITICAL (write2out)
|
||||||
|
endif
|
||||||
!$OMP CRITICAL (setTerminallyIll)
|
!$OMP CRITICAL (setTerminallyIll)
|
||||||
write(6,*) 'Integration point ', i,' at element ', e, ' terminally ill'
|
terminallyIll = .true. ! ...and kills all others
|
||||||
terminallyIll = .true. ! ...one kills all
|
|
||||||
!$OMP END CRITICAL (setTerminallyIll)
|
!$OMP END CRITICAL (setTerminallyIll)
|
||||||
else ! cutback makes sense
|
else ! cutback makes sense
|
||||||
materialpoint_subStep(i,e) = subStepSizeHomog * materialpoint_subStep(i,e) ! crystallite had severe trouble, so do a significant cutback
|
materialpoint_subStep(i,e) = subStepSizeHomog * materialpoint_subStep(i,e) ! crystallite had severe trouble, so do a significant cutback
|
||||||
|
|
Loading…
Reference in New Issue