Changeset 4899 for palm/trunk
- Timestamp:
- Mar 4, 2021 4:42:21 PM (4 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/chemistry_model_mod.f90
r4897 r4899 26 26 ! ----------------- 27 27 ! $Id$ 28 ! small adjustments regarding r4897 29 ! 30 ! 4897 2021-03-04 09:08:58Z forkel 28 31 ! Few informative messages removed, small changes in comments and chemistry header 29 !30 32 ! 31 33 ! 4895 2021-03-03 15:39:08Z suehring … … 799 801 ! 800 802 !-- Surface conditions: 801 IF ( ibc_cs_b == 0 ) THEN ! Dirichlet 802 ! 803 IF ( ibc_cs_b == 0 ) THEN 804 ! 805 !-- Dirichlet: 803 806 !-- Run loop over all non-natural and natural walls. Note, in wall-datatype the k 804 807 !-- coordinate belongs to the atmospheric grid point, therefore, set s_p at k-1 … … 806 809 !$OMP PARALLEL DO PRIVATE( i, j, k ) 807 810 DO m = 1, bc_h(l)%ns 808 809 810 811 i = bc_h(l)%i(m) 812 j = bc_h(l)%j(m) 813 k = bc_h(l)%k(m) 811 814 chem_species(lsp)%conc_p(k+bc_h(l)%koff,j,i) = & 812 815 chem_species(lsp)%conc(k+bc_h(l)%koff,j,i) … … 814 817 ENDDO 815 818 816 ELSEIF ( ibc_cs_b == 1 ) THEN ! Neumann 817 ! 819 ELSEIF ( ibc_cs_b == 1 ) THEN 820 ! 821 !-- Neumann: 818 822 DO l = 0, 1 819 823 !$OMP PARALLEL DO PRIVATE( i, j, k ) … … 825 829 ENDDO 826 830 ENDDO 831 827 832 ENDIF 828 833 829 ENDDO ! end lsp loop834 ENDDO 830 835 831 836 ! … … 1242 1247 IF ( call_chem_at_all_substeps ) THEN 1243 1248 message_string = & 1244 ' Warning: call_chem_at_all_substeps shoukld only be used for test purposes!'1245 CALL message( 'chem_check_parameters', 'PA0522', 0, 0, 0, 6, 0 )1249 'call_chem_at_all_substeps should only be used for test purposes' 1250 CALL message( 'chem_check_parameters', 'PA0522', 0, 1, 0, 6, 0 ) 1246 1251 ENDIF 1247 1252 ! … … 1855 1860 ! 1856 1861 !-- Emission mode info 1857 WRITE ( io, 4 ) emiss_read_legacy_mode 1862 WRITE( io, 4 ) emiss_read_legacy_mode 1863 ! 1858 1864 !-- At the moment the evaluation is done with both emiss_lod and mode_emis but once salsa has been 1859 1865 !-- migrated to emiss_lod the .OR. mode_emis conditions can be removed (ecc 20190513) … … 2119 2125 !-- applied near these boundaries. 2120 2126 !-- To get rid-off this, set-up additional flags that control the order of the scalar advection 2121 !-- scheme near the lateral boundaries for passive scalars with 2127 !-- scheme near the lateral boundaries for passive scalars with non-cyclic bcs 2122 2128 IF ( scalar_advec == 'ws-scheme' ) THEN 2123 2129 ALLOCATE( cs_advc_flags_s(nzb:nzt+1,nysg:nyng,nxlg:nxrg) ) … … 2599 2605 2600 2606 ! 2601 !-- Conflict resolution for emiss_lod and mode_emis 2602 !-- 1) if emiss_lod is defined, have mode_emis assume same setting as emiss_lod 2603 !-- 2) if emiss_lod it not defined, have emiss_lod assuem same setting as mode_emis 2604 !-- this check is in place to retain backward compatibility with salsa until the code is migrated 2605 !-- completed to emiss_lod 2606 !-- note that 2607 !-- Conflict resolution for emiss_lod and mode_emis. 2608 !-- 1) if emiss_lod is defined, have mode_emis assume same setting as emiss_lod 2609 !-- 2) if emiss_lod it not defined, have emiss_lod assuem same setting as mode_emis 2610 !-- This check is in place to retain backward compatibility with salsa until the code is 2611 !-- migrated completely to emiss_lod. 2607 2612 IF ( emiss_lod >= 0 ) THEN 2608 2613 2609 2614 SELECT CASE ( emiss_lod ) 2610 2615 ! 2611 !-- Synchronize mode_emis to defined emiss_lod (mode_emis will be depreciated in future releases) 2616 !-- Synchronize mode_emis to defined emiss_lod (mode_emis will be depreciated in 2617 !-- future releases) 2612 2618 CASE (0) !- parameterized mode 2613 2619 mode_emis = 'PARAMETERIZED' … … 2849 2855 !-- It would have been nice to have time measurements for chemistry and deposition here. 2850 2856 !-- Unfortunately measurements within i,j loops degrade performance ince they are calles so often 2851 !-- and the counter for this measurement gets extremely huge values. Therefore, no measurements here. 2857 !-- and the counter for this measurement gets extremely huge values. Therefore, no measurements 2858 !-- here. 2852 2859 IF ( intermediate_timestep_count == 1 .OR. call_chem_at_all_substeps ) THEN 2853 2860 2854 2861 IF ( chem_gasphase_on ) THEN 2855 !$OMP MASTER2856 !$OMP END MASTER2857 2862 CALL chem_integrate( i, j ) 2858 !$OMP MASTER2859 !$OMP END MASTER2860 2863 ENDIF 2861 2864 2862 2865 IF ( deposition_dry ) THEN 2863 !$OMP MASTER2864 !$OMP END MASTER2865 2866 CALL chem_depo( i, j ) 2866 !$OMP MASTER2867 !$OMP END MASTER2868 2867 ENDIF 2869 2868 -
palm/trunk/SOURCE/radiation_model_mod.f90
r4898 r4899 27 27 ! ----------------- 28 28 ! $Id$ 29 ! bugfix for r4898 (missing preprocessor directive added) 30 ! 31 ! 4898 2021-03-04 15:49:52Z raasch 29 32 ! MPI-IO for sky view factors implemented 30 33 ! … … 9915 9918 INTEGER(iwp) :: i !< 9916 9919 INTEGER(iwp) :: ic !< 9920 #if defined( __parallel ) 9917 9921 INTEGER(iwp) :: ierr !< 9922 #endif 9918 9923 INTEGER(iwp) :: ind !< 9919 9924 INTEGER(iwp) :: ipcgb !<
Note: See TracChangeset
for help on using the changeset viewer.