source: trunk/LMDZ.GENERIC/libf/dyn3d/iniconst.F @ 1243

Last change on this file since 1243 was 1216, checked in by emillour, 11 years ago

Generic model:
Major cleanup, in order to ease the use of LMDZ.GENERIC with (parallel) dynamics
in LMDZ.COMMON: (NB: this will break LMDZ.UNIVERSAL, which should be thrashed
in the near future)

  • Updated makegcm_* scripts (and makdim) and added the "-full" (to enforce full recomputation of the model) option
  • In dyn3d: converted control.h to module control_mod.F90 and converted iniadvtrac.F to module infotrac.F90
  • Added module mod_const_mpi.F90 in dyn3d (not used in serial mode)
  • Rearanged input/outputs routines everywhere to handle serial/MPI cases. physdem.F => phyredem.F90 , phyetat0.F => phyetat0.F90 ; all read/write routines for startfi files are gathered in module iostart.F90
  • added parallelism related routines init_phys_lmdz.F90, comgeomphy.F90, dimphy.F90, iniphysiq.F90, mod_grid_phy_lmdz.F90, mod_phys_lmdz_mpi_data.F90, mod_phys_lmdz_mpi_transfert.F90, mod_phys_lmdz_omp_data.F90, mod_phys_lmdz_omp_transfert.F90, mod_phys_lmdz_para.F90, mod_phys_lmdz_transfert_para.F90 in phymars and mod_const_mpi.F90 in dyn3d (for compliance with parallelism)
  • added created generic routines 'planetwide_maxval' and 'planetwide_minval', in module "planetwide_mod", that enable obtaining the max and min of a field over the whole planet. This should be further imroved with computation of means (possibly area weighed), etc.

EM

File size: 1.2 KB
Line 
1      SUBROUTINE iniconst
2
3      use control_mod, only: iphysiq, idissip
4      IMPLICIT NONE
5c
6c      P. Le Van
7c
8c-----------------------------------------------------------------------
9c   Declarations:
10c   -------------
11c
12#include "dimensions.h"
13#include "paramet.h"
14#include "comconst.h"
15#include "temps.h"
16!#include "control.h"
17#include "comvert.h"
18
19
20      INTEGER :: l
21c
22c
23      EXTERNAL disvert
24c
25c-----------------------------------------------------------------------
26c   dimension des boucles:
27c   ----------------------
28
29      im      = iim
30      jm      = jjm
31      lllm    = llm
32      imp1    = iim
33      jmp1    = jjm + 1
34      lllmm1  = llm - 1
35      lllmp1  = llm + 1
36
37c-----------------------------------------------------------------------
38
39      dtdiss  = idissip * dtvr
40      dtphys  = iphysiq * dtvr
41      unsim   = 1./iim
42      pi      = 2.*ASIN( 1. )
43
44!      print*,'iphysiq=',iphysiq
45!      print*,'dtvr=',dtvr
46!      print*,'dtphys=',dtphys
47!      stop
48
49c-----------------------------------------------------------------------
50c
51
52      r       = cpp * kappa
53
54      PRINT*,' R  CPP  Kappa ',  r , cpp,  kappa
55c
56c-----------------------------------------------------------------------
57      CALL disvert
58c
59c
60      RETURN
61      END
Note: See TracBrowser for help on using the repository browser.