You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/literate-tutorials/transient_heat_equation.jl
+10-7Lines changed: 10 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -54,9 +54,10 @@
54
54
# In this example we apply the boundary conditions to the assembled discrete operators (mass matrix $\mathbf{M}$ and stiffnes matrix $\mathbf{K}$)
55
55
# only once. We utilize the fact that in finite element computations Dirichlet conditions can be applied by
56
56
# zero out rows and columns that correspond
57
-
# to a prescribed dof in the system matrix ($\mathbf{A} = Δt \mathbf{K} + \mathbf{M}$) and setting the value of the right-hand side vector to the value
58
-
# of the Dirichlet condition. Thus, we only need to apply in every time step the Dirichlet condition to the right-hand side of the problem. For more details
59
-
# on the derivation and discretisation, see the [Introduction to FEM](@ref fe-intro).
57
+
# to a prescribed dof in the system matrix ($\mathbf{A} = Δt \mathbf{K} + \mathbf{M}$) and setting the value of the
58
+
# right-hand side vector to the value of the Dirichlet condition. Thus, we only need to apply in every time step the
59
+
# Dirichlet condition to the right-hand side of the problem. For more details
60
+
# on the derivation and discretisation, see [Introduction to FEM](@ref fe-intro).
60
61
#-
61
62
# ## Commented program
62
63
#
@@ -108,7 +109,8 @@ close!(ch)
108
109
update!(ch, 0.0);
109
110
110
111
# ### Assembling the linear system
111
-
# As in the [heat equation example](@ref heat_equation.jl) we define a `doassemble!` function that assembles the diffusion and diffusive parts of the equation:
112
+
# As in the [heat equation example](@ref heat_equation.jl) we define a `doassemble!` function that assembles the
0 commit comments