Skip to content

Commit

Permalink
MNT: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
MateusStano committed Sep 17, 2024
1 parent d2926c7 commit d37a3ab
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions rocketpy/rocket/aero_surface/fins/free_form_fins.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,13 +201,16 @@ def evaluate_center_of_pressure(self):
def evaluate_geometrical_parameters(self): # pylint: disable=too-many-statements
"""
Calculates and saves the fin set's geometrical parameters such as the
fin area, aspect ratio, and parameters related to roll movement. This method
uses similar calculations to those in OpenRocket for free-form fin shapes.
fin area, aspect ratio, and parameters related to roll movement. This
method uses the same calculations to those in OpenRocket for free-form
fin shapes.
Returns
-------
None
"""
# pylint: disable=invalid-name
# pylint: disable=too-many-locals
# Calculate the fin area (Af) using the Shoelace theorem (polygon area formula)
Af = 0
for i in range(len(self.shape_points) - 1):
Expand Down

0 comments on commit d37a3ab

Please sign in to comment.