From: Luca Heltai Date: Wed, 4 Nov 2015 21:45:25 +0000 (+0100) Subject: Fixed bug in matrix creator. X-Git-Tag: v8.4.0-rc2~251^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84d426abb4b1a9ac5ee899e04ee62715351fa6bf;p=dealii.git Fixed bug in matrix creator. --- diff --git a/source/numerics/matrix_tools.cc b/source/numerics/matrix_tools.cc index 2e46d1581f..2f494c053e 100644 --- a/source/numerics/matrix_tools.cc +++ b/source/numerics/matrix_tools.cc @@ -1707,9 +1707,10 @@ namespace MatrixCreator const Quadrature &q, SparseMatrix &matrix, const Function *const coefficient, - const ConstraintMatrix &) + const ConstraintMatrix &constraints) { - create_laplace_matrix(StaticMappingQ1::mapping, dof, q, matrix, coefficient); + create_laplace_matrix(StaticMappingQ1::mapping, + dof, q, matrix, coefficient, constraints); } @@ -1766,10 +1767,10 @@ namespace MatrixCreator const Function &rhs, Vector &rhs_vector, const Function *const coefficient, - const ConstraintMatrix &) + const ConstraintMatrix &constraints) { create_laplace_matrix(StaticMappingQ1::mapping, dof, q, - matrix, rhs, rhs_vector, coefficient); + matrix, rhs, rhs_vector, coefficient, constraints); } @@ -1819,9 +1820,10 @@ namespace MatrixCreator const hp::QCollection &q, SparseMatrix &matrix, const Function *const coefficient, - const ConstraintMatrix &) + const ConstraintMatrix &constraints) { - create_laplace_matrix(hp::StaticMappingQ1::mapping_collection, dof, q, matrix, coefficient); + create_laplace_matrix(hp::StaticMappingQ1::mapping_collection, dof, q, + matrix, coefficient, constraints); } @@ -1875,10 +1877,10 @@ namespace MatrixCreator const Function &rhs, Vector &rhs_vector, const Function *const coefficient, - const ConstraintMatrix &) + const ConstraintMatrix &constraints) { create_laplace_matrix(hp::StaticMappingQ1::mapping_collection, dof, q, - matrix, rhs, rhs_vector, coefficient); + matrix, rhs, rhs_vector, coefficient, constraints); } } // namespace MatrixCreator