]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
changes for Sun forte
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 18 Mar 2002 13:39:47 +0000 (13:39 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 18 Mar 2002 13:39:47 +0000 (13:39 +0000)
git-svn-id: https://svn.dealii.org/trunk@5574 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 48464da4d88c927912522f50cbc0bb95d86049ad..6d27eba533e843887885f0ea106f2160d7b6c141 100644 (file)
@@ -45,12 +45,15 @@ template <int dim>
 class Point : public Tensor<1,dim>
 {
   public:
+                                    /**
+                                     * Standard constructor. Creates an origin.
+                                     */
+    Point ();
                                     /**
                                      * Constructor. Initialize all entries
-                                     * to zero if @p{initialize==true}; this
-                                     * is the default behaviour.
+                                     * to zero if @p{initialize==true}.
                                      */
-    explicit Point (const bool initialize = true);
+    explicit Point (const bool initialize);
 
                                     /**
                                      * Convert a tensor to a point. Since no
@@ -104,14 +107,14 @@ class Point : public Tensor<1,dim>
                                      *  @p{operator +=} instead since this does not
                                      *  need to copy a point at least once.
                                      */
-    Point<dim>   operator + (const Tensor<1,dim> &) const;
+    Point<dim>   operator + (const Tensor<1,dim>&) const;
 
                                     /**
                                      *  Subtract two point vectors. If possible, use
                                      *  @p{operator +=} instead since this does not
                                      *  need to copy a point at least once.
                                      */
-    Point<dim>   operator - (const Tensor<1,dim> &) const;
+    Point<dim>   operator - (const Tensor<1,dim>&) const;
 
                                     /**
                                      * The opposite vector.
@@ -169,6 +172,13 @@ class Point : public Tensor<1,dim>
 /*------------------------------- Inline functions: Point ---------------------------*/
 
 
+template <int dim>
+inline
+Point<dim>::Point ()
+{};
+
+
+
 template <int dim>
 inline
 Point<dim>::Point (const bool initialize) :

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.