Ignore:
Timestamp:
03/27/09 18:02:59 (15 years ago)
Author:
ymipsl
Message:

Mise à jour importante :

  • ajout de la grille type LMDZ
  • ajout des context
  • ajout de namelist pour parametrer l'utilisation du server : avec/sans MPI, en utlisant ou pas OASIS
File:
1 edited

Legend:

Unmodified
Added
Removed
  • XMLIO_SERVER/trunk/src/XMLIO/mod_domain.f90

    r8 r26  
    123123    ENDIF 
    124124 
     125    pt_domain%nbp=nbp 
    125126    ALLOCATE(pt_domain%i_index(nbp)) 
    126127    ALLOCATE(pt_domain%j_index(nbp)) 
     128    ALLOCATE(pt_domain%mask(nbp)) 
    127129         
    128130    DO i=1,nbp 
    129       Pt_domain%i_index(i)=(index(i)+offset)/pt_domain%nj+1+pt_domain%ibegin-1 
    130       Pt_domain%j_index(i)=MOD(index(i)+offset,pt_domain%nj)+1+pt_domain%jbegin-1 
     131!      Pt_domain%i_index(i)=(index(i)+offset)/pt_domain%ni+1+pt_domain%ibegin-1 
     132!      Pt_domain%j_index(i)=MOD(index(i)+offset,pt_domain%ni)+1+pt_domain%jbegin-1 
     133      Pt_domain%i_index(i)=MOD(index(i)+offset-1,pt_domain%ni)+1 
     134      Pt_domain%j_index(i)=(index(i)+offset-1)/pt_domain%ni+1 
     135       
    131136    ENDDO 
    132137 
Note: See TracChangeset for help on using the changeset viewer.