Last change
on this file since 2286 was
1994,
checked in by Ehouarn Millour, 11 years ago
|
Follow the trend; convert all fixed form sources in phydev to free form.
EM
|
-
Property copyright set to
Name of program: LMDZ Creation date: 1984 Version: LMDZ5 License: CeCILL version 2 Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539 See the license file in the root directory
|
File size:
1.0 KB
|
Rev | Line | |
---|
[1671] | 1 | ! |
---|
| 2 | ! $Id: $ |
---|
| 3 | ! |
---|
[1994] | 4 | MODULE phyaqua_mod |
---|
[1615] | 5 | |
---|
[1994] | 6 | IMPLICIT NONE |
---|
[1615] | 7 | |
---|
[1994] | 8 | CONTAINS |
---|
[1615] | 9 | |
---|
[1994] | 10 | SUBROUTINE iniaqua(nlon, latfi, lonfi, iflag_phys) |
---|
| 11 | |
---|
| 12 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
---|
| 13 | ! Create an initial state (startphy.nc) for the physics |
---|
| 14 | ! Usefull for idealised cases (e.g. aquaplanets or testcases) |
---|
| 15 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
---|
| 16 | |
---|
| 17 | USE phys_state_var_mod, ONLY: rlat, rlon, phys_state_var_init |
---|
| 18 | USE mod_phys_lmdz_para, ONLY: klon_omp |
---|
| 19 | USE comgeomphy, ONLY: rlond, rlatd |
---|
| 20 | IMPLICIT NONE |
---|
[1671] | 21 | |
---|
[1994] | 22 | INTEGER,INTENT(IN) :: nlon,iflag_phys |
---|
| 23 | REAL,INTENT(IN) :: lonfi(nlon),latfi(nlon) |
---|
[1615] | 24 | |
---|
[1994] | 25 | ! local variables |
---|
| 26 | REAL :: pi |
---|
[1615] | 27 | |
---|
[1994] | 28 | ! initializations: |
---|
| 29 | pi=2.*ASIN(1.) |
---|
[1615] | 30 | |
---|
[1994] | 31 | CALL phys_state_var_init() |
---|
[1671] | 32 | |
---|
[1994] | 33 | rlat(1:klon_omp)=rlatd(1:klon_omp)*180./pi |
---|
| 34 | rlon(1:klon_omp)=rlond(1:klon_omp)*180./pi |
---|
[1671] | 35 | |
---|
| 36 | |
---|
[1994] | 37 | ! Here you could create an initial condition for the physics |
---|
| 38 | ! ... |
---|
| 39 | ! ... fill in the fields... |
---|
| 40 | ! ... |
---|
| 41 | ! ... and create a "startphy.nc" file |
---|
[1686] | 42 | CALL phyredem ("startphy.nc") |
---|
[1671] | 43 | |
---|
[1994] | 44 | END SUBROUTINE iniaqua |
---|
[1615] | 45 | |
---|
[1994] | 46 | END MODULE phyaqua_mod |
---|
Note: See
TracBrowser
for help on using the repository browser.