freepooma-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

r2 Mesh and Pooma::positions()


From: Richard Guenther
Subject: r2 Mesh and Pooma::positions()
Date: Wed, 19 Feb 2003 12:07:38 +0100 (CET)

Hi!

Is Pooma::positions() supposed to return positions or coordinates for
the mesh? They are the same for the only implemented coordinate system
(Cartesian), but for other coordinate systems we need to distinguish
between them.

There is also the cellContaining()/vertexPosition() methods which take
or return points which are supposed to be in coordinates or positions?
I.e. is

  m.vertexPosition(cellContaining(positions(m)(Loc<Dim>())))
    == positions(m)(Loc<Dim>())

supposed to be true for all coordinate systems?

Any ideas for good names for methods distinguishing between both worlds?
F.i.
   Mesh::vertexPosition() vs. Mesh::vertexCoordinate()
or is the term "coordinate" tied to integral indices?

Thanks, Richard.

--
Richard Guenther <address@hidden>
WWW: http://www.tat.physik.uni-tuebingen.de/~rguenth/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]