]> https://gitweb.dealii.org/ - dealii.git/commitdiff
new function make_flux_sparsity_pattern that uses a ConstraintMatrix
authorBaerbel Jannsen <baerbel.janssen@gmail.com>
Wed, 25 Aug 2010 13:04:45 +0000 (13:04 +0000)
committerBaerbel Jannsen <baerbel.janssen@gmail.com>
Wed, 25 Aug 2010 13:04:45 +0000 (13:04 +0000)
git-svn-id: https://svn.dealii.org/trunk@21700 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/dofs/dof_tools.h

index 4e5de523d0b972481ea229aaeba1ee9baa6ff627..46f60d7777cd4343e314269cfb7cc6141d5a0782 100644 (file)
@@ -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<class DH, class SparsityPattern>
+    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,

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.