From 62d17804c4637b6f113c3f5b7cff795c98e23744 Mon Sep 17 00:00:00 2001 From: bangerth Date: Fri, 1 Sep 2006 20:40:06 +0000 Subject: [PATCH] Add a comment git-svn-id: https://svn.dealii.org/trunk@13796 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/include/fe/fe_base.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/deal.II/deal.II/include/fe/fe_base.h b/deal.II/deal.II/include/fe/fe_base.h index 5ff310c5b0..d0bd90cc77 100644 --- a/deal.II/deal.II/include/fe/fe_base.h +++ b/deal.II/deal.II/include/fe/fe_base.h @@ -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: -- 2.39.5