Parent Directory | Revision Log
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 | module heavyside_m |
2 | |
3 | IMPLICIT NONE |
4 | |
5 | contains |
6 | |
7 | real FUNCTION heavyside(a) |
8 | |
9 | ! From LMDZ4/libf/dyn3d/heavyside.F,v 1.1.1.1 2004/05/19 12:53:06 |
10 | |
11 | ! ... P. Le Van .... |
12 | |
13 | real, intent(in):: a |
14 | |
15 | !------------------------------------------------- |
16 | |
17 | IF (a<=0.) THEN |
18 | heavyside = 0. |
19 | ELSE |
20 | heavyside = 1. |
21 | END IF |
22 | |
23 | END FUNCTION heavyside |
24 | |
25 | end module heavyside_m |
ViewVC Help | |
Powered by ViewVC 1.1.21 |