[Dune] How to change vertex numbering order?
Jö Fahlke
jorrit at jorrit.de
Fri Aug 16 09:34:35 CEST 2019
Am Fr, 16. Aug 2019, 13:43:40 +1000 schrieb Ranjeet Singh:
> Is there any way to change the vertex numbering to cyclic order?
[I'm assuming you're talking about quadrilateral elements here]
No, the numbering of vertices within an element follows a fixed convention,
see
https://dune-project.org/doxygen/master/group__GeometryReferenceElements.html.
The reason is that there is a dimension-independent way to construct that
numbering, which is difficult to do with cyclic numbering.
What do you need a specific numbering for? If it is for interfacing with a
library that follows a different numbering convention, the way to go is
usually to write a small function to transform between the numberings for your
specific case.
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20190816/20d33e5a/attachment.sig>
More information about the Dune
mailing list