- Timestamp:
- Oct 26, 2017 1:19:46 PM (7 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/pmc_interface_mod.f90
r2359 r2582 26 26 ! ----------------- 27 27 ! $Id$ 28 ! Resetting of e within buildings / topography in pmci_parent_datatrans removed 29 ! as unnecessary since e is not anterpolated, and as incorrect since it overran 30 ! the default Neumann condition (bc_e_b). 31 ! 32 ! 2359 2017-08-21 07:50:30Z hellstea 28 33 ! A minor indexing error in pmci_init_loglaw_correction is corrected. 29 34 ! … … 3640 3645 3641 3646 ! 3642 !-- Inside buildings/topography reset velocities and TKEback to zero.3643 !-- Other scalars (pt, q, s, km, kh, p, sa, ...) are ignored at3647 !-- Inside buildings/topography reset velocities back to zero. 3648 !-- Scalars (pt, q, s, km, kh, p, sa, ...) are ignored at 3644 3649 !-- present, maybe revise later. 3650 !-- Resetting of e is removed as unnecessary since e is not 3651 !-- anterpolated, and as incorrect since it overran the default 3652 !-- Neumann condition (bc_e_b). 3645 3653 DO i = nxlg, nxrg 3646 3654 DO j = nysg, nyng … … 3652 3660 w(k,j,i) = MERGE( w(k,j,i), 0.0_wp, & 3653 3661 BTEST( wall_flags_0(k,j,i), 3 ) ) 3654 e(k,j,i) = MERGE( e(k,j,i), 0.0_wp, &3655 BTEST( wall_flags_0(k,j,i), 0 ) )3656 3662 ! 3657 3663 !-- TO_DO: zero setting of temperature within topography creates -
palm/trunk/SOURCE/urban_surface_mod.f90
r2544 r2582 26 26 ! ----------------- 27 27 ! $Id$ 28 ! Workaround for gnufortran compiler added in usm_calc_svf. CALL MPI_Win_allocate is 29 ! replaced by CALL MPI_Win_allocate_cptr if defined ( __gnufortran ). 30 ! 31 ! 2544 2017-10-13 18:09:32Z maronga 28 32 ! Date and time quantities are now read from date_and_time_mod. Solar constant is 29 33 ! read from radiation_model_mod … … 1923 1927 !-- Argument X of function c_sizeof(X) needs arbitrary REAL(wp) value, set to 1.0_wp for now 1924 1928 size_lad_rma = c_sizeof(1.0_wp)*nnx*nny*nzu 1925 CALL MPI_Win_allocate(size_lad_rma, c_sizeof(1.0_wp), minfo, comm2d, & 1926 lad_s_rma_p, win_lad, ierr) 1929 1930 #if defined( __gfortran ) 1931 ! 1932 !-- Workaround for the gfortran compiler. 1933 CALL MPI_Win_allocate_cptr( size_lad_rma, wp, minfo, comm2d, & 1934 lad_s_rma_p, win_lad, ierr ) 1935 #else 1936 CALL MPI_Win_allocate( size_lad_rma, c_sizeof(1.0_wp), minfo, & 1937 comm2d, lad_s_rma_p, win_lad, ierr ) 1938 #endif 1927 1939 CALL c_f_pointer(lad_s_rma_p, lad_s_rma, (/ nzu, nny, nnx /)) 1928 1940 usm_lad(nzub:, nys:, nxl:) => lad_s_rma(:,:,:)
Note: See TracChangeset
for help on using the changeset viewer.