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 4785 for branches/2014/dev_r4765_CNRS_agrif/NEMOGCM/NEMO/NST_SRC/agrif2model.F90 – NEMO

Ignore:
Timestamp:
2014-09-24T14:03:02+02:00 (10 years ago)
Author:
rblod
Message:

dev_r4765_CNRS_agrif: First update of AGRIF for dynamic only (_flt and _ts), see ticket #1380 and associated wiki page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2014/dev_r4765_CNRS_agrif/NEMOGCM/NEMO/NST_SRC/agrif2model.F90

    r3680 r4785  
    1515      !!   *** ROUTINE Agrif_Set_numberofcells *** 
    1616      !!---------------------------------------------  
    17       USE Agrif_Types 
     17      USE Agrif_Grids 
    1818      IMPLICIT NONE 
    1919 
     
    3030      !!   *** ROUTINE Agrif_Get_numberofcells *** 
    3131      !!---------------------------------------------  
    32       USE Agrif_Types 
     32      USE Agrif_Grids 
    3333      IMPLICIT NONE 
    3434 
    3535      Type(Agrif_Grid), Pointer :: Agrif_Gr 
    3636 
     37    if ( associated(Agrif_Curgrid) ) then 
    3738#include "GetNumberofcells.h" 
     39    endif 
    3840 
    3941   END SUBROUTINE Agrif_Get_numberofcells 
     
    4345      !!   *** ROUTINE Agrif_Allocationscalls *** 
    4446      !!---------------------------------------------  
    45       USE Agrif_Types  
     47      USE Agrif_Grids  
    4648#include "include_use_Alloc_agrif.h" 
    4749      IMPLICIT NONE 
     
    7274      !!   *** ROUTINE Agrif_clustering_def *** 
    7375      !!---------------------------------------------  
    74       Use Agrif_Types 
    7576      IMPLICIT NONE 
    7677 
     
    7980   END SUBROUTINE Agrif_clustering_def 
    8081 
    81    SUBROUTINE Agrif_comm_def(modelcomm) 
    82  
    83       !!--------------------------------------------- 
    84       !!   *** ROUTINE Agrif_clustering_def *** 
    85       !!---------------------------------------------  
    86       Use Agrif_Types 
    87       Use lib_mpp 
    88  
    89       IMPLICIT NONE 
    90  
    91       INTEGER :: modelcomm 
    92  
    93 #if defined key_mpp_mpi 
    94       modelcomm = mpi_comm_opa 
    95 #endif 
    96       Return 
    97  
    98    END SUBROUTINE Agrif_comm_def 
    9982#else 
    10083   SUBROUTINE Agrif2Model 
Note: See TracChangeset for help on using the changeset viewer.