changed output/debug-level relation for two statements

This commit is contained in:
Philip Eisenlohr 2011-06-14 14:08:13 +00:00
parent bb9e55a46d
commit cc925cadee
2 changed files with 7 additions and 6 deletions

View File

@ -536,9 +536,11 @@ subroutine CPFEM_general(mode, coords, ffn, ffn1, Temperature, dt, element, IP,
call mesh_build_subNodeCoords() ! update subnodal coordinates
call mesh_build_ipVolumes() ! update ip center of gravity
endif
if (debug_verbosity > 0) then
!$OMP CRITICAL (write2out)
write(6,'(a,i5,a,i5)') '<< CPFEM >> Start stress and tangent ',FEsolving_execElem(1),' to ',FEsolving_execElem(2)
!$OMP END CRITICAL (write2out)
endif
call materialpoint_stressAndItsTangent(updateJaco, dt) ! calculate stress and its tangent (parallel execution inside)
call materialpoint_postResults(dt) ! post results
!$OMP PARALLEL DO

View File

@ -164,12 +164,11 @@ real(pReal), dimension(4,36), parameter :: math_symOperations = &
endif
call random_seed(get=randInit)
if (debug_verbosity > 0) then
!$OMP CRITICAL (write2out)
! this critical block did cause trouble at IWM
write(6,*) 'random seed: ',randInit(1)
write(6,*)
!$OMP END CRITICAL (write2out)
!$OMP CRITICAL (write2out)
! this critical block did cause trouble at IWM
write(6,*) 'random seed: ',randInit(1)
write(6,*)
!$OMP END CRITICAL (write2out)
endif
call halton_seed_set(randInit(1))