[Dune-devel] idset.subId() only for codim=0?

Aleksejs Fomins aleksejs.fomins at lspr.ch
Mon Feb 22 13:17:43 CET 2016


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

Hey Jö,

Thanks for your advice.

In fact, the reason for this functionality is the correct orientation of basis. If one wishes to have a basis associated with an interior surface in a 3D mesh, it is essential that the orientation of the basis must be the same, when seen from the two elements sharing a face of that surface. This is implemented by enforcing the orientation of the basis with respect to globalId of the vertices of the underlying face.

I currently have sufficient connectivity implemented in Curvilinear Grid, and thus I will use EXPERIMENTAL_GRID_EXTENSIONS for this.

All the best,
Aleksejs

On 22.02.2016 12:27, Jö Fahlke wrote:
> Am Mon, 22. Feb 2016, 11:54:42 +0100 schrieb Aleksejs Fomins:
>> Date: Mon, 22 Feb 2016 11:54:42 +0100
>> From: Aleksejs Fomins <aleksejs.fomins at lspr.ch>
>> To: "dune-devel at dune-project.org" <dune-devel at dune-project.org>
>> Subject: [Dune-devel] idset.subId() only for codim=0?
> 
>> Can somebody please explain what is the motivation behind idset.subId(Entity, index, codim) in dune-grid being restricted to codim=0 entities?
>>
>> I was trying to find the Ids of the vertices of a face in 3D.
> 
> Well, I think you are the first one to request that feature.  And I think that
> if you require that functionality in general for all grids, most grids would
> have to store *a lot* more connectivity information than they are doing
> already to implement it.  So that may be the reason why this has never been
> part of the interface.
> 
> Regards,
> Jö.
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJWyvxnAAoJEDkNM7UOEwMZjmsQANrMMDMWdnqpCXbVDsQPtpPi
nphgAHWvrjtR/zIEq6AKPG5EX6Kp0OeSNz/qZvqB7nfSbi+ObXi1pkI3JNLScaqR
GstFI6B8bMKWy0VJYXR+qLHRIvqLaPMYNSB04shfkL3wuHs9QgaJ49GFtkNsFno/
VazkGh6LQcxRMT5MpJPFd56FquALROMbcgf3BEUJWbq8+OdfhfbwBOM87Af5JhD+
34s33fPT/EM3Fg78lbPNSApG1Ob7RMlDaQzxAIm1yGtT/Ooz4EJ14PiMaamH8zwI
vbuMmgYWpc6wBiR70b00nv/pkAiIvJybkrtetR0ER+e5/BWiHK3cmxZ2N66DI/kL
HO/uCRZ7Pz3TK/EbxKNhaUY7gJqGqXez3rMoc63KLis5E/NXOJWCuAUqTq5/x1FD
6DMsfAu++l2qTGhiqHipQ/BGAj/TEnNjRqagZ1zWMhDbNr/zA4nF9ApyWGYy56V6
xUcdQ5nwzyJAZizhWGV/Vkn91sfv7qnr39oG5Y4pabgXrLoAhaQuGpE0YEGqvLQt
Q9WgCORlcHsuCpk+fi2wfxCxNThDyJtf8lRo1o6udd0omLGJLImrcCEXF28eXets
3myuccxrHK9+zopxaAlde7O1wmA09k1FjaM5b58lLldch1RfrEDIddXVKqxed/tF
SBBq2uaqsYqUIl+2QX21
=AEhp
-----END PGP SIGNATURE-----




More information about the Dune-devel mailing list