]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Rename ShiftPoint to Shift. Do the same with ScalePoint. 731/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 5 Apr 2015 18:35:51 +0000 (13:35 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 5 Apr 2015 18:35:51 +0000 (13:35 -0500)
source/grid/grid_tools.cc

index 45ad4b131962fc387eeb5f726c3d1a0b3530eb2c..7c3cc19fb34b88b4fbb2d35e29de00fa96bb0579 100644 (file)
@@ -553,10 +553,10 @@ namespace GridTools
   namespace
   {
     template <int spacedim>
-    class ShiftPoint
+    class Shift
     {
     public:
-      ShiftPoint (const Tensor<1,spacedim> &shift)
+      Shift (const Tensor<1,spacedim> &shift)
         :
         shift(shift)
       {}
@@ -590,10 +590,10 @@ namespace GridTools
 
 
     template <int spacedim>
-    class ScalePoint
+    class Scale
     {
     public:
-      ScalePoint (const double factor)
+      Scale (const double factor)
         :
         factor(factor)
       {}
@@ -612,7 +612,7 @@ namespace GridTools
   shift (const Tensor<1,spacedim>   &shift_vector,
          Triangulation<dim, spacedim> &triangulation)
   {
-    transform (ShiftPoint<spacedim>(shift_vector), triangulation);
+    transform (Shift<spacedim>(shift_vector), triangulation);
   }
 
 
@@ -632,7 +632,7 @@ namespace GridTools
          Triangulation<dim, spacedim> &triangulation)
   {
     Assert (scaling_factor>0, ExcScalingFactorNotPositive (scaling_factor));
-    transform (ScalePoint<spacedim>(scaling_factor), triangulation);
+    transform (Scale<spacedim>(scaling_factor), triangulation);
   }
 
 

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.