250 |
C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----| |
C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----| |
251 |
ELSEIF ( buoyancyRelation .EQ. 'OCEANICP' ) THEN |
ELSEIF ( buoyancyRelation .EQ. 'OCEANICP' ) THEN |
252 |
C This is the hydrostatic pressure calculation for the Ocean |
C This is the hydrostatic pressure calculation for the Ocean |
253 |
C which uses the FIND_RHO() routine to calculate density |
C which uses the FIND_RHO() routine to calculate density before |
254 |
C before integrating (1/rho)'*dp over the current layer/interface |
C integrating (1/rho)_prime*dp over the current layer/interface |
255 |
#ifdef ALLOW_AUTODIFF_TAMC |
#ifdef ALLOW_AUTODIFF_TAMC |
256 |
CADJ GENERAL |
CADJ GENERAL |
257 |
#endif /* ALLOW_AUTODIFF_TAMC */ |
#endif /* ALLOW_AUTODIFF_TAMC */ |
283 |
ENDDO |
ENDDO |
284 |
ENDIF |
ENDIF |
285 |
|
|
286 |
C-- Calculate specific volume anomaly : alpha' = 1/rho - alpha_Cst |
C-- Calculate specific volume anomaly : alpha_prime = 1/rho - alpha_Cst |
287 |
DO j=jMin,jMax |
DO j=jMin,jMax |
288 |
DO i=iMin,iMax |
DO i=iMin,iMax |
289 |
locAlpha=alphaRho(i,j)+rhoConst |
locAlpha=alphaRho(i,j)+rhoConst |