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.
ldftra_substitute.h90 in tags/nemo_v3_2/nemo_v3_2/NEMO/OFF_SRC/LDF – NEMO

source: tags/nemo_v3_2/nemo_v3_2/NEMO/OFF_SRC/LDF/ldftra_substitute.h90 @ 1878

Last change on this file since 1878 was 1878, checked in by flavoni, 14 years ago

initial test for nemogcm

File size: 1.6 KB
Line 
1   !!----------------------------------------------------------------------
2   !!                    *** ldftra_substitute.h90  ***
3   !!----------------------------------------------------------------------
4   !! ** purpose :   substitute fsaht. the eddy diffusivity coeff.
5   !!      with a constant or 1D or 2D or 3D array, using CPP macro.
6   !!----------------------------------------------------------------------
7   !!   OPA 9.0 , LOCEAN-IPSL  (2005)
8   !!   $Id: ldftra_substitute.h90 1152 2008-06-26 14:11:13Z rblod $
9   !!   This software is governed by the CeCILL licence see modipsl/doc/NEMO_CeCILL.txt
10   !!----------------------------------------------------------------------
11#if defined key_traldf_c3d
12!   'key_traldf_c3d' :                 aht: 3D coefficient
13#       define   fsahtt(i,j,k)   ahtt(i,j,k)
14#       define   fsahtu(i,j,k)   ahtu(i,j,k)
15#       define   fsahtv(i,j,k)   ahtv(i,j,k)
16#       define   fsahtw(i,j,k)   ahtw(i,j,k)
17#elif defined key_traldf_c2d
18!   'key_traldf_c2d' :                 aht: 2D coefficient
19#       define   fsahtt(i,j,k)   ahtt(i,j)
20#       define   fsahtu(i,j,k)   ahtu(i,j)
21#       define   fsahtv(i,j,k)   ahtv(i,j)
22#       define   fsahtw(i,j,k)   ahtw(i,j)
23#elif defined key_traldf_c1d
24!   'key_traldf_c1d' :                aht: 1D coefficient
25#       define   fsahtt(i,j,k)   ahtt(k)
26#       define   fsahtu(i,j,k)   ahtu(k)
27#       define   fsahtv(i,j,k)   ahtv(k)
28#       define   fsahtw(i,j,k)   ahtw(k)
29#else
30!   Default option :             aht: Constant coefficient
31#      define   fsahtt(i,j,k)   aht0
32#      define   fsahtu(i,j,k)   aht0
33#      define   fsahtv(i,j,k)   aht0
34#      define   fsahtw(i,j,k)   aht0
35#endif
Note: See TracBrowser for help on using the repository browser.