From 9cd04e99fcd432e1c16d35d17eb3b15661ef0a36 Mon Sep 17 00:00:00 2001 From: wolf Date: Mon, 17 Jan 2000 10:58:36 +0000 Subject: [PATCH] Change the default size for the interface constraints in 1d. The use of interface constraints in 1d does not make much sense to me, so we better avoid it altogether. Parts of the library that depend on the size of the interface_constraints to be dofs_per_face should hopefully produce an exception. git-svn-id: https://svn.dealii.org/trunk@2228 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/fe/fe.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/deal.II/deal.II/source/fe/fe.cc b/deal.II/deal.II/source/fe/fe.cc index c924ad07f2..884f6d5fb1 100644 --- a/deal.II/deal.II/source/fe/fe.cc +++ b/deal.II/deal.II/source/fe/fe.cc @@ -165,8 +165,10 @@ FiniteElementBase::FiniteElementBase (const FiniteElementData &fe_data switch (dim) { case 1: - interface_constraints.reinit (1,1); - interface_constraints(0,0)=1.; + Assert ((interface_constraints.m() == 0) && + (interface_constraints.n() == 0), + ExcInternalError()); + break; case 2: -- 2.39.5