From 37fd84611a939bb707dc31ca7bfd9a7e6dd552ce Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Fri, 21 Jun 2019 20:19:07 -0700 Subject: all plots coherent --- main.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'main.py') diff --git a/main.py b/main.py index a59fcff..f5f4496 100644 --- a/main.py +++ b/main.py @@ -32,7 +32,11 @@ SPAR_MASS = 10 # lbs STRINGER_MASS = 5 # lbs # Area -STRINGER_AREA = 0.1 # sqin +STRINGER_AREA = 1 # sqin +TOP_STRINGERS = 4 +BOTTOM_STRINGERS = 6 +NOSE_TOP_STRINGERS = 4 +NOSE_BOTTOM_STRINGERS = 7 # population information POP_SIZE = 1 @@ -73,7 +77,11 @@ def main(): # Create stringer instance af.stringer = creator.Stringer() # Compute the stringer coordinates from their quantity in each zone - af.stringer.add_coord(af.coord, af.spar.coord, 4, 7, 5, 6) + af.stringer.add_coord(af.coord, af.spar.coord, + NOSE_TOP_STRINGERS, + TOP_STRINGERS, + NOSE_BOTTOM_STRINGERS, + BOTTOM_STRINGERS) af.stringer.add_area(STRINGER_AREA) af.stringer.add_mass(STRINGER_MASS) # af.stringer.info_print(2) -- cgit v1.2.3