[Dune] Understanding LocalGeometry

Aleksejs Fomins aleksejs.fomins at lspr.ch
Tue Jan 13 10:25:35 CET 2015


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

Dear Dune,

I am trying to understand what is a LocalGeometry object that is
returned by, for example, intersection.geometryInInside(). As in, what
is the difference between Geometry and LocalGeometry classes?

If I were to guess, I'd say that LocalGeometry is the geometry class
implementation for a reference element coordinates, for example
{(0,0,0) (1,0,0) (0,1,0) (0,0,1) } for a tetrahedron.

Now I could in principle define
LocalGeometry = CachedCurvilinearGeometry<interp_order = 1>, but is
this what is expected? I mean, the machinery of this class is way too
heavy and unnecessary for the purposes of a simple linear geometry.

How is this class usually defined in other grid managers. Is there
some standard ReferenceGeometry or sth that can be used for this purpose?

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

iQIcBAEBAgAGBQJUtOSPAAoJEDkNM7UOEwMZa0cP/j3E9NDLdEDUQjICw9Q2WDk2
6V9TVS86HfFtJVqtPiDxjyCMV3AEGMuCHrjbAjmtHmBtJefMzUxxSb5uYkCA0PQm
fhrJypJ7XbUUxSax9be7nMwCP6ae6Ts8WcnjZsA6KkDZ+9jsxMFGRAZhIS0yQpjx
Wsidp968WhAqOIOzMsELQvjyt8OsGz1R7kN97lvt6VV6iFo+UtRo9Aldg0EmG4TT
RMz83lUUegLJS4L/cAnk39s6ZcxR0XsyfV7mCZI7Qv5aBgIf7QUiBulnK6TEbyEX
7siVFawXw3ipgnrT9aU3HLizWZLodsmMXAw/u4OWDXmsZDl11aNhzK8eYyk5YyrR
hEiR3PEe4LvbaB7O3AzXCibemzQVWdubWvFJcZZN1hHxHK69hQkrjYciph5/jcSW
xELtLjYaYviZtdPd60psKp9uePyFEWwwnM3tx3Cec4fhibiaDgsYkpcLNviNGm57
+SAh7citTepMFsU2BZdpVnl5VU9opQ4ZJYBXtqufd9/Z8GNgSlkS7284OoRlYyQE
iRnti4SMGYcSVyx3KJS2LkVPCXqU4pyZElNwLqM0GPYm6aD48VgKOvPIaOg7hI/D
r6+uHP7Qxd7vS10s26817Wjo36Q2Ow2mxJ5dSbqQoDIyrQ/j3SNRAHCSZE+5fsET
rlM0IiWr7UjKRaQHWyIL
=TYG+
-----END PGP SIGNATURE-----




More information about the Dune mailing list