small rearrangement of cutback dealings. may give minute speed improvement...

This commit is contained in:
Philip Eisenlohr 2009-10-19 12:46:02 +00:00
parent 5a5d461a30
commit b5fc0a9769
1 changed files with 4 additions and 4 deletions

View File

@ -189,6 +189,9 @@ subroutine hypela2(&
if ( .not. CPFEM_init_done ) then
computationMode = 2 ! calc + init
theTime = cptim ! record current starting time
theDelta = timinc ! record current time increment
theInc = inc ! record current increment number
!$OMP CRITICAL (write2out)
write (6,'(a,x,i6,x,i2)') '<< hypela2 >> first call special case..!',n(1),nn; call flush(6)
!$OMP END CRITICAL (write2out)
@ -244,13 +247,10 @@ subroutine hypela2(&
endif
endif
endif
if (lovl /= 4) then ! pass-by for Marc recycle
theTime = cptim ! record current starting time
theDelta = timinc ! record current time increment
theInc = inc ! record current increment number
if (CPFEM_init_done) lastMode = calcMode(nn,cp_en) ! record calculationMode
lastMode = calcMode(nn,cp_en) ! record calculationMode
endif
call CPFEM_general(computationMode,ffn,ffn1,t(1),timinc,n(1),nn,s,d,ngens)