]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
More std:: and typename stuff
authorthird-party <third-party@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 22 Jan 2001 13:46:40 +0000 (13:46 +0000)
committerthird-party <third-party@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 22 Jan 2001 13:46:40 +0000 (13:46 +0000)
git-svn-id: https://svn.dealii.org/trunk@3757 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/grid/tria_boundary_lib.h
deal.II/deal.II/source/dofs/dof_handler.cc
deal.II/deal.II/source/dofs/dof_tools.cc
deal.II/deal.II/source/grid/tria_boundary.cc
deal.II/deal.II/source/grid/tria_boundary_lib.cc
deal.II/deal.II/source/numerics/vectors.cc

index 1cda4fe87e120e5f3c58db78dcbab56f8a8ddfb7..a0e52fda18981a00047f380ecb0485f12f5313ee 100644 (file)
@@ -67,7 +67,7 @@ class HyperBallBoundary : public StraightBoundary<dim>
                                      */
     virtual void
     get_intermediate_points_on_line (const typename Triangulation<dim>::line_iterator &line,
-                                    vector<Point<dim> > &points) const;
+                                    typename std::vector<Point<dim> > &points) const;
 
                                     /**
                                      * Refer to the general documentation of
@@ -79,7 +79,7 @@ class HyperBallBoundary : public StraightBoundary<dim>
                                      */
     virtual void
     get_intermediate_points_on_quad (const typename Triangulation<dim>::quad_iterator &quad,
-                                    vector<Point<dim> > &points) const;
+                                    typename std::vector<Point<dim> > &points) const;
 
                                     /**
                                      * Return the center of the ball.
index eb8b1fa60657fccef6dba686a89886e5adc42115..b7d9817f2f4efc01c0e77435b5de0369254355af 100644 (file)
@@ -1161,7 +1161,7 @@ unsigned int DoFHandler<1>::n_boundary_dofs (const FunctionMap &) const
 
 
 template <>
-unsigned int DoFHandler<1>::n_boundary_dofs (const set<unsigned char> &) const
+unsigned int DoFHandler<1>::n_boundary_dofs (const std::set<unsigned char> &) const
 {
   Assert (selected_fe != 0, ExcNoFESelected());
   Assert (false, ExcNotImplemented());
index f285723bf1517e921fdbc097cbd2b80560700a5c..7141a1e5f0ccbf2fbcf8faf5c58d07dc504cc188 100644 (file)
@@ -1628,7 +1628,7 @@ void DoFTools::map_dof_to_boundary_indices (const DoFHandler<1> &dof_handler,
 
 template <>
 void DoFTools::map_dof_to_boundary_indices (const DoFHandler<1> &dof_handler,
-                                           const set<unsigned char> &,
+                                           const std::set<unsigned char> &,
                                            std::vector<unsigned int> &)
 {
   Assert (&dof_handler.get_fe() != 0, ExcNoFESelected());
index 002ced7f7503aa14acf42f65d349a7ab2a579ca2..c8e63c0a28910ce6738ace255e27130962ab1e8b 100644 (file)
@@ -37,7 +37,7 @@ template <int dim>
 void
 Boundary<dim>::get_intermediate_points_on_line (
   const typename Triangulation<dim>::line_iterator &,
-  vector<Point<dim> > &) const
+  std::vector<Point<dim> > &) const
 {
   Assert (false, ExcPureVirtualFunctionCalled());
 };
@@ -47,7 +47,7 @@ template <int dim>
 void
 Boundary<dim>::get_intermediate_points_on_quad (
   const typename Triangulation<dim>::quad_iterator &,
-  vector<Point<dim> > &) const
+  std::vector<Point<dim> > &) const
 {
   Assert (false, ExcPureVirtualFunctionCalled());
 };
@@ -96,7 +96,7 @@ template <int dim>
 void
 StraightBoundary<dim>::get_intermediate_points_on_line (
   const typename Triangulation<dim>::line_iterator &,
-  vector<Point<dim> > &) const
+  typename std::vector<Point<dim> > &) const
 {
   Assert(false, typename Boundary<dim>::ExcFunctionNotUseful(dim));
 }
@@ -108,7 +108,7 @@ template <int dim>
 void
 StraightBoundary<dim>::get_intermediate_points_on_line (
   const typename Triangulation<dim>::line_iterator &line,
-  vector<Point<dim> > &points) const
+  typename std::vector<Point<dim> > &points) const
 {
   const unsigned int n=points.size();
   Assert(n>0, ExcInternalError());
@@ -128,7 +128,7 @@ template <int dim>
 void
 StraightBoundary<dim>::get_intermediate_points_on_quad (
   const typename Triangulation<dim>::quad_iterator &,
-  vector<Point<dim> > &) const
+  typename std::vector<Point<dim> > &) const
 {
   Assert(false, typename Boundary<dim>::ExcFunctionNotUseful(dim));
 }
@@ -139,7 +139,7 @@ template <int dim>
 void
 StraightBoundary<dim>::get_intermediate_points_on_quad (
   const typename Triangulation<dim>::quad_iterator &quad,
-  vector<Point<dim> > &points) const
+  typename std::vector<Point<dim> > &points) const
 {
   const unsigned int n=points.size(),
                     m=static_cast<unsigned int>(sqrt(n));
index 122725071d3ac9259e9fffdc017d61c613c49964..23012394ae8abfa750f185438106c2ec4d03f859 100644 (file)
@@ -81,7 +81,7 @@ template <>
 void
 HyperBallBoundary<2>::get_intermediate_points_on_line (
   const Triangulation<2>::line_iterator &line,
-  vector<Point<2> > &points) const
+  std::vector<Point<2> > &points) const
 {
   const unsigned int n=points.size();
   Assert(n>0, ExcInternalError());
@@ -119,7 +119,7 @@ template <int dim>
 void
 HyperBallBoundary<dim>::get_intermediate_points_on_line (
   const typename Triangulation<dim>::line_iterator &,
-  vector<Point<dim> > &) const
+  typename std::vector<Point<dim> > &) const
 {
   Assert(false, ExcNotImplemented());
 }
@@ -131,7 +131,7 @@ template <>
 void
 HyperBallBoundary<3>::get_intermediate_points_on_quad (
   const Triangulation<3>::quad_iterator &quad,
-  vector<Point<3> > &points) const
+  std::vector<Point<3> > &points) const
 {
   Assert(points.size()==1, ExcNotImplemented());
   StraightBoundary<3>::get_intermediate_points_on_quad (quad, points);
@@ -151,7 +151,7 @@ template <int dim>
 void
 HyperBallBoundary<dim>::get_intermediate_points_on_quad (
   const Triangulation<dim>::quad_iterator &,
-  vector<Point<dim> > &) const
+  typename std::vector<Point<dim> > &) const
 {
   Assert(false,ExcNotImplemented());
 }
index e4eafb87f2b0f9acf518f812d6b9933a43c2f178..4e4198eaae4e9845826001cc8a781b0a21bb57d2 100644 (file)
@@ -32,7 +32,7 @@
 
 #include <numeric>
 #include <algorithm>
-#include <vector.h>
+#include <vector>
 #include <cmath>
 
 

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.