Changeset 4346 for palm/trunk/SOURCE/netcdf_data_input_mod.f90
- Timestamp:
- Dec 18, 2019 11:55:56 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/netcdf_data_input_mod.f90
r4329 r4346 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Introduction of wall_flags_total_0, which currently sets bits based on static 28 ! topography information used in wall_flags_static_0 29 ! 30 ! 4329 2019-12-10 15:46:36Z motisi 27 31 ! Renamed wall_flags_0 to wall_flags_static_0 28 32 ! … … 3404 3408 3405 3409 USE indices, & 3406 ONLY: nxl, nxr, nyn, nys, wall_flags_ static_03410 ONLY: nxl, nxr, nyn, nys, wall_flags_total_0 3407 3411 3408 3412 IMPLICIT NONE … … 3870 3874 !-- Check if building_type is set at each building and vice versa. 3871 3875 !-- Please note, buildings are already processed and filtered. 3872 !-- For this reason, consistency checks are based on wall_flags_ static_03876 !-- For this reason, consistency checks are based on wall_flags_total_0 3873 3877 !-- rather than buildings_f (buildings are represented by bit 6 in 3874 !-- wall_flags_ static_0).3878 !-- wall_flags_total_0). 3875 3879 IF ( building_type_f%from_file .AND. buildings_f%from_file ) THEN 3876 IF ( ANY( BTEST ( wall_flags_ static_0(:,j,i), 6 ) ) .AND.&3880 IF ( ANY( BTEST ( wall_flags_total_0(:,j,i), 6 ) ) .AND. & 3877 3881 building_type_f%var(j,i) == building_type_f%fill .OR. & 3878 .NOT. ANY( BTEST ( wall_flags_ static_0(:,j,i), 6 ) ) .AND.&3882 .NOT. ANY( BTEST ( wall_flags_total_0(:,j,i), 6 ) ) .AND. & 3879 3883 building_type_f%var(j,i) /= building_type_f%fill ) THEN 3880 3884 WRITE( message_string, * ) 'Each location where a ' // & … … 3891 3895 !-- is set and vice versa. 3892 3896 IF ( buildings_f%from_file ) THEN 3893 IF ( ANY( BTEST ( wall_flags_ static_0(:,j,i), 6 ) ) .AND.&3897 IF ( ANY( BTEST ( wall_flags_total_0(:,j,i), 6 ) ) .AND. & 3894 3898 building_id_f%var(j,i) == building_id_f%fill .OR. & 3895 .NOT. ANY( BTEST ( wall_flags_ static_0(:,j,i), 6 ) ) .AND.&3899 .NOT. ANY( BTEST ( wall_flags_total_0(:,j,i), 6 ) ) .AND. & 3896 3900 building_id_f%var(j,i) /= building_id_f%fill ) THEN 3897 3901 WRITE( message_string, * ) 'Each location where a ' // & … … 3905 3909 !-- Check if building ID is set where a bulding is defined. 3906 3910 IF ( buildings_f%from_file ) THEN 3907 IF ( ANY( BTEST ( wall_flags_ static_0(:,j,i), 6 ) ) .AND.&3911 IF ( ANY( BTEST ( wall_flags_total_0(:,j,i), 6 ) ) .AND. & 3908 3912 building_id_f%var(j,i) == building_id_f%fill ) THEN 3909 3913 WRITE( message_string, * ) 'Each building grid point '// &
Note: See TracChangeset
for help on using the changeset viewer.