From c0f1357c626e7c66684cff2146a782961b839bb8 Mon Sep 17 00:00:00 2001 From: Joscha Gedicke Date: Mon, 7 Mar 2016 18:41:26 +0100 Subject: [PATCH] add comment to new function --- include/deal.II/lac/constraint_matrix.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/deal.II/lac/constraint_matrix.h b/include/deal.II/lac/constraint_matrix.h index 591e706675..b40514fd4c 100644 --- a/include/deal.II/lac/constraint_matrix.h +++ b/include/deal.II/lac/constraint_matrix.h @@ -740,6 +740,16 @@ public: VectorType &global_vector, const FullMatrix &local_matrix) const; + /** + * Same as the previous function, except that it uses two (possibly) different + * index sets to correctly handle inhomogeneties when the local matrix is + * computed from a combination of two neighboring elements, for example for an + * edge integral term in dG. Note that in the case that these two elements have + * different polynomial degree, the local matrix is rectangular. + * + * local_dof_indices_row is the set of row indices and + * local_dof_indices_col is the set of column indices of the local matrix. + */ template void distribute_local_to_global (const Vector &local_vector, -- 2.39.5