[Dune] grid.geometry is a bit restrictive

Aleksejs Fomins aleksejs.fomins at lspr.ch
Fri Feb 27 12:06:16 CET 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear Dune,

I just realised that CurvilinearGeometry has quite a few new user methods compared to linear geometries, for example, access to interpolation vertices, interpolation polynomials and functions thereof. The wrapper interface of grid.geometry class does not allow for adding these additional methods, so they will need to be accessed some other way.

I have decided to provide a grid method grid.basegeometry(entity), which would directly return the Dune::CurvilinearGeometry class, and not its grid wrapper. I realise that this goes against the paradigm of "protecting the users from themselves", but I do not see a good alternative at the moment.

Regards,
Aleksejs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBAgAGBQJU8E+oAAoJEDkNM7UOEwMZuh0QAIa8o8puhLlGVGSRdZRVuf6s
GcqmnB0ic2P1v5PODN12sOIYIewoec1sirWQuOGqNvHgywIv8qH2Eo6rKzWv9kaw
rC8yJm/7VNtANECWvzOxFjZs+D3D9xY5B7KPfJyl7WtXqfzgGJAMZXBLGl7KFe28
uUigeIm0+ihPaks3yGCcrEeqctMRaHLq64iqrEOhZIk4WUwUNbulJ4q8K0w9jWmJ
As0I03Ub92E8Ajimllzrp39lHUB/bBa48zQNZOc8VqXI+9Q6sFZ8sz2OgkhKGGcy
Pl32f4IJUS49xxKlS4Oa2NylVrfHVhAKUJONBsUmrY5VDyWcr3Sp+2WA1xggvre2
gNt9sxqYU/Bx1jG0o9WuVCWoQ+UAOPqzwnaiJGYx2hhHXANThQNUxRAbZEAzeC73
37OJ5WWEAQk95l+VHX+Zs1Q7jJWBex3z8xJSRAMPWzABS7s2H1p5TN7ag5I8zTr2
B9tj/10Y7fdFKO7N48/O8bUUbNPbeuBpvf4AHXu1GFVmg4wNgZ1h2wvh7J17MEA3
4+DOEJ/SIV5BarWLxOgks4qIy88HcJfp4zFrr2sn+2vMw7rIE3Bwi/SjrD71jgUd
ovQcWUnpBFAzimgidjxGfSTphcDSTUwXACXPRQfCQPC+0lv3hoqSHqPbn2jXy8jK
iSZVohA8DndgdCsRr0VS
=Xrzx
-----END PGP SIGNATURE-----




More information about the Dune mailing list