Skip to content

Commit ccee801

Browse files
committed
update convenience function
1 parent 9a81bfa commit ccee801

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/analysis/analyses.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ function analyze(
9191
solve_parameter_tuple.linsys,
9292
solve_parameter_tuple.wakeK,
9393
propulsor;
94-
grid_solver_options=options.wake_solver_options,
94+
grid_solver_options=options.grid_solver_options,
9595
integration_options=options.integration_options,
9696
autoshiftduct=options.autoshiftduct,
9797
itcpshift=options.itcpshift,
@@ -106,11 +106,11 @@ function analyze(
106106
#=
107107
NOTE: If the linear system or wake did not converge, there is likely a serious problem that would lead to an error in the solve, so we will exit here with a fail flag for an optimizer or user
108108
=#
109-
if iszero(lu_decomp_flag) || !options.wake_solver_options.converged[1]
109+
if iszero(lu_decomp_flag) || !options.grid_solver_options.converged[1]
110110
if !options.silence_warnings
111111
if iszero(lu_decomp_flag)
112112
@warn "Exiting. LU decomposition of the LHS matrix for the linear system failed. Please check your body geometry and ensure that there will be no panels lying directly atop eachother or other similar problematic geometry."
113-
elseif !options.wake_solver_options.converged[1]
113+
elseif !options.grid_solver_options.converged[1]
114114
@warn "Exiting. Wake elliptic grid solve did not converge. Consider a looser convergence tolerance if the geometry looks good."
115115
end
116116
end

0 commit comments

Comments
 (0)