Ignore:
Timestamp:
Dec 10, 2019 3:46:36 PM (4 years ago)
Author:
motisi
Message:

Renamed wall_flags_0 to wall_flags_static_0

File:
1 edited

Legend:

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

    r4321 r4329  
    2525! -----------------
    2626! $Id$
     27! Renamed wall_flags_0 to wall_flags_static_0
     28!
     29! 4321 2019-12-04 10:26:38Z pavelkrc
    2730! Further revise check for surface fractions
    2831!
     
    34013404
    34023405       USE indices,                                                            &
    3403            ONLY:  nxl, nxr, nyn, nys, wall_flags_0
     3406           ONLY:  nxl, nxr, nyn, nys, wall_flags_static_0
    34043407
    34053408       IMPLICIT NONE
     
    38673870!--          Check if building_type is set at each building and vice versa.
    38683871!--          Please note, buildings are already processed and filtered.
    3869 !--          For this reason, consistency checks are based on wall_flags_0
     3872!--          For this reason, consistency checks are based on wall_flags_static_0
    38703873!--          rather than buildings_f (buildings are represented by bit 6 in
    3871 !--          wall_flags_0).
     3874!--          wall_flags_static_0).
    38723875             IF ( building_type_f%from_file  .AND.  buildings_f%from_file )  THEN
    3873                 IF ( ANY( BTEST ( wall_flags_0(:,j,i), 6 ) )  .AND.            &
     3876                IF ( ANY( BTEST ( wall_flags_static_0(:,j,i), 6 ) )  .AND.            &
    38743877                     building_type_f%var(j,i) == building_type_f%fill  .OR.    &
    3875                .NOT. ANY( BTEST ( wall_flags_0(:,j,i), 6 ) )  .AND.            &
     3878               .NOT. ANY( BTEST ( wall_flags_static_0(:,j,i), 6 ) )  .AND.            &
    38763879                     building_type_f%var(j,i) /= building_type_f%fill )  THEN
    38773880                   WRITE( message_string, * ) 'Each location where a ' //      &
     
    38883891!--          is set and vice versa.
    38893892             IF ( buildings_f%from_file )  THEN
    3890                 IF ( ANY( BTEST ( wall_flags_0(:,j,i), 6 ) )  .AND.           &
     3893                IF ( ANY( BTEST ( wall_flags_static_0(:,j,i), 6 ) )  .AND.           &
    38913894                     building_id_f%var(j,i) == building_id_f%fill  .OR.       &
    3892                .NOT. ANY( BTEST ( wall_flags_0(:,j,i), 6 ) )  .AND.           &
     3895               .NOT. ANY( BTEST ( wall_flags_static_0(:,j,i), 6 ) )  .AND.           &
    38933896                     building_id_f%var(j,i) /= building_id_f%fill )  THEN
    38943897                   WRITE( message_string, * ) 'Each location where a ' //     &
     
    39023905!--          Check if building ID is set where a bulding is defined.
    39033906             IF ( buildings_f%from_file )  THEN
    3904                 IF ( ANY( BTEST ( wall_flags_0(:,j,i), 6 ) )  .AND.           &
     3907                IF ( ANY( BTEST ( wall_flags_static_0(:,j,i), 6 ) )  .AND.           &
    39053908                     building_id_f%var(j,i) == building_id_f%fill )  THEN
    39063909                   WRITE( message_string, * ) 'Each building grid point '//   &
Note: See TracChangeset for help on using the changeset viewer.