From: wolf Date: Mon, 17 Jan 2000 10:58:36 +0000 (+0000) Subject: Change the default size for the interface constraints in 1d. The use X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cd04e99fcd432e1c16d35d17eb3b15661ef0a36;p=dealii-svn.git 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 --- 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: