Ignore:
Timestamp:
Jul 27, 2018 1:36:03 PM (6 years ago)
Author:
suehring
Message:

New Inifor features: grid stretching, improved command-interface, support start dates in different formats in both YYYYMMDD and YYYYMMDDHH, Ability to manually control input file prefixes (--radiation-prefix, --soil-preifx, --flow-prefix, --soilmoisture-prefix) for compatiblity with DWD forcast naming scheme; GNU-style short and long option; Prepared output of large-scale forcing profiles (no computation yet); Added preprocessor flag netcdf4 to switch output format between netCDF 3 and 4; Updated netCDF variable names and attributes to comply with PIDS v1.9; Inifor bugfixes: Improved compatibility with older Intel Intel compilers by avoiding implicit array allocation; Added origin_lon/_lat values and correct reference time in dynamic driver global attributes; corresponding PALM changes: adjustments to revised Inifor; variables names in dynamic driver adjusted; enable geostrophic forcing also in offline nested mode; variable names in LES-LES and COSMO offline nesting changed; lateral boundary flags for nesting, in- and outflow conditions renamed

File:
1 edited

Legend:

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

    r2718 r3182  
    2020! Current revisions:
    2121! -----------------
    22 !
     22! Rename variables in offline nesting mode and flags indicating lateral
     23! boundary conditions
    2324!
    2425! Former revisions:
     
    8485
    8586    USE control_parameters,                                                    &
    86         ONLY :  bc_lr_cyc, bc_ns_cyc, force_bound_l, force_bound_n,            &
    87                 force_bound_r, force_bound_s,                                  &
    88                 inflow_l, inflow_n, inflow_r, inflow_s,                        &
    89                 nest_bound_l, nest_bound_n, nest_bound_r, nest_bound_s,        &
    90                 outflow_l, outflow_n, outflow_r, outflow_s
     87        ONLY :  bc_dirichlet_l, bc_dirichlet_n, bc_dirichlet_r,                &
     88                bc_dirichlet_s, bc_lr_cyc, bc_ns_cyc, bc_radiation_l,          &
     89                bc_radiation_n, bc_radiation_r, bc_radiation_s
    9190               
    9291    USE cpulog,                                                                &
     
    184183!-- Neumann-conditions at inflow/outflow/nested boundaries
    185184    IF ( nesting_mode /= 'vertical' )  THEN
    186        IF ( inflow_l .OR. outflow_l .OR. nest_bound_l  .OR.  force_bound_l )   &
    187        THEN
     185       IF ( bc_dirichlet_l  .OR.  bc_radiation_l )  THEN
    188186          DO  i = nbgp, 1, -1
    189187             ar(:,nxl-i) = ar(:,nxl)
    190188          ENDDO
    191189       ENDIF
    192        IF ( inflow_r .OR. outflow_r .OR. nest_bound_r  .OR.  force_bound_r )   &
    193        THEN
     190       IF ( bc_dirichlet_r  .OR.  bc_radiation_r )  THEN
    194191          DO  i = 1, nbgp
    195192             ar(:,nxr+i) = ar(:,nxr)
    196193          ENDDO
    197194       ENDIF
    198        IF ( inflow_s .OR. outflow_s .OR. nest_bound_s  .OR.  force_bound_s )   &
    199        THEN
     195       IF ( bc_dirichlet_s  .OR.  bc_radiation_s )  THEN
    200196          DO  i = nbgp, 1, -1
    201197             ar(nys-i,:) = ar(nys,:)
    202198          ENDDO
    203199       ENDIF
    204        IF ( inflow_n .OR. outflow_n .OR. nest_bound_n  .OR.  force_bound_n )   &
    205        THEN
     200       IF ( bc_dirichlet_n  .OR.  bc_radiation_n )  THEN
    206201          DO  i = 1, nbgp
    207202             ar(nyn+i,:) = ar(nyn,:)
     
    227222
    228223    USE control_parameters,                                                    &
    229         ONLY:  bc_lr_cyc, bc_ns_cyc, grid_level, force_bound_l, force_bound_n, &
    230                force_bound_r, force_bound_s, nest_bound_l, nest_bound_n,       &
    231                nest_bound_r, nest_bound_s
     224        ONLY:  bc_dirichlet_l, bc_dirichlet_n, bc_dirichlet_r,                &
     225               bc_dirichlet_s, bc_lr_cyc, bc_ns_cyc, bc_radiation_l,           &
     226               bc_radiation_n, bc_radiation_r, bc_radiation_s, grid_level
    232227       
    233228    USE cpulog,                                                                &
     
    326321!
    327322!-- Neumann-conditions at inflow/outflow/nested boundaries
    328     IF ( nest_bound_l  .OR.  force_bound_l )  THEN
     323    IF ( bc_dirichlet_l )  THEN
    329324       DO  i = nbgp_local, 1, -1
    330325         ar(:,nxl_l-i) = ar(:,nxl_l)
    331326       ENDDO
    332327    ENDIF
    333     IF ( nest_bound_r  .OR.  force_bound_r )  THEN
     328    IF ( bc_dirichlet_r )  THEN
    334329       DO  i = 1, nbgp_local
    335330          ar(:,nxr_l+i) = ar(:,nxr_l)
    336331       ENDDO
    337332    ENDIF
    338     IF ( nest_bound_s  .OR.  force_bound_s )  THEN
     333    IF ( bc_dirichlet_s )  THEN
    339334       DO  i = nbgp_local, 1, -1
    340335         ar(nys_l-i,:) = ar(nys_l,:)
    341336       ENDDO
    342337    ENDIF
    343     IF ( nest_bound_n  .OR.  force_bound_n )  THEN
     338    IF ( bc_dirichlet_n )  THEN
    344339       DO  i = 1, nbgp_local
    345340         ar(nyn_l+i,:) = ar(nyn_l,:)
Note: See TracChangeset for help on using the changeset viewer.