weac 2.5.1__tar.gz → 2.5.2__tar.gz

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.
@@ -8,7 +8,7 @@ authors:
8
8
  - family-names: "Weissgraeber"
9
9
  given-names: "Philipp"
10
10
  orcid: "https://orcid.org/0000-0001-8320-8672"
11
- version: 2.5.1
11
+ version: 2.5.2
12
12
  date-released: 2021-12-30
13
13
  identifiers:
14
14
  - description: Collection of archived snapshots of all versions of WEAC
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: weac
3
- Version: 2.5.1
3
+ Version: 2.5.2
4
4
  Summary: Weak layer anticrack nucleation model
5
5
  Home-page: https://github.com/2phi/weac
6
6
  Author: 2phi GbR
@@ -213,15 +213,25 @@ x_cm, tau_kPa = skier.get_weaklayer_shearstress(x=xwl, z=z, unit='kPa')
213
213
 
214
214
  See the [open issues](https://github.com/2phi/weac/issues) for a list of proposed features and known issues.
215
215
 
216
- ### v2.6
216
+ ### v3.0
217
+
218
+ - [ ] New mathematical foundation to improve the weak-layer representation
219
+ - [ ] Complex terrain through the addition of out-of-plane tilt
220
+ - [ ] Up, down, and cross-slope cracks
221
+
222
+ ### v2.7
217
223
  - [ ] Finite fracture mechanics implementation for layered snow covers
218
224
 
219
- ### v2.5
225
+ ### v2.6
220
226
  - [ ] Implement anistropic weak layer
221
227
  - [ ] Add demo gif
222
228
 
223
229
  ## Release history
224
230
 
231
+ ### v2.5
232
+ - Analyze slab touchdown in PST experiments by setting `touchdown=True`
233
+ - Completely redesigned and significantly improved API documentation
234
+
225
235
  ### v2.4
226
236
  - Choose between slope-normal (`'-pst'`, `'pst-'`) or vertial (`'-vpst'`, `'vpst-'`) PST boundary conditions
227
237
 
@@ -189,15 +189,25 @@ x_cm, tau_kPa = skier.get_weaklayer_shearstress(x=xwl, z=z, unit='kPa')
189
189
 
190
190
  See the [open issues](https://github.com/2phi/weac/issues) for a list of proposed features and known issues.
191
191
 
192
- ### v2.6
192
+ ### v3.0
193
+
194
+ - [ ] New mathematical foundation to improve the weak-layer representation
195
+ - [ ] Complex terrain through the addition of out-of-plane tilt
196
+ - [ ] Up, down, and cross-slope cracks
197
+
198
+ ### v2.7
193
199
  - [ ] Finite fracture mechanics implementation for layered snow covers
194
200
 
195
- ### v2.5
201
+ ### v2.6
196
202
  - [ ] Implement anistropic weak layer
197
203
  - [ ] Add demo gif
198
204
 
199
205
  ## Release history
200
206
 
207
+ ### v2.5
208
+ - Analyze slab touchdown in PST experiments by setting `touchdown=True`
209
+ - Completely redesigned and significantly improved API documentation
210
+
201
211
  ### v2.4
202
212
  - Choose between slope-normal (`'-pst'`, `'pst-'`) or vertial (`'-vpst'`, `'vpst-'`) PST boundary conditions
203
213
 
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = weac
3
- version = 2.5.1
3
+ version = 2.5.2
4
4
  author = 2phi GbR
5
5
  author_email = mail@2phi.de
6
6
  description = Weak layer anticrack nucleation model
@@ -11,7 +11,7 @@ from weac.inverse import Inverse
11
11
  from weac import plot
12
12
 
13
13
  # Version
14
- __version__ = '2.5.1'
14
+ __version__ = '2.5.2'
15
15
 
16
16
  # Public names
17
17
  __all__ = [
@@ -284,6 +284,9 @@ def touchdown_distance(
284
284
  -------
285
285
  first_contact : float
286
286
  Cut length at first contact (mm).
287
+ full_contact : float
288
+ Cut length at which the slab comes into full contact (more than
289
+ a singular point) with the base layer (mm).
287
290
  steady_state : float
288
291
  Steady-state touchdown distance (mm).
289
292
  """
@@ -302,10 +305,15 @@ def touchdown_distance(
302
305
  touchdown.calc_segments(L=1e5, a=0, phi=phi)
303
306
  first_contact = touchdown.calc_a1()
304
307
 
308
+ # Compute ut length at which the slab comes into full contact (more
309
+ # than a singular point) with the base layer
310
+ full_contact = touchdown.calc_a2()
311
+
305
312
  # Compute steady-state touchdown distance in a dummy PST with a cut
306
313
  # of 5 times the first contact distance
307
314
  touchdown.calc_segments(L=1e5, a=5*first_contact, phi=phi)
308
315
  steady_state = touchdown.calc_lC()
309
316
 
310
- # Return first-contact cut length and steady-state touchdown distance (mm)
311
- return first_contact, steady_state
317
+ # Return first-contact cut length, full-contact cut length,
318
+ # and steady-state touchdown distance (mm)
319
+ return first_contact, full_contact, steady_state
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes