New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 774 for trunk/AGRIF/AGRIF_FILES/modbc.F – NEMO

Ignore:
Timestamp:
2007-12-18T17:45:53+01:00 (16 years ago)
Author:
rblod
Message:

Update Agrif, see ticket:#39

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/AGRIF/AGRIF_FILES/modbc.F

    r662 r774  
    5858C 
    5959C     Arguments       
    60       INTEGER,DIMENSION(6) :: TypeInterp    ! TYPE of interpolation 
     60      INTEGER,DIMENSION(6,6) :: TypeInterp    ! TYPE of interpolation 
    6161                                            ! (linear,...) 
    6262      TYPE(AGRIF_PVariable) :: parent       ! Variable on the parent grid 
     
    126126      External :: procname 
    127127      Optional :: procname 
    128       INTEGER,DIMENSION(6) :: TypeInterp    ! TYPE of interpolation (linear,  
     128      INTEGER,DIMENSION(6,6) :: TypeInterp    ! TYPE of interpolation (linear,  
    129129                                            ! lagrange, spline, ... ) 
    130130      TYPE(AGRIF_PVariable) :: parent       ! Variable on the parent grid 
     
    202202      External :: procname 
    203203      Optional :: procname      
    204       INTEGER,DIMENSION(6) :: TypeInterp    ! TYPE of interpolation (linear,  
     204      INTEGER,DIMENSION(6,6) :: TypeInterp    ! TYPE of interpolation (linear,  
    205205                                            ! lagrange, spline, ... ) 
    206206      TYPE(AGRIF_PVariable) :: parent       ! Variable on the parent grid 
     
    279279      External :: procname 
    280280      Optional :: procname      
    281       INTEGER,DIMENSION(6) :: TypeInterp      ! TYPE of interpolation (linear,  
     281      INTEGER,DIMENSION(6,6) :: TypeInterp      ! TYPE of interpolation (linear,  
    282282                                              ! lagrange, spline, ... ) 
    283283      TYPE(AGRIF_PVariable) :: parent         ! Variable on the parent grid 
     
    356356      External :: procname 
    357357      Optional :: procname      
    358       INTEGER,DIMENSION(6) :: TypeInterp      ! TYPE of interpolation (linear,  
     358      INTEGER,DIMENSION(6,6) :: TypeInterp      ! TYPE of interpolation (linear,  
    359359                                              ! lagrange, spline, ... ) 
    360360      TYPE(AGRIF_PVariable) :: parent         ! Variable on the parent grid 
     
    433433C 
    434434C     Arguments       
    435       INTEGER,DIMENSION(6) :: TypeInterp      ! TYPE of interpolation (linear,  
     435      INTEGER,DIMENSION(6,6) :: TypeInterp      ! TYPE of interpolation (linear,  
    436436                                              ! lagrange, spline, ... ) 
    437437      TYPE(AGRIF_PVariable) :: parent         ! Variable on the parent grid 
     
    507507      TYPE(AGRIF_PVariable) :: parent         ! Variable on the parent grid 
    508508      TYPE(AGRIF_PVariable) :: child          ! Variable on the child grid 
    509       INTEGER,DIMENSION(6)  :: TypeInterp     ! TYPE of interpolation 
     509      INTEGER,DIMENSION(6,6)  :: TypeInterp     ! TYPE of interpolation 
    510510                                              !    (linear,lagrange,...) 
    511511      INTEGER               :: deb,fin        ! Positions where boundary 
     
    715715      External :: procname 
    716716      Optional :: procname 
    717       INTEGER,DIMENSION(6) :: TypeInterp ! TYPE of interpolation (linear,  
     717      INTEGER,DIMENSION(6,6) :: TypeInterp ! TYPE of interpolation (linear,  
    718718                                         !   spline,...)   
    719719      TYPE(AGRIF_PVariable)    :: parent ! Variable on the parent grid 
     
    910910C       
    911911      kindex = 1     
     912       
     913 
    912914C 
    913915      do nb = 1,nbdim 
    914916C 
    915         do ndir = 1,2                 
     917        do ndir = 1,2 
    916918C 
    917919          if (loctab_child(nb) /= (-ndir)  
     
    920922              IF (present(procname)) THEN 
    921923              Call Agrif_InterpnD 
    922      &             (TYPEInterp,parent,child, 
     924     &             (TYPEInterp(nb,:),parent,child, 
    923925     &              ptres(1:nbdim,1,ndir,nb),ptres(1:nbdim,2,ndir,nb), 
    924926     &              pttab_child(1:nbdim),pttab_Parent(1:nbdim), 
     
    928930              ELSE 
    929931              Call Agrif_InterpnD               
    930      &             (TYPEInterp,parent,child, 
     932     &             (TYPEInterp(nb,:),parent,child, 
    931933     &              ptres(1:nbdim,1,ndir,nb),ptres(1:nbdim,2,ndir,nb), 
    932934     &              pttab_child(1:nbdim),pttab_Parent(1:nbdim), 
Note: See TracChangeset for help on using the changeset viewer.