Skip to content

Commit 2b4c1c4

Browse files
Nasty typo in tutorial 17
Code wouldn't work with Neuman BC [1040](gridap/Gridap.jl#1040).
1 parent 8109809 commit 2b4c1c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/transient_linear.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ l(t, v) = ∫(v * f(t))dΩ
8181
op = TransientLinearFEOperator((m, a), 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)