]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Change the default size for the interface constraints in 1d. The use
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 17 Jan 2000 10:58:36 +0000 (10:58 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 17 Jan 2000 10:58:36 +0000 (10:58 +0000)
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

index c924ad07f2c3f1914675bedfdd85648fc55be1c1..884f6d5fb1de2f0d7813f39d2abf7fe15c75f8a4 100644 (file)
@@ -165,8 +165,10 @@ FiniteElementBase<dim>::FiniteElementBase (const FiniteElementData<dim> &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:

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.