Ignore:
Timestamp:
Feb 27, 2020 3:24:30 PM (4 years ago)
Author:
raasch
Message:

serial (non-MPI) test case added, several bugfixes for the serial mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE/surface_coupler.f90

    r4360 r4429  
    2525! -----------------
    2626! $Id$
     27! bugfix: preprocessor directives rearranged for serial mode
     28!
     29! 4360 2020-01-07 11:25:50Z suehring
    2730! Corrected "Former revisions" section
    2831!
     
    3841!------------------------------------------------------------------------------!
    3942 SUBROUTINE surface_coupler
     43#if defined( __parallel )
    4044 
    4145
     
    7882    REAL(wp), DIMENSION(nysg:nyng,nxlg:nxrg) ::  surface_flux !< dummy array for surface fluxes on 2D grid
    7983
    80 
    81 #if defined( __parallel )
    8284
    8385    CALL cpu_log( log_point(39), 'surface_coupler', 'start' )
     
    454456    CALL cpu_log( log_point(39), 'surface_coupler', 'stop' )
    455457
    456 #endif
    457458
    458459     CONTAINS
     
    613614        END SUBROUTINE transfer_2D_to_1D_unequal
    614615
     616#endif
    615617  END SUBROUTINE surface_coupler
    616618
     
    622624!> @todo Missing subroutine description.
    623625!------------------------------------------------------------------------------!
     626#if defined( __parallel )
     627
    624628  SUBROUTINE interpolate_to_atmos( tag )
    625 
    626 #if defined( __parallel )
    627629
    628630    USE arrays_3d,                                                             &
     
    701703    CALL MPI_BARRIER( comm2d, ierr )
    702704
     705  END SUBROUTINE interpolate_to_atmos
     706
    703707#endif
    704 
    705   END SUBROUTINE interpolate_to_atmos
    706708
    707709
     
    711713!> @todo Missing subroutine description.
    712714!------------------------------------------------------------------------------!
     715#if defined( __parallel )
     716
    713717  SUBROUTINE interpolate_to_ocean( tag )
    714 
    715 #if defined( __parallel )
    716718
    717719    USE arrays_3d,                                                             &
     
    786788    CALL MPI_BARRIER( comm2d, ierr ) 
    787789
     790  END SUBROUTINE interpolate_to_ocean
     791
    788792#endif
    789 
    790   END SUBROUTINE interpolate_to_ocean
Note: See TracChangeset for help on using the changeset viewer.