weac 2.6.4__py3-none-any.whl → 3.0.1__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.
- weac/__init__.py +2 -14
- weac/analysis/__init__.py +23 -0
- weac/analysis/analyzer.py +790 -0
- weac/analysis/criteria_evaluator.py +1169 -0
- weac/analysis/plotter.py +1922 -0
- weac/components/__init__.py +21 -0
- weac/components/config.py +33 -0
- weac/components/criteria_config.py +86 -0
- weac/components/layer.py +284 -0
- weac/components/model_input.py +103 -0
- weac/components/scenario_config.py +72 -0
- weac/components/segment.py +31 -0
- weac/constants.py +37 -0
- weac/core/__init__.py +10 -0
- weac/core/eigensystem.py +405 -0
- weac/core/field_quantities.py +273 -0
- weac/core/scenario.py +200 -0
- weac/core/slab.py +149 -0
- weac/core/slab_touchdown.py +363 -0
- weac/core/system_model.py +413 -0
- weac/core/unknown_constants_solver.py +444 -0
- weac/logging_config.py +39 -0
- weac/utils/__init__.py +0 -0
- weac/utils/geldsetzer.py +166 -0
- weac/utils/misc.py +127 -0
- weac/utils/snow_types.py +82 -0
- weac/utils/snowpilot_parser.py +332 -0
- {weac-2.6.4.dist-info → weac-3.0.1.dist-info}/METADATA +196 -64
- weac-3.0.1.dist-info/RECORD +32 -0
- weac-3.0.1.dist-info/licenses/LICENSE +21 -0
- weac/eigensystem.py +0 -658
- weac/inverse.py +0 -51
- weac/layered.py +0 -64
- weac/mixins.py +0 -2083
- weac/plot.py +0 -675
- weac/tools.py +0 -334
- weac-2.6.4.dist-info/RECORD +0 -12
- weac-2.6.4.dist-info/licenses/LICENSE +0 -24
- {weac-2.6.4.dist-info → weac-3.0.1.dist-info}/WHEEL +0 -0
- {weac-2.6.4.dist-info → weac-3.0.1.dist-info}/top_level.txt +0 -0
weac/layered.py
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
"""Class for the elastic analysis of layered snow slabs."""
|
|
2
|
-
|
|
3
|
-
# Project imports
|
|
4
|
-
|
|
5
|
-
from weac.eigensystem import Eigensystem
|
|
6
|
-
from weac.mixins import (
|
|
7
|
-
AnalysisMixin,
|
|
8
|
-
FieldQuantitiesMixin,
|
|
9
|
-
OutputMixin,
|
|
10
|
-
SlabContactMixin,
|
|
11
|
-
SolutionMixin,
|
|
12
|
-
)
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
class Layered(
|
|
16
|
-
FieldQuantitiesMixin,
|
|
17
|
-
SlabContactMixin,
|
|
18
|
-
SolutionMixin,
|
|
19
|
-
AnalysisMixin,
|
|
20
|
-
OutputMixin,
|
|
21
|
-
Eigensystem,
|
|
22
|
-
):
|
|
23
|
-
"""
|
|
24
|
-
Layered beam on elastic foundation model application interface.
|
|
25
|
-
|
|
26
|
-
Inherits methods for the eigensystem calculation from the base
|
|
27
|
-
class Eigensystem(), methods for the calculation of field
|
|
28
|
-
quantities from FieldQuantitiesMixin(), methods for the solution
|
|
29
|
-
of the system from SolutionMixin() and methods for the output
|
|
30
|
-
analysis from AnalysisMixin().
|
|
31
|
-
"""
|
|
32
|
-
|
|
33
|
-
def __init__(self, system="pst-", layers=None, touchdown=False):
|
|
34
|
-
"""
|
|
35
|
-
Initialize model with user input.
|
|
36
|
-
|
|
37
|
-
Arguments
|
|
38
|
-
---------
|
|
39
|
-
system : {'pst-', '-pst', 'vpst-', '-vpst', 'skier', 'skiers'}, optional
|
|
40
|
-
Type of system to analyse: PST cut from the right (pst-),
|
|
41
|
-
PST cut form the left (-pst), PST with vertical faces cut
|
|
42
|
-
from the right (vpst-), PST with vertical faces cut from the
|
|
43
|
-
left (-vpst), one skier on infinite slab (skier) or multiple
|
|
44
|
-
skiers on infinite slab (skiers). Default is 'pst-'.
|
|
45
|
-
layers : list, optional
|
|
46
|
-
2D list of layer densities and thicknesses. Columns are
|
|
47
|
-
density(kg/m ^ 3) and thickness(mm). One row corresponds
|
|
48
|
-
to one layer. Default is [[240, 200], ].
|
|
49
|
-
touchdown : bool, optional
|
|
50
|
-
Set True if slab touchdown is to be considered. Default is False.
|
|
51
|
-
"""
|
|
52
|
-
# Call parent __init__
|
|
53
|
-
super().__init__(system=system, touchdown=touchdown)
|
|
54
|
-
|
|
55
|
-
# Set material properties and set up model
|
|
56
|
-
self.set_beam_properties(
|
|
57
|
-
layers
|
|
58
|
-
if layers
|
|
59
|
-
else [
|
|
60
|
-
[240, 200],
|
|
61
|
-
]
|
|
62
|
-
)
|
|
63
|
-
self.set_foundation_properties()
|
|
64
|
-
self.calc_fundamental_system()
|