Changeset 1970
- Timestamp:
- Jul 18, 2016 2:27:12 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/check_parameters.f90
r1963 r1970 19 19 ! Current revisions: 20 20 ! ----------------- 21 ! 21 ! Bugfix, check for ibc_q_b and constant_waterflux in case of land-surface scheme 22 22 ! 23 23 ! Former revisions: … … 3921 3921 !-- A given surface value implies Dirichlet boundary condition for 3922 3922 !-- the respective quantity. In this case specification of a constant flux is 3923 !-- forbidden. 3924 IF ( ibc_b == 0 .AND. constant_flux ) THEN 3925 message_string = 'boundary condition: bc_' // TRIM( sq ) // '_b ' // & 3926 '= "' // TRIM( bc_b ) // '" is not allowed wi' // & 3927 'th prescribed surface flux' 3928 CALL message( 'check_parameters', err_nr_3, 1, 2, 0, 6, 0 ) 3923 !-- forbidden. However, an exception is made for large-scale forcing as well 3924 !-- as land-surface model. 3925 IF ( .NOT. land_surface .AND. .NOT. large_scale_forcing ) THEN 3926 IF ( ibc_b == 0 .AND. constant_flux ) THEN 3927 message_string = 'boundary condition: bc_' // TRIM( sq ) // '_b ' // & 3928 '= "' // TRIM( bc_b ) // '" is not allowed with ' // & 3929 'prescribed surface flux' 3930 CALL message( 'check_parameters', err_nr_3, 1, 2, 0, 6, 0 ) 3931 ENDIF 3929 3932 ENDIF 3930 3933 IF ( constant_waterflux .AND. surface_initial_change /= 0.0_wp ) THEN
Note: See TracChangeset
for help on using the changeset viewer.