Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
JordiManyer committed Dec 23, 2024
1 parent 120499a commit 6e649c5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/MultiFieldTests/MultiFieldFEAutodiffTests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ U = TrialFESpace(V)
P = TrialFESpace(Q)

Y = MultiFieldFESpace([V, Q])
X = MultiFieldFESpace([U, P, U])
X = MultiFieldFESpace([U, P])

xh = FEFunction(X,rand(num_free_dofs(X)))

Expand All @@ -158,9 +158,9 @@ n_Λ = get_normal_vector(Λ)
cell_x = FESpaces._get_cell_dof_values(xh,Λ)
cf = SkeletonCellFieldPair(X,cell_x)

g_Λ((uh,ph,vh)) = ( mean(uh) + mean(ph) + mean(uh)*mean(ph) )dΛ
g_Λ((uh,ph)) = ( mean(uh) + mean(ph) + mean(uh)*mean(ph) )dΛ
f_Λ((uh,ph)) = ( mean(uh*uh) + mean(uh*ph) + mean(ph*ph) )dΛ
a_Λ((uh,ph,vh)) = ( - jump(uh*n_Λ)mean((ph))
a_Λ((uh,ph)) = ( - jump(uh*n_Λ)mean((ph))
- mean((uh))jump(ph*n_Λ)
+ jump(uh*n_Λ)jump(ph*n_Λ) )dΛ

Expand Down

0 comments on commit 6e649c5

Please sign in to comment.