]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Enable FEFaceValues and friends also for faces of 1d cells.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 18 Dec 2010 13:30:50 +0000 (13:30 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 18 Dec 2010 13:30:50 +0000 (13:30 +0000)
git-svn-id: https://svn.dealii.org/trunk@23003 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/fe/fe_values.inst.in
deal.II/source/hp/fe_values.inst.in

index 52604d11a845fc631fd1adce4832284bedb0f130..4cdb93bafaeaff767984f94f804be94c19f6bf97 100644 (file)
@@ -24,11 +24,9 @@ for (deal_II_dimension : DIMENSIONS)
     template class FEValuesBase<deal_II_dimension>::
       CellIterator<MGDoFHandler<deal_II_dimension>::cell_iterator>;
 
-#if deal_II_dimension >= 2
     template class FEFaceValuesBase<deal_II_dimension>;
     template class FEFaceValues<deal_II_dimension>;
     template class FESubfaceValues<deal_II_dimension>;
-#endif
 
 #if deal_II_dimension != 3
     template class FEValuesData<deal_II_dimension,deal_II_dimension+1>;
@@ -39,12 +37,10 @@ for (deal_II_dimension : DIMENSIONS)
     template class FEValuesBase<deal_II_dimension,deal_II_dimension+1>::
       CellIterator<MGDoFHandler<deal_II_dimension,deal_II_dimension+1>::cell_iterator>;
 
-#if deal_II_dimension == 2
     template class FEFaceValuesBase<deal_II_dimension,deal_II_dimension+1>;
     template class FEFaceValues<deal_II_dimension,deal_II_dimension+1>;
     template class FESubfaceValues<deal_II_dimension,deal_II_dimension+1>;
 #endif
-#endif
 
 
     namespace FEValuesViews
index ef3e27d3c897db7c419096b2b24abbe359bf48dc..4ebc684035dda623fe312010f35243c9b4cf5cb2 100644 (file)
@@ -19,22 +19,18 @@ namespace internal
   \{
     template class FEValuesBase<deal_II_dimension,deal_II_dimension,
                                 dealii::FEValues<deal_II_dimension> >;
-#if deal_II_dimension >= 2
     template class FEValuesBase<deal_II_dimension,deal_II_dimension-1,
                                 dealii::FEFaceValues<deal_II_dimension> >;
     template class FEValuesBase<deal_II_dimension,deal_II_dimension-1,
                                 dealii::FESubfaceValues<deal_II_dimension> >;
-#endif
   \}
 \}
 
 namespace hp
 \{
   template class FEValues<deal_II_dimension>;
-#if deal_II_dimension >= 2
   template class FEFaceValues<deal_II_dimension, deal_II_dimension>;
   template class FESubfaceValues<deal_II_dimension, deal_II_dimension>;
-#endif
 \}
 
 
@@ -47,22 +43,18 @@ namespace internal
   \{
     template class FEValuesBase<deal_II_dimension,deal_II_dimension,
                                 dealii::FEValues<deal_II_dimension,deal_II_dimension+1> >;
-#if deal_II_dimension >= 2
     template class FEValuesBase<deal_II_dimension,deal_II_dimension-1,
                                 dealii::FEFaceValues<deal_II_dimension,deal_II_dimension+1> >;
     template class FEValuesBase<deal_II_dimension,deal_II_dimension-1,
                                 dealii::FESubfaceValues<deal_II_dimension,deal_II_dimension+1> >;
-#endif
   \}
 \}
 
 namespace hp
 \{
   template class FEValues<deal_II_dimension, deal_II_dimension+1>;
-#if deal_II_dimension >= 2
   template class FEFaceValues<deal_II_dimension, deal_II_dimension+1>;
   template class FESubfaceValues<deal_II_dimension, deal_II_dimension+1>;
-#endif
 \}
 #endif
 }

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.