From 431957a5655ee51ea0693a1391aa983e2da506e8 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Tue, 23 Dec 2014 11:13:19 +0100 Subject: [PATCH] Fix link in step-52 --- examples/step-52/step-52.cc | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/examples/step-52/step-52.cc b/examples/step-52/step-52.cc index 51c7d9e302..774b7e6b83 100644 --- a/examples/step-52/step-52.cc +++ b/examples/step-52/step-52.cc @@ -181,17 +181,18 @@ namespace Step52 - // @sect4{Diffusion::assemble_system} In this function, we - // compute $-\int D \nabla b_i \cdot \nabla b_j d\boldsymbol{r} - \int - // \Sigma_a b_i b_j d\boldsymbol{r}$ and the mass matrix $\int b_i b_j - // d\boldsymbol{r}$. The mass matrix is then inverted using a direct solver; - // the inverse_mass_matrix variable will then store the inverse - // of the mass matrix so that $M^{-1}$ can be applied to a vector using the - // vmult() function of that object. (Internally, UMFPACK does - // not really store the inverse of the matrix, but its LU factors; applying - // the inverse matrix is then equivalent to doing one forward and one - // backward solves with these two factors, which has the same complexity as - // applying an explicit inverse of the matrix). + // @sect4{Diffusion::assemble_system} + // In this function, we compute $-\int D \nabla b_i \cdot \nabla b_j + // d\boldsymbol{r} - \int \Sigma_a b_i b_j d\boldsymbol{r}$ and the mass + // matrix $\int b_i b_j d\boldsymbol{r}$. The mass matrix is then + // inverted using a direct solver; the inverse_mass_matrix + // variable will then store the inverse of the mass matrix so that + // $M^{-1}$ can be applied to a vector using the vmult() + // function of that object. (Internally, UMFPACK does not really store + // the inverse of the matrix, but its LU factors; applying the inverse + // matrix is then equivalent to doing one forward and one backward solves + // with these two factors, which has the same complexity as applying an + // explicit inverse of the matrix). void Diffusion::assemble_system () { system_matrix = 0.; -- 2.39.5