File tree 6 files changed +7
-8
lines changed 6 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 2
2
A python package to calculate the section properties of arbitrary reinforced concrete
3
3
sections.
4
4
"""
5
- __version__ = "0.2.0 "
5
+ __version__ = "0.2.1 "
Original file line number Diff line number Diff line change @@ -1408,7 +1408,7 @@ def calculate_cracked_stress(
1408
1408
1409
1409
# handle cardinal points (avoid divide by zeros)
1410
1410
tan_theta = np .tan (theta )
1411
- with np .errstate (divide = ' ignore' ):
1411
+ with np .errstate (divide = " ignore" ):
1412
1412
c = (e_ixx - e_ixy * tan_theta ) / (e_ixy - e_iyy * tan_theta )
1413
1413
1414
1414
# calculate bending moment about each axis (figure out signs)
@@ -1418,7 +1418,7 @@ def calculate_cracked_stress(
1418
1418
elif c > 0 :
1419
1419
sign = 1
1420
1420
else :
1421
- if c < 0 :
1421
+ if c < 0 :
1422
1422
sign = 1
1423
1423
else :
1424
1424
sign = - 1
Original file line number Diff line number Diff line change @@ -320,7 +320,6 @@ def calculate_transformed_properties(
320
320
self .i11_cr = self .e_i11_cr / elastic_modulus
321
321
self .i22_cr = self .e_i22_cr / elastic_modulus
322
322
323
-
324
323
def plot_cracked_geometries (
325
324
self ,
326
325
title : Optional [str ] = "Cracked Geometries" ,
Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ def test_rotated_uncracked_stress(theta):
149
149
150
150
# fix top and bottom geometries
151
151
for idx , cf in enumerate (new_uncr_stress .concrete_forces ):
152
- if theta < - np .pi / 2 or theta > np .pi / 2 :
152
+ if theta < - np .pi / 2 or theta > np .pi / 2 :
153
153
i = len (new_uncr_stress .concrete_forces ) - idx - 1
154
154
else :
155
155
i = idx
Original file line number Diff line number Diff line change 4
4
"url" : " https://robbievanleeuwen.github.io/concrete-properties/"
5
5
},
6
6
{
7
- "version" : " 0.2.0 " ,
8
- "url" : " https://robbievanleeuwen.github.io/concrete-properties/0.2.0 "
7
+ "version" : " 0.2.1 " ,
8
+ "url" : " https://robbievanleeuwen.github.io/concrete-properties/0.2.1 "
9
9
},
10
10
{
11
11
"version" : " 0.1.0" ,
Original file line number Diff line number Diff line change 14
14
- [x] Is there a way to generate output within a docstring??
15
15
- [x] gif of progressive service stress plot?
16
16
- [x] Fix mv!!!
17
- - [ ] CRACKED STRESS - resolve moments!
17
+ - [x ] CRACKED STRESS - resolve moments!
18
18
19
19
# POST-RELEASE ITEMS
20
20
- [ ] Speed up
You can’t perform that action at this time.
0 commit comments