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

Steffen Müthing steffen.muething at iwr.uni-heidelberg.de
Mon Feb 22 13:20:39 CET 2016


Hi,

> Am 22.02.2016 um 12:27 schrieb Jö Fahlke <jorrit at jorrit.de>:
> 
> 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.

yes, AFAIK that’s basically the reason - for the same reason, there is only an
index_set.subIndex() and an entity.subEntity() for codim 0 entities.

Steffen

> 
> Regards,
> Jö.
> 
> --
> Jorrit (Jö) Fahlke, Institute for Computational und Applied Mathematics,
> University of Münster, Orleans-Ring 10, D-48149 Münster
> Tel: +49 251 83 35146 Fax: +49 251 83 32729
> 
> A mathematician is a device to turn coffee into theorems.
> -- Paul Erdős
> _______________________________________________
> Dune-devel mailing list
> Dune-devel at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.dune-project.org/pipermail/dune-devel/attachments/20160222/7e733183/attachment.sig>


More information about the Dune-devel mailing list