Ignore:
Timestamp:
Sep 27, 2012 9:23:24 AM (12 years ago)
Author:
raasch
Message:

Starting with changes required for GPU optimization. OpenACC statements for using NVIDIA GPUs added.
Adjustment of mixing length to the Prandtl mixing length at first grid point above ground removed.
mask array is set zero for ghost boundaries

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE/check_parameters.f90

    r1004 r1015  
    44! Current revisions:
    55! -----------------
    6 !
     6! acc allowed for loop optimization,
     7! checks for adjustment of mixing length to the Prandtl mixing length removed
    78!
    89! Former revisions:
     
    481482       ENDIF
    482483    ENDIF
    483     IF ( loop_optimization /= 'noopt'  .AND.  loop_optimization /= 'cache' &
    484          .AND.  loop_optimization /= 'vector' )  THEN
    485        message_string = 'illegal value given for loop_optimization: "' // &
    486                         TRIM( loop_optimization ) // '"'
    487        CALL message( 'check_parameters', 'PA0013', 1, 2, 0, 6, 0 )
    488     ENDIF
     484
     485    SELECT CASE ( TRIM( loop_optimization ) )
     486
     487       CASE ( 'acc', 'cache', 'noopt', 'vector' )
     488          CONTINUE
     489
     490       CASE DEFAULT
     491          message_string = 'illegal value given for loop_optimization: "' // &
     492                           TRIM( loop_optimization ) // '"'
     493          CALL message( 'check_parameters', 'PA0013', 1, 2, 0, 6, 0 )
     494
     495    END SELECT
    489496
    490497!
     
    13941401    IF ( bc_e_b == 'neumann' )  THEN
    13951402       ibc_e_b = 1
    1396        IF ( adjust_mixing_length  .AND.  prandtl_layer )  THEN
    1397           message_string = 'adjust_mixing_length = TRUE and bc_e_b = "neumann"'
    1398           CALL message( 'check_parameters', 'PA0055', 0, 1, 0, 6, 0 )
    1399        ENDIF
    14001403    ELSEIF ( bc_e_b == '(u*)**2+neumann' )  THEN
    14011404       ibc_e_b = 2
    1402        IF ( .NOT. adjust_mixing_length  .AND.  prandtl_layer )  THEN
    1403           message_string = 'adjust_mixing_length = FALSE and bc_e_b = "' // &
     1405       IF ( prandtl_layer )  THEN
     1406          message_string = 'adjust mixing length = FALSE and bc_e_b = "' // &
    14041407                           TRIM( bc_e_b ) // '"'
    14051408          CALL message( 'check_parameters', 'PA0056', 0, 1, 0, 6, 0 )
Note: See TracChangeset for help on using the changeset viewer.