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

Annotation of /trunk/dyn3d/heavyside.f90

Parent Directory Parent Directory | Revision Log Revision Log


Revision 328 - (hide annotations)
Thu Jun 13 14:40:06 2019 UTC (5 years ago) by guez
File size: 393 byte(s)
Change all `.f` suffixes to `.f90`. (The opposite was done in revision
82.)  Because of change of philosopy in GNUmakefile: we already had a
rewritten rule for `.f`, so it does not make the makefile longer to
replace it by a rule for `.f90`. And it spares us options of
makedepf90 and of the compiler. Also we prepare the way for a simpler
`CMakeLists.txt`.

1 guez 131 module heavyside_m
2 guez 3
3 guez 131 IMPLICIT NONE
4 guez 3
5 guez 131 contains
6 guez 3
7 guez 131 real FUNCTION heavyside(a)
8 guez 3
9 guez 131 ! From LMDZ4/libf/dyn3d/heavyside.F,v 1.1.1.1 2004/05/19 12:53:06
10 guez 3
11 guez 131 ! ... P. Le Van ....
12 guez 3
13 guez 131 real, intent(in):: a
14 guez 81
15 guez 131 !-------------------------------------------------
16 guez 81
17 guez 131 IF (a<=0.) THEN
18     heavyside = 0.
19     ELSE
20     heavyside = 1.
21     END IF
22 guez 81
23 guez 131 END FUNCTION heavyside
24 guez 81
25 guez 131 end module heavyside_m

  ViewVC Help
Powered by ViewVC 1.1.21