source: LMDZ5/trunk/libf/dyn3d/iniconst.F @ 1505

Last change on this file since 1505 was 1502, checked in by jghattas, 13 years ago

Modifications for variable idissip :

  • Changed name of variable idissip to dissip_period everywhere to be compatible with old .def files.
  • This variable was before read from physiq.def but the value was overwritten by a calculation in inidissip. Now, if dissip_period=0 calculation is done as before(default). Else the value from physiq.def is used directly.
  • leapfrog : added "AND NOT forward" at line 284 (dyn3d) and line 363(dyn3dpar) necessare if dissip_period not a multiple by iperiod.
  • iniconst : removed calculation of dtdiss (calculation done in inidissip)

FC, JG

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.1 KB
Line 
1!
2! $Id: iniconst.F 1502 2011-03-21 16:07:54Z emillour $
3!
4      SUBROUTINE iniconst
5
6      USE control_mod
7
8      IMPLICIT NONE
9c
10c      P. Le Van
11c
12c-----------------------------------------------------------------------
13c   Declarations:
14c   -------------
15c
16#include "dimensions.h"
17#include "paramet.h"
18#include "comconst.h"
19#include "temps.h"
20#include "comvert.h"
21#include "iniprint.h"
22
23
24c
25c
26c
27c-----------------------------------------------------------------------
28c   dimension des boucles:
29c   ----------------------
30
31      im      = iim
32      jm      = jjm
33      lllm    = llm
34      imp1    = iim
35      jmp1    = jjm + 1
36      lllmm1  = llm - 1
37      lllmp1  = llm + 1
38
39c-----------------------------------------------------------------------
40
41      dtphys  = iphysiq * dtvr
42      unsim   = 1./iim
43      pi      = 2.*ASIN( 1. )
44
45c-----------------------------------------------------------------------
46c
47
48      r       = cpp * kappa
49
50      write(lunout,*)'iniconst: R  CP  Kappa ',  r , cpp,  kappa
51c
52c-----------------------------------------------------------------------
53
54       CALL disvert(pa,preff,ap,bp,dpres,presnivs,nivsigs,nivsig)
55c
56c
57       RETURN
58       END
Note: See TracBrowser for help on using the repository browser.