did only compile with BUILD_TYPE=DEBUG
This commit is contained in:
parent
90e9b98584
commit
4d393518ac
|
@ -948,15 +948,6 @@ subroutine constitutive_collectDotState(Tstar_v, FeArray, FpArray, subdt, subfra
|
||||||
end select sourceType
|
end select sourceType
|
||||||
enddo SourceLoop
|
enddo SourceLoop
|
||||||
|
|
||||||
if (iand(debug_level(debug_constitutive), debug_levelBasic) /= 0_pInt) then
|
|
||||||
call system_clock(count=tock,count_rate=tickrate,count_max=maxticks)
|
|
||||||
!$OMP CRITICAL (debugTimingDotState)
|
|
||||||
!debug_cumDotStateCalls = debug_cumDotStateCalls + 1_pInt
|
|
||||||
!debug_cumDotStateTicks = debug_cumDotStateTicks + tock-tick
|
|
||||||
!$OMP FLUSH (debug_cumDotStateTicks)
|
|
||||||
!if (tock < tick) debug_cumDotStateTicks = debug_cumDotStateTicks + maxticks
|
|
||||||
!$OMP END CRITICAL (debugTimingDotState)
|
|
||||||
endif
|
|
||||||
end subroutine constitutive_collectDotState
|
end subroutine constitutive_collectDotState
|
||||||
|
|
||||||
!--------------------------------------------------------------------------------------------------
|
!--------------------------------------------------------------------------------------------------
|
||||||
|
@ -1032,16 +1023,6 @@ subroutine constitutive_collectDeltaState(Tstar_v, Fe, ipc, ip, el)
|
||||||
end select sourceType
|
end select sourceType
|
||||||
enddo SourceLoop
|
enddo SourceLoop
|
||||||
|
|
||||||
if (iand(debug_level(debug_constitutive), debug_levelBasic) /= 0_pInt) then
|
|
||||||
call system_clock(count=tock,count_rate=tickrate,count_max=maxticks)
|
|
||||||
!$OMP CRITICAL (debugTimingDeltaState)
|
|
||||||
!debug_cumDeltaStateCalls = debug_cumDeltaStateCalls + 1_pInt
|
|
||||||
!debug_cumDeltaStateTicks = debug_cumDeltaStateTicks + tock-tick
|
|
||||||
!$OMP FLUSH (debug_cumDeltaStateTicks)
|
|
||||||
!if (tock < tick) debug_cumDeltaStateTicks = debug_cumDeltaStateTicks + maxticks
|
|
||||||
!$OMP END CRITICAL (debugTimingDeltaState)
|
|
||||||
endif
|
|
||||||
|
|
||||||
end subroutine constitutive_collectDeltaState
|
end subroutine constitutive_collectDeltaState
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -3239,19 +3239,16 @@ logical function crystallite_integrateStress(&
|
||||||
subStepSizeLp, &
|
subStepSizeLp, &
|
||||||
subStepSizeLi
|
subStepSizeLi
|
||||||
use debug, only: debug_level, &
|
use debug, only: debug_level, &
|
||||||
debug_crystallite, &
|
|
||||||
debug_levelBasic, &
|
|
||||||
debug_levelExtensive, &
|
|
||||||
debug_levelSelective, &
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
debug_e, &
|
debug_e, &
|
||||||
debug_i, &
|
debug_i, &
|
||||||
debug_g!, &
|
debug_g, &
|
||||||
#endif
|
#endif
|
||||||
!debug_cumLpCalls, &
|
debug_crystallite, &
|
||||||
!debug_cumLpTicks, &
|
debug_levelBasic, &
|
||||||
!debug_StressLoopLpDistribution, &
|
debug_levelExtensive, &
|
||||||
!debug_StressLoopLiDistribution
|
debug_levelSelective
|
||||||
|
|
||||||
use constitutive, only: constitutive_LpAndItsTangent, &
|
use constitutive, only: constitutive_LpAndItsTangent, &
|
||||||
constitutive_LiAndItsTangent, &
|
constitutive_LiAndItsTangent, &
|
||||||
constitutive_TandItsTangent
|
constitutive_TandItsTangent
|
||||||
|
@ -3457,9 +3454,6 @@ logical function crystallite_integrateStress(&
|
||||||
|
|
||||||
!* calculate plastic velocity gradient and its tangent from constitutive law
|
!* calculate plastic velocity gradient and its tangent from constitutive law
|
||||||
|
|
||||||
if (iand(debug_level(debug_crystallite), debug_levelBasic) /= 0_pInt) &
|
|
||||||
call system_clock(count=tick,count_rate=tickrate,count_max=maxticks)
|
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
if (iand(debug_level(debug_crystallite), debug_levelExtensive) /= 0_pInt &
|
if (iand(debug_level(debug_crystallite), debug_levelExtensive) /= 0_pInt &
|
||||||
.and. ((el == debug_e .and. ip == debug_i .and. ipc == debug_g) &
|
.and. ((el == debug_e .and. ip == debug_i .and. ipc == debug_g) &
|
||||||
|
@ -3474,16 +3468,6 @@ logical function crystallite_integrateStress(&
|
||||||
call constitutive_LpAndItsTangent(Lp_constitutive, dLp_dT3333, dLp_dFi3333, &
|
call constitutive_LpAndItsTangent(Lp_constitutive, dLp_dT3333, dLp_dFi3333, &
|
||||||
Tstar_v, Fi_new, ipc, ip, el)
|
Tstar_v, Fi_new, ipc, ip, el)
|
||||||
|
|
||||||
if (iand(debug_level(debug_crystallite), debug_levelBasic) /= 0_pInt) then
|
|
||||||
call system_clock(count=tock,count_rate=tickrate,count_max=maxticks)
|
|
||||||
!$OMP CRITICAL (debugTimingLpTangent)
|
|
||||||
!debug_cumLpCalls = debug_cumLpCalls + 1_pInt
|
|
||||||
!debug_cumLpTicks = debug_cumLpTicks + tock-tick
|
|
||||||
!$OMP FLUSH (debug_cumLpTicks)
|
|
||||||
!if (tock < tick) debug_cumLpTicks = debug_cumLpTicks + maxticks
|
|
||||||
!$OMP END CRITICAL (debugTimingLpTangent)
|
|
||||||
endif
|
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
if (iand(debug_level(debug_crystallite), debug_levelExtensive) /= 0_pInt &
|
if (iand(debug_level(debug_crystallite), debug_levelExtensive) /= 0_pInt &
|
||||||
.and. ((el == debug_e .and. ip == debug_i .and. ipc == debug_g) &
|
.and. ((el == debug_e .and. ip == debug_i .and. ipc == debug_g) &
|
||||||
|
|
Loading…
Reference in New Issue