]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
rename unit vector
authorkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 17 Nov 2010 15:01:19 +0000 (15:01 +0000)
committerkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 17 Nov 2010 15:01:19 +0000 (15:01 +0000)
git-svn-id: https://svn.dealii.org/trunk@22791 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/base/point.h

index d33fe591147a414e3e98b0bb47bbe4307b9dfe26..586c310b00fae9d6010d8c68493e75644be43954 100644 (file)
@@ -103,7 +103,7 @@ class Point : public Tensor<1,dim>
                                      * Return a unit vector in
                                      * coordinate direction <tt>i</tt>.
                                      */
-    static Point<dim> e(const unsigned int i);
+    static Point<dim> unit_vector(const unsigned int i);
     
                                     /**
                                      *  Read access to the <tt>index</tt>th
@@ -256,7 +256,7 @@ Point<dim>::Point (const double x, const double y, const double z)
 template <int dim>
 inline
 Point<dim>
-Point<dim>::e(unsigned int i)
+Point<dim>::unit_vector(unsigned int i)
 {
   Point<dim> p;
   p[i] = 1.;

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.