Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions structuralcodes/core/_section_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ class GrossProperties:

# section areas
area: float = field(default=0, metadata={'description': 'Total area'})
area_surface: float = field(
default=0, metadata={'description': 'Surface area'}
)
area_reinforcement: float = field(
default=0, metadata={'description': 'Reinforcement area'}
)
Expand Down
1 change: 0 additions & 1 deletion structuralcodes/sections/_generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ def _calculate_gross_section_properties(self) -> s_res.GrossProperties:
# and mass: Morten -> problem with units! how do we deal with it?
for geo in self.section.geometry.geometries:
gp.ea += geo.area * geo.material.get_tangent(eps=0)[0]
gp.area_surface += geo.area
if geo.density is not None:
# this assumes area in mm2 and density in kg/m3
gp.mass += geo.area * geo.density * 1e-9
Expand Down