Skip to content

Commit b9ea24e

Browse files
committed
bug fix is project
1 parent 48ac9f5 commit b9ea24e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Commons/Projection.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export compute_VMS2_error
1818
###PROJECTION
1919

2020

21-
function compute_VMS2_error(uh_fine, simcase::SimulationCase,params::Dict{Symbol,Any}, tn::Real)
21+
function compute_VMS2_error(uh_fine, simcase::TaylorGreen{Periodic},params::Dict{Symbol,Any}, tn::Real)
2222
@unpack U, dΩ, degree,parts = params
2323
@sunpack D = simcase
2424
if D == 2
@@ -48,10 +48,12 @@ function create_coarse_spaces(params,simcase,order::Int64)
4848
return Vc, Uc
4949
end
5050

51-
function project_solution(uh_fine, simcase::SimulationCase, params::Dict{Symbol,Any}, tn::Real)
51+
52+
function compute_VMS2_error(uh_fine, simcase::SimulationCase,params::Dict{Symbol,Any}, tn::Real)
5253
return true
5354
end
5455

56+
5557
function project_solution(uh_fine, simcase::TaylorGreen{Periodic}, params::Dict{Symbol,Any}, tn::Real)
5658
@assert tn>=0.0
5759
@sunpack D,N, order = simcase

0 commit comments

Comments
 (0)