Changeset 1060
- Timestamp:
- Dec 16, 2008, 7:08:30 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/trunk/libf/dyn3d/leapfrog.F
r1007 r1060 1 !2 ! $Header$3 1 ! 4 2 c … … 271 269 IF( MOD(itau,idissip ).EQ.0.AND..NOT.forward ) apdiss = .TRUE. 272 270 IF( MOD(itau,iphysiq ).EQ.0.AND..NOT.forward 273 s .and. iflag_phys. NE.0) apphys = .TRUE.271 s .and. iflag_phys.EQ.1 ) apphys = .TRUE. 274 272 ELSE 275 273 IF( MOD(itau ,iconser) .EQ. 0 ) conser = .TRUE. 276 274 IF( MOD(itau+1,idissip) .EQ. 0 ) apdiss = .TRUE. 277 IF( MOD(itau+1,iphysiq).EQ.0.AND.iflag_phys. NE.0) apphys=.TRUE.275 IF( MOD(itau+1,iphysiq).EQ.0.AND.iflag_phys.EQ.1) apphys=.TRUE. 278 276 END IF 279 277 … … 396 394 e , ucov , vcov , ps, p ,pk , teta , q(:,:,1), q(:,:,2)) 397 395 ENDIF 398 #else 399 400 c Calcul academique de la physique = Rappel Newtonien + fritcion 396 #endif 397 ENDIF ! of IF( apphys ) 398 399 IF(iflag_phys.EQ.2) THEN ! "Newtonian physics" case 400 c Calcul academique de la physique = Rappel Newtonien + friction 401 401 c -------------------------------------------------------------- 402 402 teta(:,:)=teta(:,:) 403 403 s -iphysiq*dtvr*(teta(:,:)-tetarappel(:,:))/taurappel 404 404 call friction(ucov,vcov,iphysiq*dtvr) 405 406 #endif 405 ENDIF 406 407 407 408 408 c-jld 409 ENDIF410 409 411 410 CALL pression ( ip1jmp1, ap, bp, ps, p )
Note: See TracChangeset
for help on using the changeset viewer.