From 32037fa8b4911cebb54764f048cb1394e800f198 Mon Sep 17 00:00:00 2001 From: wolf Date: Mon, 29 Jul 2002 09:08:11 +0000 Subject: [PATCH] Go for some of the still missing pieces of the Nedelec elements. git-svn-id: https://svn.dealii.org/trunk@6299 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/fe/fe_nedelec.cc | 13 ++++++++----- deal.II/deal.II/source/fe/fe_nedelec_3d.cc | 20 ++++++++++++-------- 2 files changed, 20 insertions(+), 13 deletions(-) diff --git a/deal.II/deal.II/source/fe/fe_nedelec.cc b/deal.II/deal.II/source/fe/fe_nedelec.cc index 45ab85556c..77ab9f3cf9 100644 --- a/deal.II/deal.II/source/fe/fe_nedelec.cc +++ b/deal.II/deal.II/source/fe/fe_nedelec.cc @@ -703,6 +703,12 @@ FE_Nedelec::fill_fe_values (const Mapping &mapping, if (flags & update_values) { std::vector > shape_values (n_q_points); + + Assert (data.shape_values.n_rows() == dofs_per_cell * dim, + ExcInternalError()); + Assert (data.shape_values.n_cols() == n_q_points, + ExcInternalError()); + for (unsigned int k=0; k::fill_fe_values (const Mapping &mapping, mapping_data); // then copy over to target: - Assert (data.shape_values[k].size() == n_q_points*dim, - ExcInternalError()); - unsigned index = 0; for (unsigned int q=0; q