We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b212b0b commit 21ebe19Copy full SHA for 21ebe19
2 files changed
src/obj_geometry.jl
@@ -579,11 +579,11 @@ function ObjWing(
579
panel_props = PanelProperties{n_panels}()
580
cache = [PreallocationTools.LazyBufferCache()]
581
582
- wing = Wing(n_panels, Int16(n_unrefined_sections), spanwise_distribution, panel_props, MVec3(spanwise_direction),
+ wing = Wing(Int16(n_panels), Int16(n_unrefined_sections), spanwise_distribution, panel_props, MVec3(spanwise_direction),
583
sections, Section[], remove_nan, use_prior_polar, # refined_sections empty
584
Int16[], # refined_panel_mapping empty
585
Section[], zeros(n_panels), zeros(n_panels), # non_deformed, theta, delta
586
- mass, gamma_tip, inertia_tensor, T_cad_body, R_cad_body, radius,
+ mass, gamma_tip, inertia_tensor, MVec3(T_cad_body), MMat3(R_cad_body), radius,
587
le_interp, te_interp, area_interp, cache)
588
589
# Auto-refine for backward compatibility
test/bench.jl
@@ -188,14 +188,12 @@ using LinearAlgebra
188
$gamma,
189
$reference_point,
190
$density,
191
- VSM,
192
1e-20,
193
0.0,
194
$alpha_array,
195
$v_a_array,
196
$chord_array,
197
$x_airf_array,
198
- $y_airf_array,
199
$z_airf_array,
200
$va_array,
201
$va_norm_array,
0 commit comments