avoid undefined return
This commit is contained in:
parent
9ba185973f
commit
b3231bf0a8
|
@ -256,9 +256,13 @@ module function integrateDamageState(dt,co,ip,el) result(broken)
|
|||
converged_
|
||||
|
||||
ph = material_phaseAt(co,el)
|
||||
if (phase_Nsources(ph) == 0) return
|
||||
me = material_phaseMemberAt(co,ip,el)
|
||||
|
||||
if (phase_Nsources(ph) == 0) then
|
||||
broken = .false.
|
||||
return
|
||||
endif
|
||||
|
||||
converged_ = .true.
|
||||
broken = phase_damage_collectDotState(ph,me)
|
||||
if(broken) return
|
||||
|
|
Loading…
Reference in New Issue