a068c94852f28630c7eeed3e66523fee665eb6e7,trunk/SUAVE/Plugins/OpenVSP/vsp_write.py,,write,#Any#Any#,20

Before Change


        origins   = turbofan.origin
        bpr       = turbofan.bypass_ratio
        
        if n_engines == 2:
            symmetric = 1
        else:
            symmetric = 0
            
        x = origins[0]
        y = origins[1]
        z = origins[2]
            

After Change


            
            // Calculate the local span
            if i_segs == n_segments:
                span_i = span*(1 - wing.Segments[i_segs-1].percent_span_location)/np.cos(dihedral_i*Units.deg)
            else:
                span_i = span*(wing.Segments[i_segs].percent_span_location-wing.Segments[i_segs-1].percent_span_location)/np.cos(dihedral_i*Units.deg)           
            
            // Insert the new wing section
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: suavecode/SUAVE
Commit Name: a068c94852f28630c7eeed3e66523fee665eb6e7
Time: 2016-12-07
Author: ebotero@stanford.edu
File Name: trunk/SUAVE/Plugins/OpenVSP/vsp_write.py
Class Name:
Method Name: write


Project Name: nl8590687/ASRT_SpeechRecognition
Commit Name: b86b5661fc01a6204b3eb2a455a341e135db8270
Time: 2018-06-15
Author: 3210346136@qq.com
File Name: general_function/file_wav.py
Class Name:
Method Name:


Project Name: ncullen93/torchsample
Commit Name: 9c227d6b1acd1dec7ec6da9f249227980b49f975
Time: 2017-03-01
Author: ncullen@Nicks-MacBook-Pro.local
File Name: torchsample/transforms/affine_transforms.py
Class Name: Translation
Method Name: __call__