corrected statistics reporting in case of cutback
This commit is contained in:
parent
c86d9c9faf
commit
60739abb0d
|
@ -463,7 +463,9 @@ program DAMASK_spectral_Driver
|
||||||
|
|
||||||
!--------------------------------------------------------------------------------------------------
|
!--------------------------------------------------------------------------------------------------
|
||||||
! check solution
|
! check solution
|
||||||
cutBack = .False.
|
cutBack = .False.
|
||||||
|
write(statUnit,*) totalIncsCounter, time, cutBackLevel, &
|
||||||
|
solres%converged, solres%iterationsNeeded ! write statistics about accepted solution
|
||||||
if(solres%termIll .or. .not. solres%converged) then ! no solution found
|
if(solres%termIll .or. .not. solres%converged) then ! no solution found
|
||||||
if (cutBackLevel < maxCutBack) then ! do cut back
|
if (cutBackLevel < maxCutBack) then ! do cut back
|
||||||
write(6,'(/,a)') ' cut back detected'
|
write(6,'(/,a)') ' cut back detected'
|
||||||
|
@ -483,9 +485,6 @@ program DAMASK_spectral_Driver
|
||||||
else
|
else
|
||||||
guess = .true. ! start guessing after first converged (sub)inc
|
guess = .true. ! start guessing after first converged (sub)inc
|
||||||
endif
|
endif
|
||||||
if(guess) & ! write statistics about accepted solution
|
|
||||||
write(statUnit,*) totalIncsCounter, time, cutBackLevel, &
|
|
||||||
solres%converged, solres%iterationsNeeded
|
|
||||||
enddo subIncLooping
|
enddo subIncLooping
|
||||||
cutBackLevel = max(0_pInt, cutBackLevel - 1_pInt) ! try half number of subincs next inc
|
cutBackLevel = max(0_pInt, cutBackLevel - 1_pInt) ! try half number of subincs next inc
|
||||||
if(solres%converged) then ! report converged inc
|
if(solres%converged) then ! report converged inc
|
||||||
|
|
Loading…
Reference in New Issue