Changeset 1241 for palm/trunk/SOURCE/buoyancy.f90
- Timestamp:
- Oct 30, 2013 11:36:58 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/buoyancy.f90
r1240 r1241 20 20 ! Currrent revisions: 21 21 ! ------------------ 22 ! Generalize calc_mean_profile for wider use: use additional steering 23 ! character loc 22 24 ! 23 25 ! … … 344 346 345 347 346 SUBROUTINE calc_mean_profile( var, pr )348 SUBROUTINE calc_mean_profile( var, pr, loc ) 347 349 348 350 !------------------------------------------------------------------------------! … … 363 365 364 366 INTEGER :: i, j, k, omp_get_thread_num, pr, tn 367 CHARACTER (LEN=*) :: loc 365 368 #if defined( __nopointer ) 366 369 REAL, DIMENSION(:,:,:) :: var … … 414 417 ENDIF 415 418 416 ref_state(:) = hom(:,1,pr,0) ! this is used in the buoyancy term 419 SELECT CASE ( loc ) 420 421 CASE ( 'time_int' ) 422 423 ref_state(:) = hom(:,1,pr,0) ! this is used in the buoyancy term 424 425 426 CASE ( 'nudging' ) 427 !nothing to be done 428 429 430 CASE DEFAULT 431 message_string = 'unknown location "' // loc // '"' 432 CALL message( 'calc_mean_profile', 'PA0379', 1, 2, 0, 6, 0 ) 433 434 END SELECT 435 436 417 437 418 438 END SUBROUTINE calc_mean_profile
Note: See TracChangeset
for help on using the changeset viewer.