r2 Mesh and Pooma::positions()

Richard Guenther rguenth at tat.physik.uni-tuebingen.de
Wed Feb 19 11:07:38 UTC 2003


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 <richard.guenther at uni-tuebingen.de>
WWW: http://www.tat.physik.uni-tuebingen.de/~rguenth/




More information about the pooma-dev mailing list