Changeset 95 for palm/trunk/SOURCE/check_parameters.f90
- Timestamp:
- Jun 2, 2007 4:48:38 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/check_parameters.f90
r94 r95 1005 1005 1006 1006 ! 1007 !-- Boundary conditions for salinity 1008 IF ( ocean ) THEN 1009 IF ( bc_sa_t == 'dirichlet' ) THEN 1010 ibc_sa_t = 0 1011 ELSEIF ( bc_sa_t == 'neumann' ) THEN 1012 ibc_sa_t = 1 1013 ELSE 1014 IF ( myid == 0 ) THEN 1015 PRINT*, '+++ check_parameters:' 1016 PRINT*, ' unknown boundary condition: bc_sa_t = ', bc_sa_t 1017 ENDIF 1018 CALL local_stop 1019 ENDIF 1020 1021 IF ( top_salinityflux == 9999999.9 ) constant_top_salinityflux = .FALSE. 1022 1023 ! 1024 !-- A fixed salinity at the top implies Dirichlet boundary condition for 1025 !-- salinity. In this case specification of a constant salinity flux is 1026 !-- forbidden. 1027 IF ( ibc_sa_t == 0 .AND. constant_top_salinityflux .AND. & 1028 top_salinityflux /= 0.0 ) THEN 1029 IF ( myid == 0 ) THEN 1030 PRINT*, '+++ check_parameters:' 1031 PRINT*, ' boundary_condition: bc_sa_t = ', bc_sa_t 1032 PRINT*, ' is not allowed with constant_top_salinityflux = ', & 1033 '.TRUE.' 1034 ENDIF 1035 CALL local_stop 1036 ENDIF 1037 1038 ENDIF 1039 1040 ! 1007 1041 !-- In case of humidity or passive scalar, set boundary conditions for total 1008 1042 !-- water content / scalar
Note: See TracChangeset
for help on using the changeset viewer.