xslope 0.1.8__py3-none-any.whl → 0.1.9__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.
xslope/_version.py CHANGED
@@ -1,4 +1,4 @@
1
1
  __all__ = ["__version__"]
2
- __version__ = "0.1.8"
2
+ __version__ = "0.1.9"
3
3
 
4
4
 
xslope/plot_seep.py CHANGED
@@ -250,7 +250,7 @@ def plot_seep_solution(seep_data, solution, figsize=(14, 6), levels=20, base_mat
250
250
  contour lines are shown. Default is True.
251
251
  phreatic : bool, optional
252
252
  If True, plots the phreatic surface (where pressure head = 0) as a thick red line.
253
- Default is True. Only applicable when variable="head".
253
+ Default is True. Only plotted if pore pressure is negative somewhere in the domain.
254
254
  alpha : float, optional
255
255
  Transparency level (0-1) for material zone fill colors. Default is 0.4.
256
256
  pad_frac : float, optional
@@ -461,16 +461,16 @@ def plot_seep_solution(seep_data, solution, figsize=(14, 6), levels=20, base_mat
461
461
  # Solid lines for contours
462
462
  ax.tricontour(triang, contour_data, levels=contour_levels, colors="k", linewidths=0.5)
463
463
 
464
- # Phreatic surface (pressure head = 0) - only for head plots
464
+ # Phreatic surface (pressure head = 0)
465
465
  # Check if phreatic surface exists (pore pressure must be negative somewhere)
466
466
  has_phreatic = False
467
- if phreatic and plot_flowlines:
467
+ if phreatic:
468
468
  # Check if pore pressure goes negative (indicating a phreatic surface exists)
469
469
  u = solution.get("u")
470
470
  if u is not None and np.min(u) < 0:
471
471
  elevation = nodes[:, 1] # y-coordinate is elevation
472
472
  pressure_head = head - elevation
473
- ax.tricontour(triang, pressure_head, levels=[0], colors="red", linewidths=2.0)
473
+ ax.tricontour(triang, pressure_head, levels=[0], colors="black", linewidths=2.0)
474
474
  has_phreatic = True
475
475
 
476
476
  # Overlay flowlines if variable is head and phi is available
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: xslope
3
- Version: 0.1.8
3
+ Version: 0.1.9
4
4
  Summary: Slope stability analysis (limit equilibrium and FEM) in Python.
5
5
  Author: Norman L. Jones
6
6
  Project-URL: Homepage, https://github.com/njones61/xslope
@@ -1,5 +1,5 @@
1
1
  xslope/__init__.py,sha256=ZygAIkX6Nbjag1czWdQa-yP-GM1mBE_9ss21Xh__JFc,34
2
- xslope/_version.py,sha256=NdJ0AO0Uqe8qXyVhnXjyePxheMvSfPnlWIjEyON0wio,50
2
+ xslope/_version.py,sha256=zvdgcTZN9Sqg_0LnmeAQEgKa85RkCrIkfxKFqzUQC6o,50
3
3
  xslope/advanced.py,sha256=35k_ekQJ-mQJ1wHnoIHMc5TVfYn-2EPCJyHz827Cpbc,18281
4
4
  xslope/fem.py,sha256=K4_Pq06HFBpRkN3JwtXF2zw_AMnCkXvj0ggrlRFMQQw,115731
5
5
  xslope/fileio.py,sha256=DnFUYmJedjKXOuVPZUfTRxGfTjiIz8KyHkRDK7ddQg0,28840
@@ -8,14 +8,14 @@ xslope/mesh copy.py,sha256=qtMH1yKFgHM4kNuIrxco7tKV86R3Dbf7Nok5j6MtlLY,131013
8
8
  xslope/mesh.py,sha256=qtMH1yKFgHM4kNuIrxco7tKV86R3Dbf7Nok5j6MtlLY,131013
9
9
  xslope/plot.py,sha256=OW2eZyrT5h3Y95qjNFgGMnC_Am7TurUB2S7b_BgnO6E,54641
10
10
  xslope/plot_fem.py,sha256=al9zjqjxWKooLl4SAds77Zz-j9cjD4TJGygyU9QK5vo,71111
11
- xslope/plot_seep.py,sha256=lPMaKbm4VURWDb1lwtLT7UhuEwuXi5cKRQw3mKt4HkM,34657
11
+ xslope/plot_seep.py,sha256=Fs8S-0_7bnNJZlj7SnM0ij1mFDZWlNjXGnP6iMDiplY,34647
12
12
  xslope/search.py,sha256=dvgKn8JCobuvyD7fClF5lcbeHESCvV8gZ_U_lQnYRok,16867
13
13
  xslope/seep.py,sha256=tLvme-eL0R5SGGTH2Y6z4Rrfe36UuSWWLlL_1kglee8,93030
14
14
  xslope/slice.py,sha256=QHawTk7XPLziHoN_ZS0jrEPYKlhPT62caUc_q-_EGjs,45236
15
15
  xslope/solve.py,sha256=j7N66QBjBpDAo-aizTiP8auwd5Ey1SiYAYeySaMVzkw,48554
16
- xslope-0.1.8.dist-info/LICENSE,sha256=NU5J88FUai_4Ixu5DqOQukA-gcXAyX8pXLhIg8OB3AM,10969
17
- xslope-0.1.8.dist-info/METADATA,sha256=Pf0XtMc9nlYRojBMzwsvKv4izxJh32ydwOQwCUmUhzA,2027
18
- xslope-0.1.8.dist-info/NOTICE,sha256=E-sbN0MWwvJC27Z-2_G4VUHIx4IsfvLDTmOstvY4-OQ,530
19
- xslope-0.1.8.dist-info/WHEEL,sha256=beeZ86-EfXScwlR_HKu4SllMC9wUEj_8Z_4FJ3egI2w,91
20
- xslope-0.1.8.dist-info/top_level.txt,sha256=5qHbWJ1R2pdTNIainFyrVtFk8R1tRcwIn0kzTuwuV1Q,7
21
- xslope-0.1.8.dist-info/RECORD,,
16
+ xslope-0.1.9.dist-info/LICENSE,sha256=NU5J88FUai_4Ixu5DqOQukA-gcXAyX8pXLhIg8OB3AM,10969
17
+ xslope-0.1.9.dist-info/METADATA,sha256=Q-IPfFHUfGovtxSEjzQI2AeOlAyjd-ne0343IVmClFM,2027
18
+ xslope-0.1.9.dist-info/NOTICE,sha256=E-sbN0MWwvJC27Z-2_G4VUHIx4IsfvLDTmOstvY4-OQ,530
19
+ xslope-0.1.9.dist-info/WHEEL,sha256=beeZ86-EfXScwlR_HKu4SllMC9wUEj_8Z_4FJ3egI2w,91
20
+ xslope-0.1.9.dist-info/top_level.txt,sha256=5qHbWJ1R2pdTNIainFyrVtFk8R1tRcwIn0kzTuwuV1Q,7
21
+ xslope-0.1.9.dist-info/RECORD,,
File without changes