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 |
---|
5 | c |
---|
6 | c P. Le Van |
---|
7 | c |
---|
8 | c----------------------------------------------------------------------- |
---|
9 | c Declarations: |
---|
10 | c ------------- |
---|
11 | c |
---|
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 |
---|
21 | c |
---|
22 | c |
---|
23 | EXTERNAL disvert |
---|
24 | c |
---|
25 | c----------------------------------------------------------------------- |
---|
26 | c dimension des boucles: |
---|
27 | c ---------------------- |
---|
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 | |
---|
37 | c----------------------------------------------------------------------- |
---|
38 | |
---|
39 | dtdiss = idissip * dtvr |
---|
40 | dtphys = iphysiq * dtvr |
---|
41 | unsim = 1./iim |
---|
42 | pi = 2.*ASIN( 1. ) |
---|
43 | |
---|
44 | c----------------------------------------------------------------------- |
---|
45 | c |
---|
46 | |
---|
47 | r = cpp * kappa |
---|
48 | |
---|
49 | PRINT*,' R CPP Kappa ', r , cpp, kappa |
---|
50 | c |
---|
51 | c----------------------------------------------------------------------- |
---|
52 | CALL disvert |
---|
53 | c |
---|
54 | c |
---|
55 | RETURN |
---|
56 | END |
---|
Note: See
TracBrowser
for help on using the repository browser.