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 itau2date_m |
2 | |
3 | implicit none |
4 | |
5 | contains |
6 | |
7 | REAL FUNCTION itau2date (itau, date0, deltat) |
8 | |
9 | ! This function transforms itau into a date. The date whith which |
10 | ! the time axis is going to be labeled |
11 | |
12 | use calendar |
13 | |
14 | ! INPUT |
15 | ! itau: current time step |
16 | ! date0: Date at which itau was equal to 0 |
17 | ! deltat: time step between itau s |
18 | |
19 | ! OUTPUT |
20 | ! itau2date: Date for the given itau |
21 | |
22 | INTEGER:: itau |
23 | REAL:: date0, deltat |
24 | !-------------------------------------------------------------------- |
25 | itau2date = REAL(itau)*deltat/un_jour+date0 |
26 | |
27 | END FUNCTION itau2date |
28 | |
29 | end module itau2date_m |
ViewVC Help | |
Powered by ViewVC 1.1.21 |