Changeset 3636 for palm/trunk/SOURCE/pmc_interface_mod.f90
- Timestamp:
- Dec 19, 2018 1:48:34 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/pmc_interface_mod.f90
r3592 r3636 25 25 ! ----------------- 26 26 ! $Id$ 27 ! nopointer option removed 28 ! 29 ! 3592 2018-12-03 12:38:40Z suehring 27 30 ! Number of coupled arrays is determined dynamically (instead of a fixed value 28 31 ! of 32) … … 328 331 329 332 330 #if defined( __nopointer )331 USE arrays_3d, &332 ONLY: diss, dzu, dzw, e, e_p, nc, nr, pt, q, qc, qr, s, u, u_p, &333 v, v_p, w, w_p, zu, zw334 #else335 333 USE arrays_3d, & 336 334 ONLY: diss, diss_2, dzu, dzw, e, e_p, e_2, nc, nc_2, nc_p, nr, nr_2, & 337 335 pt, pt_2, q, q_2, qc, qc_2, qr, qr_2, s, s_2, & 338 336 u, u_p, u_2, v, v_p, v_2, w, w_p, w_2, zu, zw 339 #endif340 337 341 338 USE control_parameters, & … … 3771 3768 ! IF ( TRIM(name) == "z0" ) p_2d => z0 3772 3769 3773 #if defined( __nopointer )3774 IF ( ASSOCIATED( p_3d ) ) THEN3775 CALL pmc_s_set_dataarray( child_id, p_3d, nz_cl, nz )3776 ELSEIF ( ASSOCIATED( p_2d ) ) THEN3777 CALL pmc_s_set_dataarray( child_id, p_2d )3778 ELSEIF ( ASSOCIATED( i_2d ) ) THEN3779 CALL pmc_s_set_dataarray( child_id, i_2d )3780 ELSE3781 !3782 !-- Give only one message for the root domain3783 IF ( myid == 0 .AND. cpl_id == 1 ) THEN3784 3785 message_string = 'pointer for array "' // TRIM( name ) // &3786 '" can''t be associated'3787 CALL message( 'pmci_set_array_pointer', 'PA0117', 3, 2, 0, 6, 0 )3788 ELSE3789 !3790 !-- Avoid others to continue3791 CALL MPI_BARRIER( comm2d, ierr )3792 ENDIF3793 ENDIF3794 #else3795 3770 IF ( TRIM(name) == "u" ) p_3d_sec => u_2 3796 3771 IF ( TRIM(name) == "v" ) p_3d_sec => v_2 … … 3829 3804 3830 3805 ENDIF 3831 #endif3832 3806 3833 3807 #endif
Note: See TracChangeset
for help on using the changeset viewer.