Cleaned up some code formatting.

这个提交包含在:
Craig Warren
2015-12-14 10:17:58 +00:00
父节点 9259b587d4
当前提交 84b0c714c3
共有 5 个文件被更改,包括 12 次插入1 次删除

查看文件

@@ -49,6 +49,7 @@ class Material():
ID (str): Name of the material.
G (class): Grid class instance - holds essential parameters describing the model.
"""
self.numID = numID
self.ID = ID
self.type = 'standard'
@@ -73,6 +74,7 @@ class Material():
Args:
G (class): Grid class instance - holds essential parameters describing the model.
"""
HA = (m0*self.mr / G.dt) + 0.5*self.sm
HB = (m0*self.mr / G.dt) - 0.5*self.sm
self.DA = HB / HA
@@ -155,6 +157,7 @@ class PeplinskiSoil():
sandpartdensity (float): Density of the sand particles in the soil (g/cm3).
watervolfraction (float): Two numbers that specify a range for the volumetric water fraction of the soil.
"""
self.ID = ID
self.S = sandfraction
self.C = clayfraction