]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Indent according to out style guides.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 5 Aug 2002 12:09:24 +0000 (12:09 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 5 Aug 2002 12:09:24 +0000 (12:09 +0000)
git-svn-id: https://svn.dealii.org/trunk@6319 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/grid/grid_tools.cc

index ddd1160ddc0b9fae258e8540eda4afcb7c329b8c..ce039688cd5e1733661ffbb8e499aec02088a79e 100644 (file)
@@ -100,16 +100,16 @@ namespace
   template <int dim>
   class ShiftPoint
   {
-  public:
+    public:
       ShiftPoint (const Point<dim> &shift)
-         :
-         shift(shift)
-         {};
+                     :
+                     shift(shift)
+       {};
       Point<dim> operator() (const Point<dim> p) const
-         {
-             return p+shift;
-         };
-  private:
+       {
+         return p+shift;
+       };
+    private:
       const Point<dim> shift;
   };
 
@@ -117,34 +117,34 @@ namespace
 
   class Rotate2d
   {
-  public:
+    public:
       Rotate2d (const double angle)
-         :
-         angle(angle)
-         {};
+                     :
+                     angle(angle)
+       {};
       Point<2> operator() (const Point<2> p) const
-         {
-             return Point<2> (std::cos(angle)*p(0) - std::sin(angle) * p(1),
-                              std::sin(angle)*p(0) + std::cos(angle) * p(1));
-         };
-  private:
+       {
+         return Point<2> (std::cos(angle)*p(0) - std::sin(angle) * p(1),
+                          std::sin(angle)*p(0) + std::cos(angle) * p(1));
+       };
+    private:
       const double angle;
   };
 
 
-    template <int dim>
+  template <int dim>
   class ScalePoint
   {
-  public:
+    public:
       ScalePoint (const double factor)
-         :
-         factor(factor)
-         {};
+                     :
+                     factor(factor)
+       {};
       Point<dim> operator() (const Point<dim> p) const
-         {
-             return p*factor;
-         };
-  private:
+       {
+         return p*factor;
+       };
+    private:
       const double factor;
   };
 };

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.