From b4d0da692f567843f49e282e69a5c4fbe4d4d6d0 Mon Sep 17 00:00:00 2001 From: wolf Date: Mon, 16 Dec 2002 15:19:47 +0000 Subject: [PATCH] Add some more this-> git-svn-id: https://svn.dealii.org/trunk@6822 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/fe/fe_q.cc | 8 ++++---- deal.II/lac/include/lac/sparse_decomposition.templates.h | 7 ++++--- deal.II/lac/include/lac/sparse_mic.templates.h | 2 +- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/deal.II/deal.II/source/fe/fe_q.cc b/deal.II/deal.II/source/fe/fe_q.cc index 74673d97b3..8a057dc7a9 100644 --- a/deal.II/deal.II/source/fe/fe_q.cc +++ b/deal.II/deal.II/source/fe/fe_q.cc @@ -1400,11 +1400,11 @@ FE_Q::has_support_on_face (const unsigned int shape_index, Assert (false, ExcNotImplemented()); }; } - else if (shape_index < first_quad_index) + else if (shape_index < this->first_quad_index) // ok, dof is on a line { const unsigned int line_index - = (shape_index - first_line_index) / this->dofs_per_line; + = (shape_index - this->first_line_index) / this->dofs_per_line; Assert (line_index < GeometryInfo::lines_per_cell, ExcInternalError()); @@ -1431,11 +1431,11 @@ FE_Q::has_support_on_face (const unsigned int shape_index, else Assert (false, ExcNotImplemented()); } - else if (shape_index < first_hex_index) + else if (shape_index < this->first_hex_index) // dof is on a quad { const unsigned int quad_index - = (shape_index - first_quad_index) / this->dofs_per_quad; + = (shape_index - this->first_quad_index) / this->dofs_per_quad; Assert (static_cast(quad_index) < static_cast(GeometryInfo::quads_per_cell), ExcInternalError()); diff --git a/deal.II/lac/include/lac/sparse_decomposition.templates.h b/deal.II/lac/include/lac/sparse_decomposition.templates.h index bc31a7adda..eeaa862823 100644 --- a/deal.II/lac/include/lac/sparse_decomposition.templates.h +++ b/deal.II/lac/include/lac/sparse_decomposition.templates.h @@ -146,15 +146,16 @@ SparseLUDecomposition::strengthen_diagonal_impl () // get the global index of the first // non-diagonal element in this row const unsigned int rowstart - = get_sparsity_pattern().get_rowstart_indices()[row] + 1; + = this->get_sparsity_pattern().get_rowstart_indices()[row] + 1; number * const diagonal_element = &this->global_entry(rowstart-1); number rowsum = 0; for (unsigned int global_index=rowstart; global_indexglobal_entry(global_index)); - *diagonal_element += get_strengthen_diagonal (rowsum, row) * rowsum; + *diagonal_element += this->get_strengthen_diagonal (rowsum, row) * + rowsum; } } diff --git a/deal.II/lac/include/lac/sparse_mic.templates.h b/deal.II/lac/include/lac/sparse_mic.templates.h index 07a4cbc133..a0d88a0d84 100644 --- a/deal.II/lac/include/lac/sparse_mic.templates.h +++ b/deal.II/lac/include/lac/sparse_mic.templates.h @@ -117,7 +117,7 @@ void SparseMIC::decompose (const SparseMatrix &matrix, inner_sums.resize (this->m()); // precalc sum(j=k+1, N, a[k][j])) - for(unsigned int row=0; rowm(); row++) { inner_sums[row] = get_rowsum(row); } -- 2.39.5