5678e66aaa00587902c71449bf87270e9d07384f,trunk/SUAVE/Methods/Aerodynamics/XFOIL/compute_airfoil_polars.py,,read_airfoil_polars,#Any#,35

Before Change


       
    
     num_airfoils = len(airfoil)
     xfoil_polars = Data()
     xfoil_polars.aoa= np.zeros((num_airfoils,220))
     xfoil_polars.cl = np.zeros((num_airfoils,220))
     xfoil_polars.cd = np.zeros((num_airfoils,220))
     

After Change


     data_len = len(data_block)
     xfoil_aoa= np.zeros(data_len)
     xfoil_cl = np.zeros(data_len)
     xfoil_cd = np.zeros(data_len)     
     
     // Loop through each value: append to each column
     for line_count , line in enumerate(data_block):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: suavecode/SUAVE
Commit Name: 5678e66aaa00587902c71449bf87270e9d07384f
Time: 2019-03-16
Author: mclarke2@stanford.edu
File Name: trunk/SUAVE/Methods/Aerodynamics/XFOIL/compute_airfoil_polars.py
Class Name:
Method Name: read_airfoil_polars


Project Name: rusty1s/pytorch_geometric
Commit Name: b2002a8ef80ecbecee09fd61b910c987648455c7
Time: 2020-08-26
Author: matthias.fey@tu-dortmund.de
File Name: torch_geometric/datasets/karate.py
Class Name: KarateClub
Method Name: __init__


Project Name: suavecode/SUAVE
Commit Name: f8c1cb259cb3a5cab9907bb87f1522909ee852af
Time: 2020-03-24
Author: mclarke2@stanford.edu
File Name: trunk/SUAVE/Analyses/Aerodynamics/SU2_inviscid.py
Class Name: SU2_inviscid
Method Name: evaluate