]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fixes
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Fri, 9 Jun 2000 22:29:50 +0000 (22:29 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Fri, 9 Jun 2000 22:29:50 +0000 (22:29 +0000)
git-svn-id: https://svn.dealii.org/trunk@3004 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/fe_lib.dgp2.cc
deal.II/deal.II/source/fe/fe_lib.dgp3.cc

index 555f5fd5c723d472d4287c44066af6f3fc48c0c6..4c148ed2236e0192075fa7e0e40087082f6e1271 100644 (file)
@@ -116,7 +116,7 @@ void FEDG_P2<1>::get_face_support_points (const DoFHandler<1>::face_iterator &,
 
 
 template <>
-void FEDG_P2<1>::get_local_mass_matrix (const DoFHandler<1>::cell_iterator &cell,
+void FEDG_P2<1>::get_local_mass_matrix (const DoFHandler<1>::cell_iterator &,
                                         FullMatrix<double> &local_mass_matrix) const
 {
   Assert(false, ExcNotImplemented());
@@ -271,7 +271,7 @@ template <>
 inline
 Tensor<1,3>
 FEDG_P2<3>::shape_grad (const unsigned int i,
-                        const Point<3>& p) const
+                        const Point<3>&) const
 {
   Assert((i<dofs_per_cell), ExcIndexRange(i, 0, dofs_per_cell));
                                   // originally, the return type of the
@@ -294,7 +294,7 @@ template <>
 inline
 Tensor<2,3>
 FEDG_P2<3>::shape_grad_grad (const unsigned int i,
-                             const Point<3> &p) const
+                             const Point<3> &) const
 {
   Assert((i<dofs_per_cell), ExcIndexRange(i, 0, dofs_per_cell));
 
index d4ca02548e65ce3c7db562c4f69ccd0384eab08c..0dc598fdde1a533bec11aa9fe041083d4e29d99a 100644 (file)
@@ -52,7 +52,7 @@ FEDG_P3<1>::shape_value(const unsigned int i,
       case 0: return 1.;
       case 1: return p(0);
       case 2: return p(0)*p(0);
-      case 2: return p(0)*p(0)*p(0);
+      case 3: return p(0)*p(0)*p(0);
     }
   return 0.;
 }
@@ -75,7 +75,7 @@ FEDG_P3<1>::shape_grad(const unsigned int i,
       case 0: return Point<1>(-1.);
       case 1: return Point<1>(1.);
       case 2: return Point<1>(2.*p(0));
-      case 2: return Point<1>(3.*p(0)*p(0));
+      case 3: return Point<1>(3.*p(0)*p(0));
            
     }
   return Point<1>();
@@ -282,7 +282,7 @@ template <>
 inline
 Tensor<1,3>
 FEDG_P3<3>::shape_grad (const unsigned int i,
-                        const Point<3>& p) const
+                        const Point<3>&) const
 {
   Assert((i<dofs_per_cell), ExcIndexRange(i, 0, dofs_per_cell));
                                   // originally, the return type of the
@@ -305,7 +305,7 @@ template <>
 inline
 Tensor<2,3>
 FEDG_P3<3>::shape_grad_grad (const unsigned int i,
-                             const Point<3> &p) const
+                             const Point<3> &) const
 {
   Assert((i<dofs_per_cell), ExcIndexRange(i, 0, dofs_per_cell));
 

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.