Skip to content

Commit

Permalink
Fixing assembly_tests.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
fverdugo committed Dec 23, 2024
1 parent 51b6835 commit d9f8acb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/assembly_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -289,9 +289,8 @@ mesh = GT.cartesian_mesh(domain,cells)
k = 1
V = GT.lagrange_space(Ω,k)
= GT.measure(Ω,2*k)
gradient(u) = x->ForwardDiff.gradient(u,x)
(u,x) = GT.call(gradient,u)(x)
a(u,v) = GT.( x->(u,x)(v,x), dΩ)
∇3 = ForwardDiff.gradient
a(u,v) = GT.( x->∇3(u,x)∇3(v,x), dΩ)
l(v) = 0
p = GT.linear_problem(Float64,V,a,l)
PS.matrix(p) |> display
Expand Down

0 comments on commit d9f8acb

Please sign in to comment.