/[ff3d]/ff3d/solver/Vertex.hpp
ViewVC logotype

Diff of /ff3d/solver/Vertex.hpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.1.1 by delpinux, Mon Feb 17 16:32:51 2003 UTC revision 1.2 by delpinux, Fri Aug 1 17:49:05 2003 UTC
# Line 29  Line 29 
29    
30  #include <StreamCenter.hpp>  #include <StreamCenter.hpp>
31    
 #include <Reference.hpp>  
   
32  /**  /**
33   * @file   Vertex.hpp   * @file   Vertex.hpp
34   * @author Stephane Del Pino   * @author Stephane Del Pino
# Line 48  class Vertex Line 46  class Vertex
46    TinyVector<3> __x;    TinyVector<3> __x;
47    
48    //! The Vertex reference.    //! The Vertex reference.
49    Reference __reference;    size_t __reference;
50   public:   public:
51    /*! Read-only acces to TinyVector<3> of coordinates.    /*! Read-only acces to TinyVector<3> of coordinates.
52      \todo Change the name of this member.      \todo Change the name of this member.
# Line 168  class Vertex Line 166  class Vertex
166    }    }
167    
168    //! Access to the reference of the Vertex.    //! Access to the reference of the Vertex.
169    inline Reference& Ref()    inline size_t& Ref()
170    {    {
171      return __reference;      return __reference;
172    }    }
173    
174    //! Read-only access to the reference of the Vertex.    //! Read-only access to the reference of the Vertex.
175    inline const Reference& Ref() const    inline const size_t& Ref() const
176    {    {
177      return __reference;      return __reference;
178    }    }
# Line 183  class Vertex Line 181  class Vertex
181      and without precising references      and without precising references
182     */     */
183    Vertex()    Vertex()
184      : __x(0,0,0)      : __x(0,0,0),
185          __reference(0)
186    {    {
187      ;      ;
188    }    }
# Line 192  class Vertex Line 191  class Vertex
191      and without precising references      and without precising references
192     */     */
193    Vertex(const real_t& X, const real_t& Y, const real_t& Z)    Vertex(const real_t& X, const real_t& Y, const real_t& Z)
194      : __x(X,Y,Z)      : __x(X,Y,Z),
195          __reference(0)
196    {    {
197      ;      ;
198    }    }
# Line 201  class Vertex Line 201  class Vertex
201      reference is \a Ref.      reference is \a Ref.
202     */     */
203    Vertex(const real_t& X, const real_t& Y, const real_t& Z,    Vertex(const real_t& X, const real_t& Y, const real_t& Z,
204           const Reference& reference)           const size_t& reference)
205      : __x(X,Y,Z),      : __x(X,Y,Z),
206        __reference(reference)        __reference(reference)
207    {    {
# Line 212  class Vertex Line 212  class Vertex
212      TinyVector<3> \a X without precising references      TinyVector<3> \a X without precising references
213     */     */
214    Vertex(const TinyVector<3> X)    Vertex(const TinyVector<3> X)
215      : __x(X)      : __x(X),
216          __reference(0)
217    {    {
218      ;      ;
219    }    }
# Line 221  class Vertex Line 222  class Vertex
222      TinyVector<3> \a X and whose reference is \a Ref.      TinyVector<3> \a X and whose reference is \a Ref.
223     */     */
224    Vertex(const TinyVector<3> X,    Vertex(const TinyVector<3> X,
225           const Reference& reference)           const size_t& reference)
226      : __x(X),      : __x(X),
227        __reference(reference)        __reference(reference)
228    {    {

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26