From d63e825a01275967ed4392eb6577437ed24e4730 Mon Sep 17 00:00:00 2001 From: Baerbel Jannsen Date: Wed, 25 Aug 2010 13:04:45 +0000 Subject: [PATCH] new function make_flux_sparsity_pattern that uses a ConstraintMatrix git-svn-id: https://svn.dealii.org/trunk@21700 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/include/dofs/dof_tools.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/deal.II/deal.II/include/dofs/dof_tools.h b/deal.II/deal.II/include/dofs/dof_tools.h index 4e5de523d0..46f60d7777 100644 --- a/deal.II/deal.II/include/dofs/dof_tools.h +++ b/deal.II/deal.II/include/dofs/dof_tools.h @@ -754,6 +754,25 @@ class DoFTools make_flux_sparsity_pattern (const DH &dof_handler, SparsityPattern &sparsity_pattern); + /** + * This function does the same as + * the other with the same name, + * but it gets a ConstraintMatrix + * additionally. + * This is for the case where you + * have fluxes but constraints as + * well. + * Not implemented for + * hp::DoFHandler. + */ + template + static void + make_flux_sparsity_pattern (const DH &dof_handler, + SparsityPattern &sparsity_pattern, + const ConstraintMatrix &constraints, + const bool keep_constrained_dofs = true, + const unsigned int subdomain_id = numbers::invalid_unsigned_int); + /** * This function does the same as * the other with the same name, -- 2.39.5