no need to duplicated check
This commit is contained in:
parent
52a0f0aaa9
commit
b174473373
|
@ -288,19 +288,17 @@ subroutine materialpoint_stressAndItsTangent(dt,FEsolving_execIP,FEsolving_execE
|
||||||
NiterationMPstate = NiterationMPstate + 1
|
NiterationMPstate = NiterationMPstate + 1
|
||||||
|
|
||||||
|
|
||||||
if (.not. doneAndHappy(1)) then
|
call mechanical_partition(homogenization_F(1:3,1:3,ce),ce)
|
||||||
call mechanical_partition(homogenization_F(1:3,1:3,ce),ce)
|
converged = .true.
|
||||||
converged = .true.
|
do co = 1, myNgrains
|
||||||
do co = 1, myNgrains
|
converged = converged .and. crystallite_stress(dt,co,ip,el)
|
||||||
converged = converged .and. crystallite_stress(dt,co,ip,el)
|
enddo
|
||||||
enddo
|
|
||||||
|
|
||||||
if (.not. converged) then
|
if (.not. converged) then
|
||||||
doneAndHappy = [.true.,.false.]
|
doneAndHappy = [.true.,.false.]
|
||||||
else
|
else
|
||||||
doneAndHappy = mechanical_updateState(dt,homogenization_F(1:3,1:3,ce),ce)
|
doneAndHappy = mechanical_updateState(dt,homogenization_F(1:3,1:3,ce),ce)
|
||||||
converged = all(doneAndHappy)
|
converged = all(doneAndHappy)
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
enddo convergenceLooping
|
enddo convergenceLooping
|
||||||
|
|
Loading…
Reference in New Issue