Skip to content

Commit 081331d

Browse files
committed
order of projection = 2
1 parent 7e48316 commit 081331d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Commons/Projection.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function create_coarse_spaces(params,simcase,order::Int64)
4141
@unpack model = params
4242
simcase_coarse = deepcopy(simcase)
4343
# simcase_coarse.meshp.meshinfo.N .= ones(Int64, D) .* Int(ceil(N[1] / 2))
44-
simcase_coarse.sprob.method.order = 1
44+
simcase_coarse.sprob.method.order = 2
4545
boundary_conditions = create_boundary_conditions(simcase)
4646
Vc, Uc, _, _ = creation_fe_spaces(simcase_coarse, model, boundary_conditions)
4747
merge!(params,Dict(:Uc=>Uc, :Vc=>Vc))
@@ -65,7 +65,7 @@ function project_solution(uh_fine, simcase::TaylorGreen{Periodic}, params::Dict{
6565
@sunpack D,N, order = simcase
6666
@unpack U,V,P,Q, Ω, degree,parts, dΩ = params
6767

68-
@assert order >1
68+
@assert order >2
6969

7070
Vc, Uc = create_coarse_spaces(params,simcase,order)
7171

0 commit comments

Comments
 (0)