Skip to content

Commit 7a771f2

Browse files
committed
Expose LiftingLine to user
1 parent 5851a43 commit 7a771f2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/liftingline/optimization.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ function run_liftingline(;
155155

156156
distributions = false, # Whether to output spanwise distributions
157157

158+
modify_liftingline! = identity, # Provide a function for manual customization of LiftingLine if needed
158159
cache = Dict(), # Model cache
159160

160161
plot_convergence = false, # Whether to plot solver convergence
@@ -266,6 +267,9 @@ function run_liftingline(;
266267
if isfinite(ground_distance)
267268
set_ground!(ll, ground_distance)
268269
end
270+
271+
# Expose LiftingLine to user for further customization
272+
modify_liftingline!(ll)
269273

270274
# Run solver
271275
result, solver_cache = solve(ll, Uinfs;

0 commit comments

Comments
 (0)