@@ -2312,7 +2312,7 @@ subroutine initialize_MOM(Time, Time_init, param_file, dirs, CS, &
2312
2312
call get_param(param_file, " MOM" , " USE_POROUS_BARRIER" , CS% use_porbar, &
2313
2313
" If true, use porous barrier to constrain the widths " // &
2314
2314
" and face areas at the edges of the grid cells. " , &
2315
- default= .true. ) ! The default should be false after tests.
2315
+ default= .false. )
2316
2316
call get_param(param_file, " MOM" , " BATHYMETRY_AT_VEL" , bathy_at_vel, &
2317
2317
" If true, there are separate values for the basin depths " // &
2318
2318
" at velocity points. Otherwise the effects of topography " // &
@@ -2799,10 +2799,10 @@ subroutine initialize_MOM(Time, Time_init, param_file, dirs, CS, &
2799
2799
CS% time_in_cycle = 0.0 ; CS% time_in_thermo_cycle = 0.0
2800
2800
2801
2801
! allocate porous topography variables
2802
- allocate (CS% pbv% por_face_areaU(IsdB:IedB,jsd:jed,nz)) ; CS % pbv % por_face_areaU(:,:,:) = 1.0
2803
- allocate (CS% pbv% por_face_areaV(isd:ied,JsdB:JedB,nz)) ; CS % pbv % por_face_areaV(:,:,:) = 1.0
2804
- allocate (CS% pbv% por_layer_widthU(IsdB:IedB,jsd:jed,nz+1 )) ; CS % pbv % por_layer_widthU(:,:,:) = 1.0
2805
- allocate (CS% pbv% por_layer_widthV(isd:ied,JsdB:JedB,nz+1 )) ; CS % pbv % por_layer_widthV(:,:,:) = 1.0
2802
+ allocate (CS% pbv% por_face_areaU(IsdB:IedB,jsd:jed,nz), source = 1.0 )
2803
+ allocate (CS% pbv% por_face_areaV(isd:ied,JsdB:JedB,nz), source = 1.0 )
2804
+ allocate (CS% pbv% por_layer_widthU(IsdB:IedB,jsd:jed,nz+1 ), source = 1.0 )
2805
+ allocate (CS% pbv% por_layer_widthV(isd:ied,JsdB:JedB,nz+1 ), source = 1.0 )
2806
2806
2807
2807
! Use the Wright equation of state by default, unless otherwise specified
2808
2808
! Note: this line and the following block ought to be in a separate
0 commit comments