bugfix: openMP variable was not protected

This commit is contained in:
Martin Diehl 2022-02-04 18:55:59 +01:00
parent 3990536f1c
commit 3c148b5b0e
2 changed files with 2 additions and 2 deletions

View File

@ -237,7 +237,7 @@ subroutine homogenization_mechanical_response(Delta_t,FEsolving_execIP,FEsolving
doneAndHappy
!$OMP PARALLEL DO PRIVATE(ce,en,ho,NiterationMPstate,converged,doneAndHappy)
!$OMP PARALLEL DO PRIVATE(ce,co,en,ho,NiterationMPstate,converged,doneAndHappy)
do el = FEsolving_execElem(1),FEsolving_execElem(2)
do ip = FEsolving_execIP(1),FEsolving_execIP(2)

View File

@ -554,7 +554,7 @@ subroutine crystallite_init()
flush(IO_STDOUT)
!$OMP PARALLEL DO PRIVATE(ce)
!$OMP PARALLEL DO PRIVATE(ce,ph,en)
do el = 1, eMax
do ip = 1, iMax
ce = (el-1)*discretization_nIPs + ip