source: LMDZ4/branches/LMDZ4-dev-20091210/libf/dyn3dpar/heavyside.F @ 1396

Last change on this file since 1396 was 1220, checked in by lguez, 15 years ago

-- Replaced "integer*4" declarations by "integer", "real*8" by

"real(kind=8)" and "real*4" by "real". Note that these are the only
modifications in the files "radiation_AR4.F" and "sw_aeroAR4.F90".

-- Corrected the kind of arguments to "max" and "min".

-- Replaced "nH" edit descriptors, which is a deleted feature in

Fortran 95, by character strings.

-- "regr_lat_time_climoz" now allows the pressure coordinate in the

input file to be in descending order.

-- Replaced call to not standard function "float" by call to intrinsic

function "real".

-- Included file "radepsi.h" in "physiq" was not used. Removed it.

The following set of modifications is related to the management of time.

-- In "gcm", "leapfrog" and "sortvarc0", "day_ini" was defined as 1

plus number of days between the reference date "(annee_ref,
day_ref)" and the first day of the current simulation. Changed
definition: "(annee_ref, day_ini)" is the first day of the current
simulation. There is an accompanying modification for "day_end".

-- Corrected bug in call to "ioconf_startdate" in "gcm".

-- Added call to "ioconf_calendar" in "create_etat0_limit".

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 266 bytes
Line 
1!
2! $Header$
3!
4c
5c
6       FUNCTION heavyside(a)
7
8c      ...   P. Le Van  ....
9c
10       IMPLICIT NONE
11
12       REAL(KIND=8) heavyside , a
13
14       IF ( a.LE.0. )  THEN
15         heavyside = 0.
16       ELSE
17         heavyside = 1.
18       ENDIF
19
20       RETURN
21       END
22
23
Note: See TracBrowser for help on using the repository browser.