]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add a comment
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 1 Sep 2006 20:40:06 +0000 (20:40 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 1 Sep 2006 20:40:06 +0000 (20:40 +0000)
git-svn-id: https://svn.dealii.org/trunk@13796 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/fe/fe_base.h

index 5ff310c5b0f328d3ba59cd9b53e9a66c22f43874..d0bd90cc777249d6c976208041648744b9b7b7cf 100644 (file)
@@ -597,6 +597,17 @@ namespace FiniteElementDomination
   Domination operator & (const Domination d1,
                         const Domination d2)
   {
+                                    // go through the entire list of
+                                    // possibilities. note that if we were
+                                    // into speed, obfuscation and cared
+                                    // enough, we could implement this
+                                    // operator by doing a bitwise & (and) if
+                                    // we gave these values to the enum
+                                    // values: neither_element_dominates=0,
+                                    // this_element_dominates=1,
+                                    // other_element_dominates=2,
+                                    // either_element_can_dominate=3
+                                    // =this_element_dominates|other_element_dominates
     switch (d1)
       {
        case this_element_dominates:

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.