Changeset 147 for palm/trunk/SOURCE/init_3d_model.f90
- Timestamp:
- Feb 1, 2008 12:41:46 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/init_3d_model.f90
r146 r147 8 8 ! ----------------- 9 9 ! Allocation of hom_sum moved to parin, initialization of spectrum_x|y directly 10 ! after allocating theses arrays 10 ! after allocating theses arrays, 11 ! read data for recycling added as new initialization option 11 12 ! 12 13 ! Former revisions: … … 366 367 ! 367 368 !-- Initialize model variables 368 IF ( TRIM( initializing_actions ) /= 'read_restart_data' ) THEN 369 IF ( TRIM( initializing_actions ) /= 'read_restart_data' .AND. & 370 TRIM( initializing_actions ) /= 'read_data_for_recycling' ) THEN 369 371 ! 370 372 !-- First model run of a possible job queue. … … 907 909 ENDIF 908 910 909 ELSEIF ( TRIM( initializing_actions ) == 'read_restart_data' ) & 911 ELSEIF ( TRIM( initializing_actions ) == 'read_restart_data' .OR. & 912 TRIM( initializing_actions ) == 'read_data_for_recycling' ) & 910 913 THEN 911 914 ! 915 !-- When reading data for initializing the recycling method, first read 916 !-- some of the global variables from restart file 917 IF ( TRIM( initializing_actions ) == 'read_data_for_recycling' ) THEN 918 WRITE (9,*) 'before read_parts_of_var_list' 919 CALL local_flush( 9 ) 920 CALL read_parts_of_var_list 921 WRITE (9,*) 'after read_parts_of_var_list' 922 CALL local_flush( 9 ) 923 CALL close_file( 13 ) 924 ENDIF 925 926 ! 912 927 !-- Read binary data from restart file 928 WRITE (9,*) 'before read_3d_binary' 929 CALL local_flush( 9 ) 913 930 CALL read_3d_binary 931 WRITE (9,*) 'after read_3d_binary' 932 CALL local_flush( 9 ) 914 933 915 934 !
Note: See TracChangeset
for help on using the changeset viewer.