Last change
on this file since 1671 was
1671,
checked in by Ehouarn Millour, 12 years ago
|
- fixed "aquaplanet case" so that initializations (creation of
files startphy.nc and limit.nc) now also works in parallel (mpi,omp,mixed).
- call to "iniaqua" is now done from within "iniphysiq" ; also added
some tests to check consistency between essential variables shared by
dynamics and physics (planetary radius, gravity, Cp, ...)
- simillarily adapted "phydev" routines, and added necessary routines to also
be able to generate startphy.nc/restartphy.nc files there. Also removed
common file "comcstphy.h" and replaced it with a module "comcstphy.F90"
EM
|
File size:
761 bytes
|
Line | |
---|
1 | ! |
---|
2 | ! $Id: $ |
---|
3 | ! |
---|
4 | MODULE phys_state_var_mod |
---|
5 | !====================================================================== |
---|
6 | ! Variables saved in startphy.nc |
---|
7 | !====================================================================== |
---|
8 | |
---|
9 | USE dimphy, only : klon |
---|
10 | |
---|
11 | |
---|
12 | REAL, ALLOCATABLE, SAVE :: rlat(:), rlon(:) |
---|
13 | !$OMP THREADPRIVATE(rlat,rlon) |
---|
14 | |
---|
15 | CONTAINS |
---|
16 | |
---|
17 | !====================================================================== |
---|
18 | SUBROUTINE phys_state_var_init() |
---|
19 | use dimphy, only : klon |
---|
20 | |
---|
21 | ALLOCATE(rlat(klon),rlon(klon)) |
---|
22 | |
---|
23 | END SUBROUTINE phys_state_var_init |
---|
24 | |
---|
25 | !====================================================================== |
---|
26 | SUBROUTINE phys_state_var_end |
---|
27 | use dimphy, only : klon |
---|
28 | |
---|
29 | deallocate(rlat,rlon) |
---|
30 | |
---|
31 | END SUBROUTINE phys_state_var_end |
---|
32 | |
---|
33 | END MODULE phys_state_var_mod |
---|
Note: See
TracBrowser
for help on using the repository browser.