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/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()