[Dune] Understanding LocalGeometry
Aleksejs Fomins
aleksejs.fomins at lspr.ch
Tue Jan 13 11:38:27 CET 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dear Carsten,
Thank you for your reply. I get it now :)
Aleksejs
On 13/01/15 11:26, Carsten Gräser wrote:
> Hi,
>
> Am 13.01.2015 um 10:25 schrieb Aleksejs Fomins:
>> 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?
> in general LocalGeometries describe embeddings of local coordinate
> system, e.g., son->father, intersection->element.
>
>> 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.
> I don't complete understand this, but I guess it's not true,
> because this would be a full dimensional simplex. Instead of this
> geometryInInside is the geometry that embeds local
> (d-1)-dimensional coordinates of the intersection into the local
> d-dimensional coordinate system of the element.
>
> So its more like {(0,0,0), (.5,0,0), (0,.5,0)} for a triangular
> face of a tetrahedron on nonconforming intersection with a first
> order hanging node.
>
>> 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.
> Since the LocalGeometry does only carry ('topological') information
> on local embeddings, it is agnostic wrt the element geometry. Hence
> I guess that you could simply forward the one from the host grid.
>
> Best, Carsten
>
>> 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)
iQIcBAEBAgAGBQJUtPWjAAoJEDkNM7UOEwMZTGwP/1fRgnMMrsur0LqbsUeftYis
mcPncH4viRCZducFKdCn+Zt6c0iMv3oNeI9S1g2TrcigTtioAqVKfLzjSCI30iPl
Xfg9yQzu1mrTPBbZU24YuQqrzjOeiU7xfABV5/muR6Xqt3LkrOI6pMvBeES0RXi/
IuA61k9y1dCN/dCgal/s03hM99EZXrBY2GmEgpsDXu35mdeU3Z68sHGP30wZ4kQE
Z6W3qkpDdm0L9BXxyTr+LNqj2hMGjLoQDR/h5NlWSNNvy02zzbihvh8GVfQnqhjp
g8EJUZ0iWJR5lu4gcpcVoNYoHcC67LGRj86dzs87RmNdZ8TVn/GVu4+P5kl9B1J8
e2HuF9y1TxMgayA/tl8BnZ3/pbtMVFBeRJXw3Arm4Yt7sVdgsz+MKCv4ZI9fAcp/
MqmcHApcZ4N+FDbkTyueaYOYyAmZlnqbnmRBIDLvD+Y1IE1XGnEqqWjaHY7w1tbS
+LGXTlpyjr/ma0gLjYzhIhsRkBg1e8/TbqCTOjHkN62pbFEVpaHtv0y/c2slWQmX
6e7+CIkWLugTCBRZS5YS2H23t/ZDzV0hP2cZ5Um5cs0hOu37CsruyHeay3D+nm36
a14058DxaKWqlFp71Xa8eIgN23EqPYqvbul5Bo4m8RETTwkYAzecT74MyM5AHM05
cebWtRgUj2v++YXsh2uw
=lWqr
-----END PGP SIGNATURE-----
More information about the Dune
mailing list