[Dune] Which set of elements does a particular vertex belong to?
Jö Fahlke
jorrit at jorrit.de
Sat Aug 6 13:40:08 CEST 2011
> Is there any method to get a list of set of elements does a particular
> vertex (entity of codim dim)
> belong to?
Not directly. If you really need it, you'll have to iterate through the whole
grid and look whether the vertex you are looking for is a codim=dim subentity
of the current element. This is of course expensive.
Particular grid managers may provide this functionality directly, but I don't
know of any and tis is of course outside the scope of the Dune interface.
Most finite element algorithms can be reorganized to not require something
like this, however.
Bye,
Jö.
--
"Ich habe eine Maschine erfunden, die den Kommerz aus Weihnachten
entfernt." -- "Lass uns ganz viele davon bauen und für viel Geld
verkaufen."
-- http://www.nichtlustig.de/toondb/021220.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20110806/d481cbd5/attachment.sig>
More information about the Dune
mailing list