99066f0140aa6f88474b4ea6ca8c4a1001e7f0e9,trunk/SUAVE/Analyses/Aerodynamics/Vortex_Lattice.py,,calculate_lift_vortex_lattice,#Any#Any#Any#,273

Before Change


    
    wing_lifts = Data()
    wing_induced_drag = Data()
    for wing in geometry.wings.values():
        [wing_lift_coeff,wing_drag_coeff] = weissinger_VLM(conditions,settings,wing)
        wing_lifts[wing.tag]        = wing_lift_coeff
        wing_induced_drag[wing.tag] = wing_drag_coeff
        total_lift_coeff           += wing_lift_coeff * wing.areas.reference / vehicle_reference_area
        totat_induced_drag_coeff   += wing_drag_coeff * wing.areas.reference / vehicle_reference_area

    return total_lift_coeff,totat_induced_drag_coeff, wing_lifts , wing_induced_drag


After Change


        //total_lift_coeff           += wing_lift_coeff * wing.areas.reference / vehicle_reference_area
        //total_induced_drag_coeff   += wing_drag_coeff * wing.areas.reference / vehicle_reference_area
        
    total_lift_coeff,total_induced_drag_coeff,_,_,_ = VLM(conditions,settings,geometry)

    return total_lift_coeff,total_induced_drag_coeff//, wing_lifts , wing_induced_drag
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: suavecode/SUAVE
Commit Name: 99066f0140aa6f88474b4ea6ca8c4a1001e7f0e9
Time: 2019-05-10
Author: ebotero@stanford.edu
File Name: trunk/SUAVE/Analyses/Aerodynamics/Vortex_Lattice.py
Class Name:
Method Name: calculate_lift_vortex_lattice


Project Name: suavecode/SUAVE
Commit Name: 99066f0140aa6f88474b4ea6ca8c4a1001e7f0e9
Time: 2019-05-10
Author: ebotero@stanford.edu
File Name: trunk/SUAVE/Analyses/Aerodynamics/Vortex_Lattice.py
Class Name:
Method Name: calculate_lift_vortex_lattice


Project Name: facebookresearch/pytext
Commit Name: 29a4eba84ad5d7a3375c899571f5c89d2b9732c9
Time: 2019-06-25
Author: ruty@fb.com
File Name: pytext/task/new_task.py
Class Name: _NewTask
Method Name: _init_tensorizers


Project Name: suavecode/SUAVE
Commit Name: 99066f0140aa6f88474b4ea6ca8c4a1001e7f0e9
Time: 2019-05-10
Author: ebotero@stanford.edu
File Name: trunk/SUAVE/Analyses/Aerodynamics/Vortex_Lattice.py
Class Name: Vortex_Lattice
Method Name: sample_training