Last change
on this file was
5119,
checked in by abarral, 4 months ago
|
enforce PRIVATE by default in several modules, expose PUBLIC as needed
move eigen.f90 to obsolete/
(lint) aslong the way
|
File size:
374 bytes
|
Line | |
---|
1 | module therm_expans_m |
---|
2 | |
---|
3 | IMPLICIT NONE |
---|
4 | |
---|
5 | CONTAINS |
---|
6 | |
---|
7 | elemental real function therm_expans(t) |
---|
8 | |
---|
9 | ! Compute the thermal expansion coefficient of sea water. |
---|
10 | |
---|
11 | REAL, INTENT(IN):: t ! temperature, in K |
---|
12 | |
---|
13 | !-------------------------------------------------------------- |
---|
14 | |
---|
15 | therm_expans = 2.1e-5 * (t - 269.95)**0.79 |
---|
16 | |
---|
17 | END FUNCTION therm_expans |
---|
18 | |
---|
19 | END MODULE therm_expans_m |
---|
Note: See
TracBrowser
for help on using the repository browser.