@@ -15,7 +15,7 @@ Struct for storing the solution of the [solve!](@ref) function. Must contain all
1515- solver_status::SolverStatus: enum, see [SolverStatus](@ref)
1616"""
1717@with_kw mutable struct VSMSolution{P}
18- # ## private vectors of solve_base
18+ # ## private vectors of solve_base!
1919 x_airf_array:: Matrix{Float64} = zeros (P, 3 )
2020 y_airf_array:: Matrix{Float64} = zeros (P, 3 )
2121 z_airf_array:: Matrix{Float64} = zeros (P, 3 )
@@ -146,7 +146,7 @@ function solve!(solver::Solver, body_aero::BodyAerodynamics, gamma_distribution=
146146 log= false , reference_point= zeros (MVec3), moment_frac= 0.1 )
147147
148148 # calculate intermediate result
149- solve_base (solver, body_aero, gamma_distribution; log, reference_point)
149+ solve_base! (solver, body_aero, gamma_distribution; log, reference_point)
150150 gamma_new = solver. lr. gamma_new
151151 if ! isnothing (solver. sol. gamma_distribution)
152152 solver. sol. gamma_distribution .= gamma_new
@@ -312,7 +312,7 @@ A dictionary with the results.
312312function solve (solver:: Solver , body_aero:: BodyAerodynamics , gamma_distribution= nothing ;
313313 log= false , reference_point= zeros (MVec3))
314314 # calculate intermediate result
315- solve_base (solver, body_aero, gamma_distribution; log, reference_point)
315+ solve_base! (solver, body_aero, gamma_distribution; log, reference_point)
316316
317317 # Calculate final results as dictionary
318318 results = calculate_results (
344344 end
345345end
346346
347- function solve_base (solver:: Solver , body_aero:: BodyAerodynamics , gamma_distribution= nothing ;
347+ function solve_base! (solver:: Solver , body_aero:: BodyAerodynamics , gamma_distribution= nothing ;
348348 log= false , reference_point= zeros (MVec3))
349349
350350 # check arguments
0 commit comments