Skip to content

Commit

Permalink
EHN: add prints and plots to linear generic surface files
Browse files Browse the repository at this point in the history
  • Loading branch information
LUCKIN13 committed Sep 15, 2024
1 parent 1ed8a9e commit e9a8274
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rocketpy/rocket/aero_surface/linear_generic_surface.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
from rocketpy.mathutils import Function
from rocketpy.rocket.aero_surface.generic_surface import GenericSurface
from rocketpy.prints.aero_surface_prints import _LinearGenericSurfacePrints
from rocketpy.plots.aero_surface_plots import _LinearGenericSurfacePlots


class LinearGenericSurface(GenericSurface):
Expand Down Expand Up @@ -166,6 +168,9 @@ def __init__(

self.compute_all_coefficients()

Check warning on line 169 in rocketpy/rocket/aero_surface/linear_generic_surface.py

View check run for this annotation

Codecov / codecov/patch

rocketpy/rocket/aero_surface/linear_generic_surface.py#L169

Added line #L169 was not covered by tests

self.prints = _LinearGenericSurfacePrints(self)
self.plots = _LinearGenericSurfacePlots(self)

Check warning on line 172 in rocketpy/rocket/aero_surface/linear_generic_surface.py

View check run for this annotation

Codecov / codecov/patch

rocketpy/rocket/aero_surface/linear_generic_surface.py#L171-L172

Added lines #L171 - L172 were not covered by tests

def _get_default_coefficients(self):
"""Returns default coefficients
Expand Down

0 comments on commit e9a8274

Please sign in to comment.