source: trunk/LMDZ.MARS/libf/dyn3d/iniconst.F @ 1268

Last change on this file since 1268 was 1130, checked in by emillour, 11 years ago

Mars GCM:
Series of changes to enable running in parallel (using LMDZ.COMMON dynamics);
Current LMDZ.MARS can still notheless be compiled and run in serial mode
"as previously".
Summary of main changes:

  • Main programs (newstart, start2archive, xvik) that used to be in dyn3d have been moved to phymars.
  • dyn3d/control.h is now module control_mod.F90
  • 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 parallel case)
  • created generic routines 'planetwide_maxval' and 'planetwide_minval', in module "planetwide_mod", that enable obtaining the min and max of a field over the whole planet.

EM

File size: 1.1 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
44c-----------------------------------------------------------------------
45c
46
47      r       = cpp * kappa
48
49      PRINT*,' R  CPP  Kappa ',  r , cpp,  kappa
50c
51c-----------------------------------------------------------------------
52      CALL disvert
53c
54c
55      RETURN
56      END
Note: See TracBrowser for help on using the repository browser.