Ignore:
Timestamp:
Feb 25, 2016 12:31:13 PM (9 years ago)
Author:
hellstea
Message:

Introduction of nested domain system

File:
1 edited

Legend:

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

    r1759 r1762  
    1919! Current revisions:
    2020! -----------------
    21 ! Previous version restored.
     21! Introduction of nested domain feature
    2222!
    2323! Former revisions:
     
    17551755!-- Lateral boundary conditions
    17561756    IF ( bc_lr /= 'cyclic'  .AND.  bc_lr /= 'dirichlet/radiation'  .AND. &
    1757          bc_lr /= 'radiation/dirichlet' )  THEN
     1757         bc_lr /= 'radiation/dirichlet'  .AND.  bc_lr /= 'nested' )  THEN
    17581758       message_string = 'unknown boundary condition: bc_lr = "' // &
    17591759                        TRIM( bc_lr ) // '"'
     
    17611761    ENDIF
    17621762    IF ( bc_ns /= 'cyclic'  .AND.  bc_ns /= 'dirichlet/radiation'  .AND. &
    1763          bc_ns /= 'radiation/dirichlet' )  THEN
     1763         bc_ns /= 'radiation/dirichlet'  .AND.  bc_ns /= 'nested' )  THEN
    17641764       message_string = 'unknown boundary condition: bc_ns = "' // &
    17651765                        TRIM( bc_ns ) // '"'
     
    18431843    IF ( bc_p_t == 'dirichlet' )  THEN
    18441844       ibc_p_t = 0
    1845     ELSEIF ( bc_p_t == 'neumann' )  THEN
     1845!-- TO_DO: later set bc_p_t to neumann before, in case of nested domain
     1846    ELSEIF ( bc_p_t == 'neumann' .OR. bc_p_t == 'nested' )  THEN
    18461847       ibc_p_t = 1
    18471848    ELSE
     
    18731874    ELSEIF ( bc_pt_t == 'initial_gradient' )  THEN
    18741875       ibc_pt_t = 2
     1876    ELSEIF ( bc_pt_t == 'nested' )  THEN
     1877       ibc_pt_t = 3
    18751878    ELSE
    18761879       message_string = 'unknown boundary condition: bc_pt_t = "' // &
     
    20152018       ELSEIF ( bc_q_t == 'neumann' )  THEN
    20162019          ibc_q_t = 1
     2020       ELSEIF ( bc_q_t == 'nested' )  THEN
     2021          ibc_q_t = 3
    20172022       ELSE
    20182023          message_string = 'unknown boundary condition: bc_' // TRIM( sq ) // &
     
    20982103       ELSEIF ( bc_uv_t == 'neumann' )  THEN
    20992104          ibc_uv_t = 1
     2105       ELSEIF ( bc_uv_t == 'nested' )  THEN
     2106          ibc_uv_t = 3
    21002107       ELSE
    21012108          message_string = 'unknown boundary condition: bc_uv_t = "' // &
     
    38613868       ntdim_2d_xz(1) = ntdim_3d(1)
    38623869       ntdim_2d_yz(1) = ntdim_3d(1)
    3863              write(9,*) "ntdim_3d(av)=",ntdim_3d(0)
    3864              CALL local_flush(9)
     3870
    38653871    ENDIF
    38663872
Note: See TracChangeset for help on using the changeset viewer.