Changeset 4029 for palm/trunk/SOURCE/pmc_interface_mod.f90
- Timestamp:
- Jun 14, 2019 2:04:35 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/pmc_interface_mod.f90
r4026 r4029 25 25 ! ----------------- 26 26 ! $Id$ 27 ! nest_chemistry switch removed 28 ! 29 ! 4026 2019-06-12 16:50:15Z suehring 27 30 ! Masked topography at boundary grid points in mass conservation, in order to 28 31 ! avoid that mean velocities within topography are imposed … … 465 468 466 469 USE chemistry_model_mod, & 467 ONLY: nest_chemistry,spec_conc_2470 ONLY: spec_conc_2 468 471 469 472 USE cpulog, & … … 1429 1432 ENDIF 1430 1433 1431 IF ( air_chemistry .AND. nest_chemistry) THEN1434 IF ( air_chemistry ) THEN 1432 1435 DO n = 1, nspec 1433 1436 CALL pmc_set_dataarray_name( 'parent', 'chem_' // TRIM( chem_species(n)%name ), & … … 2546 2549 ! 2547 2550 !-- Chemistry, depends on number of species 2548 IF ( air_chemistry .AND. nest_chemistry) pmc_max_array = pmc_max_array + nspec2551 IF ( air_chemistry ) pmc_max_array = pmc_max_array + nspec 2549 2552 ! 2550 2553 !-- SALSA, depens on the number aerosol size bins and chemical components + … … 2623 2626 IF ( TRIM(name) == "s" ) p_3d_sec => s_2 2624 2627 IF ( TRIM(name) == "diss" ) p_3d_sec => diss_2 2625 IF ( INDEX( TRIM(name), "chem_" ) /= 0 2626 IF ( INDEX( TRIM(name), "an_" ) /= 0) p_3d_sec => nconc_2(:,:,:,n)2627 IF ( INDEX( TRIM(name), "am_" ) /= 0 ) p_3d_sec => mconc_2(:,:,:,n)2628 IF ( INDEX( TRIM(name), "sg_" ) /= 0 .AND. .NOT. salsa_gases_from_chem ) &2629 p_3d_sec => gconc_2(:,:,:,n)2628 IF ( INDEX( TRIM(name), "chem_" ) /= 0 ) p_3d_sec => spec_conc_2(:,:,:,n) 2629 IF ( INDEX( TRIM(name), "an_" ) /= 0 ) p_3d_sec => nconc_2(:,:,:,n) 2630 IF ( INDEX( TRIM(name), "am_" ) /= 0 ) p_3d_sec => mconc_2(:,:,:,n) 2631 IF ( INDEX( TRIM(name), "sg_" ) /= 0 .AND. .NOT. salsa_gases_from_chem ) & 2632 p_3d_sec => gconc_2(:,:,:,n) 2630 2633 2631 2634 IF ( ASSOCIATED( p_3d ) ) THEN … … 2953 2956 ENDIF 2954 2957 2955 IF ( air_chemistry .AND. nest_chemistry) THEN2958 IF ( air_chemistry ) THEN 2956 2959 DO n = 1, nspec 2957 2960 CALL pmci_interp_1sto_all ( chem_species(n)%conc, chem_spec_c(:,:,:,n), & … … 3630 3633 ENDIF 3631 3634 3632 IF ( air_chemistry .AND. nest_chemistry) THEN3635 IF ( air_chemistry ) THEN 3633 3636 DO n = 1, nspec 3634 3637 CALL pmci_interp_1sto_lr( chem_species(n)%conc, chem_spec_c(:,:,:,n), & … … 3701 3704 ENDIF 3702 3705 3703 IF ( air_chemistry .AND. nest_chemistry) THEN3706 IF ( air_chemistry ) THEN 3704 3707 DO n = 1, nspec 3705 3708 CALL pmci_interp_1sto_lr( chem_species(n)%conc, chem_spec_c(:,:,:,n), & … … 3772 3775 ENDIF 3773 3776 3774 IF ( air_chemistry .AND. nest_chemistry) THEN3777 IF ( air_chemistry ) THEN 3775 3778 DO n = 1, nspec 3776 3779 CALL pmci_interp_1sto_sn( chem_species(n)%conc, chem_spec_c(:,:,:,n), & … … 3843 3846 ENDIF 3844 3847 3845 IF ( air_chemistry .AND. nest_chemistry) THEN3848 IF ( air_chemistry ) THEN 3846 3849 DO n = 1, nspec 3847 3850 CALL pmci_interp_1sto_sn( chem_species(n)%conc, chem_spec_c(:,:,:,n), & … … 3909 3912 ENDIF 3910 3913 3911 IF ( air_chemistry .AND. nest_chemistry) THEN3914 IF ( air_chemistry ) THEN 3912 3915 DO n = 1, nspec 3913 3916 CALL pmci_interp_1sto_t( chem_species(n)%conc, chem_spec_c(:,:,:,n), & … … 4000 4003 ENDIF 4001 4004 4002 IF ( air_chemistry .AND. nest_chemistry) THEN4005 IF ( air_chemistry ) THEN 4003 4006 DO n = 1, nspec 4004 4007 CALL pmci_anterp_tophat( chem_species(n)%conc, chem_spec_c(:,:,:,n), & … … 5052 5055 ! 5053 5056 !-- Set Neumann boundary conditions for chemical species 5054 IF ( air_chemistry .AND. nest_chemistry) THEN5057 IF ( air_chemistry ) THEN 5055 5058 IF ( ibc_cs_b == 1 ) THEN 5056 5059 DO n = 1, nspec
Note: See TracChangeset
for help on using the changeset viewer.