- Timestamp:
- Feb 7, 2018 2:48:48 PM (7 years ago)
- Location:
- palm/trunk
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/pmc_interface_mod.f90
r2773 r2795 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Bugfix in computation of the anterpolation under-relaxation functions. 28 ! 29 ! 2773 2018-01-30 14:12:54Z suehring 27 30 ! - Nesting for chemical species 28 31 ! - Bugfix in setting boundary condition at downward-facing walls for passive … … 2632 2635 IF ( nesting_mode /= 'vertical' ) THEN 2633 2636 DO ii = icl, icr 2634 IF ( nest_bound_l ) THEN2637 IF ( ifuu(ii) < ( nx + 1 ) / 2 ) THEN 2635 2638 xi = ( MAX( 0.0_wp, ( cg%coord_x(ii) - & 2636 lower_left_coord_x ) ) / anterp_relax_length_l )**4 2637 ELSEIF ( nest_bound_r ) THEN 2639 lower_left_coord_x ) ) / anterp_relax_length_l )**4 2640 frax(ii) = xi / ( 1.0_wp + xi ) 2641 ELSE 2638 2642 xi = ( MAX( 0.0_wp, ( lower_left_coord_x + ( nx + 1 ) * dx - & 2639 2643 cg%coord_x(ii) ) ) / & 2640 2644 anterp_relax_length_r )**4 2645 frax(ii) = xi / ( 1.0_wp + xi ) 2646 ENDIF 2647 ENDDO 2648 2649 2650 DO jj = jcs, jcn 2651 IF ( jfuv(jj) < ( ny + 1 ) / 2 ) THEN 2652 eta = ( MAX( 0.0_wp, ( cg%coord_y(jj) - & 2653 lower_left_coord_y ) ) / anterp_relax_length_s )**4 2654 fray(jj) = eta / ( 1.0_wp + eta ) 2641 2655 ELSE 2642 xi = 999999.9_wp2643 ENDIF2644 frax(ii) = xi / ( 1.0_wp + xi )2645 ENDDO2646 2647 2648 DO jj = jcs, jcn2649 IF ( nest_bound_s ) THEN2650 eta = ( MAX( 0.0_wp, ( cg%coord_y(jj) - &2651 lower_left_coord_y ) ) / anterp_relax_length_s )**42652 ELSEIF ( nest_bound_n ) THEN2653 2656 eta = ( MAX( 0.0_wp, ( lower_left_coord_y + ( ny + 1 ) * dy - & 2654 2657 cg%coord_y(jj)) ) / & 2655 2658 anterp_relax_length_n )**4 2656 ELSE 2657 eta = 999999.9_wp 2659 fray(jj) = eta / ( 1.0_wp + eta ) 2658 2660 ENDIF 2659 fray(jj) = eta / ( 1.0_wp + eta )2660 2661 ENDDO 2661 2662 ENDIF -
palm/trunk/UTIL/Makefile
r2692 r2795 49 49 CFLAGS = -O 50 50 51 F90 = 52 F90_SER = 53 COPT = 54 F90FLAGS = 55 LDFLAGS = 51 F90 = mpif90 52 F90_SER = gfortran 53 COPT = -cpp -DMPI_REAL=MPI_DOUBLE_PRECISION -DMPI_2REAL=MPI_2DOUBLE_PRECISION -D__netcdf 54 F90FLAGS = -fcheck=all -fdefault-real-8 -fconvert=little-endian 55 LDFLAGS = -fcheck=all -fdefault-real-8 -fconvert=little-endian 56 57 PKG_CONFIG := PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config 58 NETCDF_F90FLAGS != $(PKG_CONFIG) --cflags netcdf-fortran 59 NETCDF_LDFLAGS != $(PKG_CONFIG) --libs netcdf-fortran 60 F90FLAGS += $(NETCDF_F90FLAGS) 61 LDFLAGS += $(NETCDF_LDFLAGS) 56 62 57 63 .SUFFIXES: $(SUFFIXES) .f90
Note: See TracChangeset
for help on using the changeset viewer.