/[lmdze]/trunk/dyn3d/heavyside.f90
ViewVC logotype

Contents of /trunk/dyn3d/heavyside.f90

Parent Directory Parent Directory | Revision Log Revision Log


Revision 81 - (show annotations)
Wed Mar 5 14:38:41 2014 UTC (10 years, 3 months ago) by guez
File size: 313 byte(s)
 Converted to free source form files which were still in fixed source
form. The conversion was done using the polish mode of the NAG Fortran
Compiler.

In addition to converting to free source form, the processing of the
files also:

-- indented the code (including comments);

-- set Fortran keywords to uppercase, and set all other identifiers
to lower case;

-- added qualifiers to end statements (for example "end subroutine
conflx", instead of "end");

-- changed the terminating statements of all DO loops so that each
loop ends with an ENDDO statement (instead of a labeled continue).

1
2 ! $Header: /home/cvsroot/LMDZ4/libf/dyn3d/heavyside.F,v 1.1.1.1 2004/05/19
3 ! 12:53:06 lmdzadmin Exp $
4
5
6
7 FUNCTION heavyside(a)
8
9 ! ... P. Le Van ....
10
11 IMPLICIT NONE
12
13 DOUBLE PRECISION heavyside, a
14
15 IF (a<=0.) THEN
16 heavyside = 0.
17 ELSE
18 heavyside = 1.
19 END IF
20
21 RETURN
22 END FUNCTION heavyside
23
24

  ViewVC Help
Powered by ViewVC 1.1.21