Skip to content

Commit fda85e4

Browse files
authored
Merge pull request #184 from Antoinemarteau/patch-2
Nasty typo in Tutorial 17
2 parents 5c1d725 + 47e4033 commit fda85e4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/transient_linear.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ f(t) = x -> sin(t) * sinpi(x[1]) * sinpi(x[2])
7878
m(t, dtu, v) = (v * dtu)dΩ
7979
a(t, u, v) = (α(t) * (v) (u))dΩ
8080
l(t, v) = (v * f(t))dΩ
81-
op = TransientLinearFEOperator((m, a), l, Ug, V0)
81+
op = TransientLinearFEOperator((a, m), l, Ug, V0)
8282

8383
# In our case, the mass term ($m(t, \cdot, \cdot)$) is constant in time. We can take advantage of that to save some computational effort, and indicate it to Gridap as follows
84-
op_opt = TransientLinearFEOperator((m, a), l, Ug, V0, constant_forms=(true, false))
84+
op_opt = TransientLinearFEOperator((a, m), l, Ug, V0, constant_forms=(true, false))
8585

8686
# If the stiffness term ($a(t, \cdot, \cdot)$) had been constant in time, we could have set `constant_forms=(true, true)`.
8787

0 commit comments

Comments
 (0)