From 344044cf2bf2f9efac78a912f4083f0772f12419 Mon Sep 17 00:00:00 2001 From: Denis Davydov Date: Thu, 19 May 2016 14:38:27 +0200 Subject: [PATCH] fix component_to_base_table for non-tensor product case --- source/fe/fe_tools.cc | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/source/fe/fe_tools.cc b/source/fe/fe_tools.cc index b0a6e7e2a6..7f87499c2b 100644 --- a/source/fe/fe_tools.cc +++ b/source/fe/fe_tools.cc @@ -568,15 +568,26 @@ namespace FETools { unsigned int total_index = 0; - for (unsigned int base=0; base < fe.n_base_elements(); ++base) - for (unsigned int m = 0; m < fe.element_multiplicity(base); ++m) - { - for (unsigned int k=0; k