Skip to content

Commit 1ea1c6c

Browse files
committed
bug fix
1 parent 83d462c commit 1ea1c6c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Commons/Projection.jl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,12 @@ export compute_VMS2_error
2121
function compute_VMS2_error(uh_fine, simcase::SimulationCase,params::Dict{Symbol,Any}, tn::Real)
2222
@unpack U, dΩ, degree,parts = params
2323
@sunpack D = simcase
24+
if D == 2
2425
ubar, uprime = project_solution(uh_fine, simcase, params, tn)
2526
norm_cross, norm_re, eps_cross, eps_re = compute_stresses(ubar, uprime, dΩ)
26-
D== 2 ? write_apriori_analysis(tn, D, norm_cross, norm_re, eps_cross, eps_re, parts) : nothing
27+
write_apriori_analysis(tn, D, norm_cross, norm_re, eps_cross, eps_re, parts) : nothing
28+
end
29+
2730
compute_re_tensor(uh_fine, dΩ, D, tn, parts)
2831
end
2932

0 commit comments

Comments
 (0)