Skip to content

Commit a06b512

Browse files
vt-maxWerner Kramer
authored andcommitted
Remove OMP loop around buoyancy initialisation
1 parent 2166c0e commit a06b512

2 files changed

Lines changed: 1 addition & 10 deletions

File tree

model_efdc_dll/native/efdc_fortran_dll/openDA_wrapper/model_init_3.for

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -714,15 +714,7 @@ C
714714
C
715715
C ** INITIALIZE BUOYANCY AND EQUATION OF STATE
716716
C
717-
!$OMP PARALLEL DO PRIVATE(LF,LL)
718-
719-
do ithds=0,nthds-1
720-
LF=jse(1,ithds)
721-
LL=jse(2,ithds)
722-
c
723-
CALL CALBUOY(LF,LL)
724-
c
725-
enddo
717+
CALL CALBUOY
726718
C
727719
C ** INITIALIZE SFL IF(ISRESTI.EQ.0.AND ISTRAN(4).GE.1)
728720
C

model_efdc_dll/native/efdc_fortran_dll/original_efdc_files/CALBUOY.for

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ C
99
IMPLICIT NONE
1010
INTEGER::NS,K,L
1111
REAL::RHOO,SSTMP,TTMP,RHTMP,PRES,CCON,TMP,TEM0
12-
INTEGER::LF,LL,ithds
1312
C
1413
IF(IBSC.EQ.1) GOTO 1000
1514
ISPCOR=0

0 commit comments

Comments
 (0)