Changeset 4517 for palm/trunk/SOURCE/surface_data_output_mod.f90
- Timestamp:
- May 3, 2020 2:29:30 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/surface_data_output_mod.f90
r4502 r4517 25 25 ! ----------------- 26 26 ! $Id$ 27 ! added restart with MPI-IO for reading local arrays 28 ! 29 ! 4502 2020-04-17 16:14:16Z schwenkel 27 30 ! Implementation of ice microphysics 28 31 ! … … 147 150 148 151 USE restart_data_mpi_io_mod, & 149 ONLY: r rd_mpi_io, wrd_mpi_io152 ONLY: rd_mpi_io_check_array, rrd_mpi_io, wrd_mpi_io 150 153 151 154 USE surface_mod, & … … 267 270 268 271 INTERFACE surface_data_output_rrd_local 269 MODULE PROCEDURE surface_data_output_rrd_local 272 MODULE PROCEDURE surface_data_output_rrd_local_ftn 273 MODULE PROCEDURE surface_data_output_rrd_local_mpi 270 274 END INTERFACE surface_data_output_rrd_local 271 275 … … 4883 4887 ! Description: 4884 4888 ! ------------ 4885 !> This routine reads the respective restart data.4889 !> Read module-specific local restart data arrays (Fortran binary format). 4886 4890 !------------------------------------------------------------------------------! 4887 SUBROUTINE surface_data_output_rrd_local ( found )4891 SUBROUTINE surface_data_output_rrd_local_ftn( found ) 4888 4892 4889 4893 … … 4895 4899 LOGICAL, INTENT(OUT) :: found 4896 4900 4897 ! 4898 !-- Here the reading of user-defined restart data follows: 4899 !-- Sample for user-defined output 4901 4900 4902 found = .TRUE. 4901 4903 … … 4912 4914 4913 4915 4914 END SUBROUTINE surface_data_output_rrd_local 4916 END SUBROUTINE surface_data_output_rrd_local_ftn 4917 4918 4919 !------------------------------------------------------------------------------! 4920 ! Description: 4921 ! ------------ 4922 !> Read module-specific local restart data arrays (MPI-IO). 4923 !------------------------------------------------------------------------------! 4924 SUBROUTINE surface_data_output_rrd_local_mpi 4925 4926 IMPLICIT NONE 4927 4928 LOGICAL :: array_found !< 4929 4930 4931 CALL rd_mpi_io_check_array( 'surfaces%var_av' , found = array_found ) 4932 4933 !> does not work this way: surface%var_av has non-standard dimensions 4934 ! IF ( array_found ) THEN 4935 ! IF ( .NOT. ALLOCATED( surfaces%var_av ) ) ALLOCATE( ....... ) 4936 ! CALL rrd_mpi_io( 'surfaces%var_av', surfaces%var_av ) 4937 ! ENDIF 4938 4939 END SUBROUTINE surface_data_output_rrd_local_mpi 4940 4915 4941 4916 4942 !------------------------------------------------------------------------------! … … 4936 4962 END SUBROUTINE surface_data_output_wrd_global 4937 4963 4964 4938 4965 !------------------------------------------------------------------------------! 4939 4966 ! Description:
Note: See TracChangeset
for help on using the changeset viewer.