[Dune-devel] Replacing SGrid by YaspGrid

Oliver Sander sander at igpm.rwth-aachen.de
Fri Oct 10 19:13:13 CEST 2014


Hi all,
while thinking about how to replace SGrid by YaspGrid I came about the following
small inconvenience: SGrid are uniformly spaced, and both the lower left and the
upper right corners are free.  YaspGrid, OTOH, when they are not tensor-product grids,
constrain the lower-left corner to be (0,...,0).  So currently, in order to replace
SGrids I sometimes have to use tensor-product YaspGrids even though they are uniformly
spaced.
Should we
a) introduce a third Coordinates class in YaspGrid for uniformly spaced grids with
   a nonzero left corner?
b) generalize the current EquidistantCoordinate class to allow for a nonzero left
   corner?

a) would be preferable if b) would lead to a measurable slowdown.  Does anybody
have experience with this?
Thanks,
Oliver

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://lists.dune-project.org/pipermail/dune-devel/attachments/20141010/1aaed225/attachment.sig>


More information about the Dune-devel mailing list