geolysis 0.13.0__py3-none-any.whl → 0.15.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- geolysis/__init__.py +1 -1
- geolysis/bearing_capacity/ubc/__init__.py +13 -16
- geolysis/exceptions.py +3 -0
- geolysis/utils/__init__.py +1 -1
- {geolysis-0.13.0.dist-info → geolysis-0.15.0.dist-info}/METADATA +1 -1
- {geolysis-0.13.0.dist-info → geolysis-0.15.0.dist-info}/RECORD +9 -8
- {geolysis-0.13.0.dist-info → geolysis-0.15.0.dist-info}/WHEEL +0 -0
- {geolysis-0.13.0.dist-info → geolysis-0.15.0.dist-info}/licenses/LICENSE.txt +0 -0
- {geolysis-0.13.0.dist-info → geolysis-0.15.0.dist-info}/top_level.txt +0 -0
geolysis/__init__.py
CHANGED
@@ -33,9 +33,6 @@ class UBCType(AbstractStrEnum):
|
|
33
33
|
the ultimate bearing capacity of soil.
|
34
34
|
"""
|
35
35
|
|
36
|
-
HANSEN = enum.auto()
|
37
|
-
"""Hansen's method for calculating ultimate bearing capacity."""
|
38
|
-
|
39
36
|
TERZAGHI = enum.auto()
|
40
37
|
"""Terzaghi's method for calculating ultimate bearing capacity."""
|
41
38
|
|
@@ -56,19 +53,19 @@ ubc_classes = {
|
|
56
53
|
|
57
54
|
@validate_params
|
58
55
|
def create_ubc_4_all_soil_types(
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
56
|
+
friction_angle: float,
|
57
|
+
cohesion: float,
|
58
|
+
moist_unit_wgt: float,
|
59
|
+
depth: float,
|
60
|
+
width: float,
|
61
|
+
length: Optional[float] = None,
|
62
|
+
saturated_unit_wgt: float = 20.5,
|
63
|
+
eccentricity: float = 0.0,
|
64
|
+
ground_water_level: Optional[float] = inf,
|
65
|
+
load_angle: float = 0.0,
|
66
|
+
apply_local_shear: bool = False,
|
67
|
+
shape: Shape | str = "square",
|
68
|
+
ubc_type: Annotated[UBCType | str, MustBeMemberOf(UBCType)] = "vesic",
|
72
69
|
) -> UltimateBearingCapacity:
|
73
70
|
r"""A factory function that encapsulate the creation of ultimate
|
74
71
|
bearing capacity.
|
geolysis/exceptions.py
ADDED
geolysis/utils/__init__.py
CHANGED
@@ -5,7 +5,7 @@ from typing import Callable
|
|
5
5
|
from .math import *
|
6
6
|
from . import math as m
|
7
7
|
|
8
|
-
__all__ = ["AbstractStrEnum", "
|
8
|
+
__all__ = ["AbstractStrEnum", "add_repr", "round_"] + m.__all__
|
9
9
|
|
10
10
|
|
11
11
|
class StrEnumMeta(enum.EnumMeta):
|
@@ -1,4 +1,5 @@
|
|
1
|
-
geolysis/__init__.py,sha256=
|
1
|
+
geolysis/__init__.py,sha256=PT-PneT0JdgV5KOvFMVjC3ELQLwIL5VF8yNitl5ZfkM,161
|
2
|
+
geolysis/exceptions.py,sha256=NocUF7-vaFsBJyi0QmH2EBFCpO2RT90RLEB66BCW_X0,74
|
2
3
|
geolysis/foundation.py,sha256=9o21R14Pm-HimSuQYqJXvbqQrWgS-z0XFjzjdyEIQ7Y,13319
|
3
4
|
geolysis/soil_classifier.py,sha256=TII5tlI6Z5sKvMFkyEqAAvH9KUdFTGcpTQH9pqF82EI,27674
|
4
5
|
geolysis/spt.py,sha256=7xa4KkzBjbtSFo0zoZleCCCyeE81w4d2eicjlFy3p28,17273
|
@@ -9,14 +10,14 @@ geolysis/bearing_capacity/abc/_cohl/_core.py,sha256=jFJAzFpd78QvzwMRSMr9HOwb8Hq6
|
|
9
10
|
geolysis/bearing_capacity/abc/_cohl/bowles_abc.py,sha256=frjZXiVGTR53gRjYNYfYMlx-q9TLltyPHbJFpN7XOiY,2414
|
10
11
|
geolysis/bearing_capacity/abc/_cohl/meyerhof_abc.py,sha256=vXDdtFwYzmD2vOXEQxSQb-jp1bPlB4blmcfNi1zAk78,2377
|
11
12
|
geolysis/bearing_capacity/abc/_cohl/terzaghi_abc.py,sha256=D8-t9fKCnA4y_cSXk2dCfXPrkeUdNizAf8CDhOCLL0Y,3297
|
12
|
-
geolysis/bearing_capacity/ubc/__init__.py,sha256=
|
13
|
+
geolysis/bearing_capacity/ubc/__init__.py,sha256=EVfydz9_UeLTYOKSioJESiv14mjecA2wQiNfqD4N6oQ,4233
|
13
14
|
geolysis/bearing_capacity/ubc/_core.py,sha256=WZUSzgC-RhPTR3t1ECh3A934SMRWeuPyytlNqwpE-0s,8126
|
14
15
|
geolysis/bearing_capacity/ubc/_terzaghi_ubc.py,sha256=3g1kyugpuNy4lvcG_uZBOd3PWIkVJ_-VJWZxkrqX-p4,4322
|
15
16
|
geolysis/bearing_capacity/ubc/_vesic_ubc.py,sha256=yZS1RH1NfHoYk9UNCKFSjjEOok-mLkStt2rg5X_zG7Y,6810
|
16
|
-
geolysis/utils/__init__.py,sha256=
|
17
|
+
geolysis/utils/__init__.py,sha256=T4B8itFH9971MMFpOaAbOMzkIPfrAkZQtGa6jcaI_mY,1768
|
17
18
|
geolysis/utils/math.py,sha256=Nqg6SFIy3peSC-n-rq0KjryOdWTqh9jCF2L_qvx5Yg8,1231
|
18
|
-
geolysis-0.
|
19
|
-
geolysis-0.
|
20
|
-
geolysis-0.
|
21
|
-
geolysis-0.
|
22
|
-
geolysis-0.
|
19
|
+
geolysis-0.15.0.dist-info/licenses/LICENSE.txt,sha256=ap6sMs3lT7ICbEXBhgihwH1BTCVcjmCQkIkwVnil1Ak,1065
|
20
|
+
geolysis-0.15.0.dist-info/METADATA,sha256=NmH4ukG2MvZ15FqWJhpE5k2ZUMRCCJZxj8VOWwjViFA,6833
|
21
|
+
geolysis-0.15.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
22
|
+
geolysis-0.15.0.dist-info/top_level.txt,sha256=9mnQgOaCRr11dtXff8X-q3FfXjRONd6kHseSy5q2y8g,9
|
23
|
+
geolysis-0.15.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|