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.
agrif2model.F90 in trunk/NEMO/NST_SRC – NEMO

source: trunk/NEMO/NST_SRC/agrif2model.F90 @ 933

Last change on this file since 933 was 719, checked in by ctlod, 17 years ago

get back to the nemo_v2_3 version for trunk

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.1 KB
RevLine 
[393]1#if defined key_agrif
[635]2   SUBROUTINE Agrif_Set_numberofcells(Agrif_Gr)
3      !!---------------------------------------------
4      !!   *** ROUTINE Agrif_Set_numberofcells ***
5      !!---------------------------------------------
[390]6      USE Agrif_Types
[635]7      IMPLICIT NONE
8
[390]9      Type(Agrif_Grid), Pointer :: Agrif_Gr
[635]10
11      IF ( associated(Agrif_Curgrid) )THEN
[390]12#include "SetNumberofcells.h"
[635]13      ENDIF
14
15   END SUBROUTINE Agrif_Set_numberofcells
16
17   SUBROUTINE Agrif_Get_numberofcells(Agrif_Gr)
18      !!---------------------------------------------
19      !!   *** ROUTINE Agrif_Get_numberofcells ***
20      !!---------------------------------------------
[390]21      USE Agrif_Types
[635]22      IMPLICIT NONE
23
[390]24      Type(Agrif_Grid), Pointer :: Agrif_Gr
[635]25
26#include "GetNumberofcells.h"
27
28   END SUBROUTINE Agrif_Get_numberofcells
29
30   SUBROUTINE Agrif_Allocationcalls(Agrif_Gr)
31      !!---------------------------------------------
32      !!   *** ROUTINE Agrif_Allocationscalls ***
33      !!---------------------------------------------
[390]34      USE Agrif_Types 
[533]35#include "include_use_Alloc_agrif.h"
[635]36      IMPLICIT NONE
37
[390]38      Type(Agrif_Grid), Pointer :: Agrif_Gr
[635]39
[390]40#include "allocations_calls_agrif.h"
[635]41
42   END SUBROUTINE Agrif_Allocationcalls
43
44   SUBROUTINE Agrif_probdim_modtype_def()
45      !!---------------------------------------------
46      !!   *** ROUTINE Agrif_probdim_modtype_def ***
47      !!---------------------------------------------
48      USE Agrif_Types
49      IMPLICIT NONE
50
[390]51#include "modtype_agrif.h"
52#include "probdim_agrif.h"
53#include "keys_agrif.h"
[635]54
[390]55      Return
[635]56
57   END SUBROUTINE Agrif_probdim_modtype_def
58
59   SUBROUTINE Agrif_clustering_def()
60      !!---------------------------------------------
61      !!   *** ROUTINE Agrif_clustering_def ***
62      !!---------------------------------------------
[390]63      Use Agrif_Types
[635]64      IMPLICIT NONE
[533]65
[390]66      Return
[635]67
68   END SUBROUTINE Agrif_clustering_def
[390]69#else
[635]70   SUBROUTINE Agrif2Model
71      !!---------------------------------------------
72      !!   *** ROUTINE Agrif2Model ***
73      !!---------------------------------------------
74      WRITE(*,*) 'Impossible to bet here'
75   END SUBROUTINE Agrif2model
[390]76#endif
Note: See TracBrowser for help on using the repository browser.