Skip to content
This repository has been archived by the owner on Feb 28, 2022. It is now read-only.

Commit

Permalink
fixed example code in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
oriolcg committed Nov 16, 2021
1 parent 23e5950 commit 0e0cf3b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ a(u,v) = ∫( ∇(v)⋅∇(u) )dΩ
b(v,t) = ( v*f(t) )dΩ
m(u,v) = ( v*u )dΩ

res(t,u,ut,v) = a(u,v) + m(ut,v) - b(v,t)
jac(t,u,ut,du,v) = a(du,v)
jac_t(t,u,ut,dut,v) = m(dut,v)
res(t,(u,ut),v) = a(u,v) + m(ut,v) - b(v,t)
jac(t,(u,ut),du,v) = a(du,v)
jac_t(t,(u,ut),dut,v) = m(dut,v)

op = TransientFEOperator(res,jac,jac_t,U,V0)

Expand Down

0 comments on commit 0e0cf3b

Please sign in to comment.