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 branches/2014/dev_r4765_CNRS_agrif/NEMOGCM/NEMO/NST_SRC – NEMO

source: branches/2014/dev_r4765_CNRS_agrif/NEMOGCM/NEMO/NST_SRC/agrif2model.F90 @ 4785

Last change on this file since 4785 was 4785, checked in by rblod, 10 years ago

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

  • Property svn:keywords set to Id
File size: 2.6 KB
Line 
1#if defined key_agrif
2   !!----------------------------------------------------------------------
3   !! NEMO/NST 3.3 , NEMO Consortium (2010)
4   !! $Id$
5   !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt)
6   !!----------------------------------------------------------------------
7   SUBROUTINE Agrif2Model
8      !!---------------------------------------------
9      !!   *** ROUTINE Agrif2Model ***
10      !!---------------------------------------------
11   END SUBROUTINE Agrif2model
12
13   SUBROUTINE Agrif_Set_numberofcells(Agrif_Gr)
14      !!---------------------------------------------
15      !!   *** ROUTINE Agrif_Set_numberofcells ***
16      !!---------------------------------------------
17      USE Agrif_Grids
18      IMPLICIT NONE
19
20      Type(Agrif_Grid), Pointer :: Agrif_Gr
21
22      IF ( associated(Agrif_Curgrid) )THEN
23#include "SetNumberofcells.h"
24      ENDIF
25
26   END SUBROUTINE Agrif_Set_numberofcells
27
28   SUBROUTINE Agrif_Get_numberofcells(Agrif_Gr)
29      !!---------------------------------------------
30      !!   *** ROUTINE Agrif_Get_numberofcells ***
31      !!---------------------------------------------
32      USE Agrif_Grids
33      IMPLICIT NONE
34
35      Type(Agrif_Grid), Pointer :: Agrif_Gr
36
37    if ( associated(Agrif_Curgrid) ) then
38#include "GetNumberofcells.h"
39    endif
40
41   END SUBROUTINE Agrif_Get_numberofcells
42
43   SUBROUTINE Agrif_Allocationcalls(Agrif_Gr)
44      !!---------------------------------------------
45      !!   *** ROUTINE Agrif_Allocationscalls ***
46      !!---------------------------------------------
47      USE Agrif_Grids 
48#include "include_use_Alloc_agrif.h"
49      IMPLICIT NONE
50
51      Type(Agrif_Grid), Pointer :: Agrif_Gr
52
53#include "allocations_calls_agrif.h"
54
55   END SUBROUTINE Agrif_Allocationcalls
56
57   SUBROUTINE Agrif_probdim_modtype_def()
58      !!---------------------------------------------
59      !!   *** ROUTINE Agrif_probdim_modtype_def ***
60      !!---------------------------------------------
61      USE Agrif_Types
62      IMPLICIT NONE
63
64#include "modtype_agrif.h"
65#include "probdim_agrif.h"
66#include "keys_agrif.h"
67
68      Return
69
70   END SUBROUTINE Agrif_probdim_modtype_def
71
72   SUBROUTINE Agrif_clustering_def()
73      !!---------------------------------------------
74      !!   *** ROUTINE Agrif_clustering_def ***
75      !!---------------------------------------------
76      IMPLICIT NONE
77
78      Return
79
80   END SUBROUTINE Agrif_clustering_def
81
82#else
83   SUBROUTINE Agrif2Model
84      !!---------------------------------------------
85      !!   *** ROUTINE Agrif2Model ***
86      !!---------------------------------------------
87      WRITE(*,*) 'Impossible to bet here'
88   END SUBROUTINE Agrif2model
89#endif
Note: See TracBrowser for help on using the repository browser.