PyCBA 0.5.1__tar.gz → 0.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.
- {PyCBA-0.5.1/src/PyCBA.egg-info → pycba-0.5.2}/PKG-INFO +2 -2
- {PyCBA-0.5.1 → pycba-0.5.2}/pyproject.toml +1 -1
- {PyCBA-0.5.1 → pycba-0.5.2/src/PyCBA.egg-info}/PKG-INFO +2 -2
- {PyCBA-0.5.1 → pycba-0.5.2}/src/PyCBA.egg-info/requires.txt +1 -1
- {PyCBA-0.5.1 → pycba-0.5.2}/src/pycba/__init__.py +1 -1
- {PyCBA-0.5.1 → pycba-0.5.2}/src/pycba/bridge.py +3 -2
- {PyCBA-0.5.1 → pycba-0.5.2}/src/pycba/results.py +2 -2
- {PyCBA-0.5.1 → pycba-0.5.2}/LICENSE +0 -0
- {PyCBA-0.5.1 → pycba-0.5.2}/README.md +0 -0
- {PyCBA-0.5.1 → pycba-0.5.2}/setup.cfg +0 -0
- {PyCBA-0.5.1 → pycba-0.5.2}/setup.py +0 -0
- {PyCBA-0.5.1 → pycba-0.5.2}/src/PyCBA.egg-info/SOURCES.txt +0 -0
- {PyCBA-0.5.1 → pycba-0.5.2}/src/PyCBA.egg-info/dependency_links.txt +0 -0
- {PyCBA-0.5.1 → pycba-0.5.2}/src/PyCBA.egg-info/top_level.txt +0 -0
- {PyCBA-0.5.1 → pycba-0.5.2}/src/pycba/analysis.py +0 -0
- {PyCBA-0.5.1 → pycba-0.5.2}/src/pycba/beam.py +0 -0
- {PyCBA-0.5.1 → pycba-0.5.2}/src/pycba/inf_lines.py +0 -0
- {PyCBA-0.5.1 → pycba-0.5.2}/src/pycba/load.py +0 -0
- {PyCBA-0.5.1 → pycba-0.5.2}/src/pycba/pattern.py +0 -0
- {PyCBA-0.5.1 → pycba-0.5.2}/src/pycba/utils.py +0 -0
- {PyCBA-0.5.1 → pycba-0.5.2}/src/pycba/vehicle.py +0 -0
- {PyCBA-0.5.1 → pycba-0.5.2}/tests/test_basic.py +0 -0
- {PyCBA-0.5.1 → pycba-0.5.2}/tests/test_bridge.py +0 -0
- {PyCBA-0.5.1 → pycba-0.5.2}/tests/test_inf_lines.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: PyCBA
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.2
|
|
4
4
|
Summary: Python Continuous Beam Analysis
|
|
5
5
|
Author-email: Colin Caprani <colin.caprani@monash.edu>
|
|
6
6
|
License: Apache 2.0
|
|
@@ -29,7 +29,7 @@ Description-Content-Type: text/markdown
|
|
|
29
29
|
License-File: LICENSE
|
|
30
30
|
Requires-Dist: matplotlib
|
|
31
31
|
Requires-Dist: numpy
|
|
32
|
-
Requires-Dist: scipy
|
|
32
|
+
Requires-Dist: scipy>=1.6.0
|
|
33
33
|
Provides-Extra: test
|
|
34
34
|
Requires-Dist: pytest>=6.2.2; extra == "test"
|
|
35
35
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: PyCBA
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.2
|
|
4
4
|
Summary: Python Continuous Beam Analysis
|
|
5
5
|
Author-email: Colin Caprani <colin.caprani@monash.edu>
|
|
6
6
|
License: Apache 2.0
|
|
@@ -29,7 +29,7 @@ Description-Content-Type: text/markdown
|
|
|
29
29
|
License-File: LICENSE
|
|
30
30
|
Requires-Dist: matplotlib
|
|
31
31
|
Requires-Dist: numpy
|
|
32
|
-
Requires-Dist: scipy
|
|
32
|
+
Requires-Dist: scipy>=1.6.0
|
|
33
33
|
Provides-Extra: test
|
|
34
34
|
Requires-Dist: pytest>=6.2.2; extra == "test"
|
|
35
35
|
|
|
@@ -494,8 +494,9 @@ class BridgeAnalysis:
|
|
|
494
494
|
|
|
495
495
|
ax = axsLeft[0]
|
|
496
496
|
ax.plot([0, L], [0, 0], "k", lw=2)
|
|
497
|
-
ax.plot(x,
|
|
498
|
-
ax.plot(x,
|
|
497
|
+
ax.plot(x, env.Mmax, "r")
|
|
498
|
+
ax.plot(x, env.Mmin, "b")
|
|
499
|
+
ax.invert_yaxis()
|
|
499
500
|
ax.grid()
|
|
500
501
|
ax.set_ylabel("Bending Moment (kNm)")
|
|
501
502
|
|
|
@@ -173,8 +173,8 @@ class BeamResults:
|
|
|
173
173
|
# And superimpose end displacements using Moment-Area
|
|
174
174
|
h = L / self.npts
|
|
175
175
|
|
|
176
|
-
R = integrate.
|
|
177
|
-
D = integrate.
|
|
176
|
+
R = integrate.cumulative_trapezoid(res.M[1:-1], dx=h, initial=0) / EI + R0
|
|
177
|
+
D = integrate.cumulative_trapezoid(R, dx=h, initial=0) + d[0]
|
|
178
178
|
|
|
179
179
|
res.R[1:-1] = R
|
|
180
180
|
res.D[1:-1] = D
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|