Skip to content

Commit

Permalink
Complete documentation for iapws97
Browse files Browse the repository at this point in the history
  • Loading branch information
jjgomera committed Jan 20, 2017
1 parent 994c0d9 commit 474a604
Show file tree
Hide file tree
Showing 2 changed files with 1,462 additions and 469 deletions.
12 changes: 6 additions & 6 deletions iapws/iapws08.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-

###############################################################################
# IAPWS for seawater
###############################################################################
"""
IAPWS standard for Seawater IAPWS08
"""

from __future__ import division
from math import log
Expand All @@ -26,7 +25,7 @@ class SeaWater(object):
"""
Class to model seawater with standard IAPWS-08
Keyword Args
Parameters
----------
T : float
Temperature [K]
Expand All @@ -35,7 +34,7 @@ class SeaWater(object):
S : float
Salinity [kg/kg]
Attributes
Returns
-------
rho : float
Density [kg/m³]
Expand Down Expand Up @@ -126,6 +125,7 @@ def __call__(self, **kwargs):
self.msg = ""

def calculo(self):
"""Calculate procedure"""
T = self.kwargs["T"]
P = self.kwargs["P"]
S = self.kwargs["S"]
Expand Down

0 comments on commit 474a604

Please sign in to comment.