Ignore:
Timestamp:
Dec 19, 2018 1:48:34 PM (5 years ago)
Author:
raasch
Message:

nopointer option removed

File:
1 edited

Legend:

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

    r3592 r3636  
    2525! -----------------
    2626! $Id$
     27! nopointer option removed
     28!
     29! 3592 2018-12-03 12:38:40Z suehring
    2730! Number of coupled arrays is determined dynamically (instead of a fixed value
    2831! of 32)
     
    328331
    329332
    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, zw
    334 #else
    335333   USE arrays_3d,                                                              &
    336334        ONLY:  diss, diss_2, dzu, dzw, e, e_p, e_2, nc, nc_2, nc_p, nr, nr_2,  &
    337335               pt, pt_2, q, q_2, qc, qc_2, qr, qr_2, s, s_2,                   &
    338336               u, u_p, u_2, v, v_p, v_2, w, w_p, w_2, zu, zw
    339 #endif
    340337
    341338    USE control_parameters,                                                    &
     
    37713768!    IF ( TRIM(name) == "z0" )    p_2d => z0
    37723769
    3773 #if defined( __nopointer )
    3774     IF ( ASSOCIATED( p_3d ) )  THEN
    3775        CALL pmc_s_set_dataarray( child_id, p_3d, nz_cl, nz )
    3776     ELSEIF ( ASSOCIATED( p_2d ) )  THEN
    3777        CALL pmc_s_set_dataarray( child_id, p_2d )
    3778     ELSEIF ( ASSOCIATED( i_2d ) )  THEN
    3779        CALL pmc_s_set_dataarray( child_id, i_2d )
    3780     ELSE
    3781 !
    3782 !--    Give only one message for the root domain
    3783        IF ( myid == 0  .AND.  cpl_id == 1 )  THEN
    3784 
    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        ELSE
    3789 !
    3790 !--       Avoid others to continue
    3791           CALL MPI_BARRIER( comm2d, ierr )
    3792        ENDIF
    3793     ENDIF
    3794 #else
    37953770    IF ( TRIM(name) == "u"    )  p_3d_sec => u_2
    37963771    IF ( TRIM(name) == "v"    )  p_3d_sec => v_2
     
    38293804
    38303805   ENDIF
    3831 #endif
    38323806
    38333807#endif
Note: See TracChangeset for help on using the changeset viewer.