From: guido Date: Mon, 18 Mar 2002 13:39:47 +0000 (+0000) Subject: changes for Sun forte X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3cce670d7cd537c4d352e5b6cb09e63e6d3063a6;p=dealii-svn.git changes for Sun forte git-svn-id: https://svn.dealii.org/trunk@5574 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/base/include/base/point.h b/deal.II/base/include/base/point.h index 48464da4d8..6d27eba533 100644 --- a/deal.II/base/include/base/point.h +++ b/deal.II/base/include/base/point.h @@ -45,12 +45,15 @@ template 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 operator + (const Tensor<1,dim> &) const; + Point 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 operator - (const Tensor<1,dim> &) const; + Point operator - (const Tensor<1,dim>&) const; /** * The opposite vector. @@ -169,6 +172,13 @@ class Point : public Tensor<1,dim> /*------------------------------- Inline functions: Point ---------------------------*/ +template +inline +Point::Point () +{}; + + + template inline Point::Point (const bool initialize) :