@@ -27,7 +27,7 @@ def n_c(friction_angle: float) -> float:
2727 if isclose (friction_angle , 0.0 ):
2828 return 5.7
2929 return cotdeg (friction_angle ) * (
30- TerzaghiBearingCapacityFactors .n_q (friction_angle ) - 1.0
30+ TerzaghiBearingCapacityFactors .n_q (friction_angle ) - 1.0
3131 )
3232
3333 @staticmethod
@@ -40,8 +40,7 @@ def n_q(friction_angle: float) -> float:
4040 @staticmethod
4141 @round_ (ndigits = 2 )
4242 def n_gamma (friction_angle : float ) -> float :
43- return (TerzaghiBearingCapacityFactors .n_q (
44- friction_angle ) - 1.0 ) * tandeg (
43+ return (TerzaghiBearingCapacityFactors .n_q (friction_angle ) - 1.0 ) * tandeg (
4544 1.4 * friction_angle
4645 )
4746
@@ -77,9 +76,9 @@ class TerzaghiUBC4StripFooting(TerzaghiUltimateBearingCapacity):
7776 def _bearing_capacity (self ) -> float :
7877 """Calculates ultimate bearing capacity for strip footing."""
7978 return (
80- self ._cohesion_term (1.0 )
81- + self ._surcharge_term ()
82- + self ._embedment_term (0.5 )
79+ self ._cohesion_term (1.0 )
80+ + self ._surcharge_term ()
81+ + self ._embedment_term (0.5 )
8382 )
8483
8584
@@ -95,9 +94,9 @@ class TerzaghiUBC4CircularFooting(TerzaghiUltimateBearingCapacity):
9594 def _bearing_capacity (self ) -> float :
9695 """Calculates ultimate bearing capacity for circular footing."""
9796 return (
98- self ._cohesion_term (1.3 )
99- + self ._surcharge_term ()
100- + self ._embedment_term (0.3 )
97+ self ._cohesion_term (1.3 )
98+ + self ._surcharge_term ()
99+ + self ._embedment_term (0.3 )
101100 )
102101
103102
@@ -118,9 +117,9 @@ def _bearing_capacity(self) -> float:
118117 emb_coef = (1.0 - 0.2 * (width / length )) / 2.0
119118
120119 return (
121- self ._cohesion_term (coh_coef )
122- + self ._surcharge_term ()
123- + self ._embedment_term (emb_coef )
120+ self ._cohesion_term (coh_coef )
121+ + self ._surcharge_term ()
122+ + self ._embedment_term (emb_coef )
124123 )
125124
126125
0 commit comments