Changeset 291 for palm/trunk/SOURCE/surface_coupler.f90
- Timestamp:
- Apr 16, 2009 12:07:26 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/surface_coupler.f90
r274 r291 4 4 ! Current revisions: 5 5 ! ----------------- 6 ! Coupling with independent precursor runs. 6 7 ! Output of messages replaced by message handling routine. 7 8 ! … … 35 36 INTEGER :: i, j, k 36 37 37 REAL :: simulated_time_remote38 REAL :: time_since_reference_point_rem 38 39 39 40 #if defined( __parallel ) … … 65 66 RETURN 66 67 ENDIF 68 67 69 ! 68 70 !-- Exchange the current simulated time between the models, 69 71 !-- currently just for testing 70 CALL MPI_SEND( simulated_time, 1, MPI_REAL, target_id, 11, &72 CALL MPI_SEND( time_since_reference_point, 1, MPI_REAL, target_id, 11, & 71 73 comm_inter, ierr ) 72 CALL MPI_RECV( simulated_time_remote, 1, MPI_REAL, target_id, 11, &74 CALL MPI_RECV( time_since_reference_point_rem, 1, MPI_REAL, target_id, 11, & 73 75 comm_inter, status, ierr ) 74 WRITE ( 9, * ) simulated_time, ' remote: ', simulated_time_remote 76 WRITE ( 9, * ) 'simulated time: ', simulated_time 77 WRITE ( 9, * ) 'time since start of coupling: ', & 78 time_since_reference_point, ' remote: ', & 79 time_since_reference_point_rem 75 80 CALL local_flush( 9 ) 76 81
Note: See TracChangeset
for help on using the changeset viewer.