Ignore:
Timestamp:
Aug 15, 2013 8:46:27 AM (11 years ago)
Author:
raasch
Message:

tridia-solver moved to seperate module; the tridiagonal matrix coefficients of array tri are calculated only once at the beginning

File:
1 edited

Legend:

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

    r1196 r1212  
    2323! Current revisions:
    2424! ------------------
    25 !
     25! array tri is allocated and included in data copy statement
    2626!
    2727! Former revisions:
     
    364364!-- Array for storing constant coeffficients of the tridiagonal solver
    365365    IF ( psolver == 'poisfft' )  THEN
     366       ALLOCATE( tri(nxl_z:nxr_z,nys_z:nyn_z,0:nz-1,2) )
    366367       ALLOCATE( tric(nxl_z:nxr_z,nys_z:nyn_z,0:nz-1) )
    367368    ENDIF
     
    518519    IF ( use_sgs_for_particles  .OR.  wang_kernel  .OR.  turbulence  .OR.  &
    519520         num_acc_per_node > 0 )  THEN
    520        print*, '*** allocating diss'
    521521       ALLOCATE( diss(nzb:nzt+1,nysg:nyng,nxlg:nxrg) )
    522522    ENDIF
     
    14961496       CALL disturb_field( nzb_v_inner, tend, v )
    14971497       n_sor = nsor_ini
    1498        !$acc data copy( d, ddzu, ddzw, nzb_s_inner, nzb_u_inner, nzb_v_inner, nzb_w_inner, p, tric, u, v, w, weight_pres, weight_substep, tend )
     1498       !$acc data copy( d, ddzu, ddzw, nzb_s_inner, nzb_u_inner, nzb_v_inner, nzb_w_inner, p, tri, tric, u, v, w, weight_pres, weight_substep, tend )
    14991499       CALL pres
    15001500       !$acc end data
Note: See TracChangeset for help on using the changeset viewer.