Thank you Daniel! I have one follow-up (I apologize for this basic question): -The ReferenceCall that I have to pass to GridGenerator::reference_cell only has a default constructor. So how can I create a simplex using this constructor?
Best, Math [email protected] schrieb am Dienstag, 18. Juli 2023 um 17:14:14 UTC+2: Mathieu, You should be able to use GridGenerator::reference_cell ( https://www.dealii.org/current/doxygen/deal.II/namespaceGridGenerator.html#aeb9a83e353f8d69ce49ebdd191a3a51f ), and then move the vertices to your liking, e.g. by using GridTools::transform ( https://www.dealii.org/current/doxygen/deal.II/namespaceGridTools.html#a212e99cf0d923cebfa04f1d23fa60b04 ). Best, Daniel On Tue, Jul 18, 2023 at 5:07 AM Mathieu <[email protected]> wrote: Hello everyone, I read the simplex support <https://www.dealii.org/current/doxygen/deal.II/group__simplex.html> documentation and was wondering whether it is possible to create a triangle in 2d based on three vertices? The quadrilateral pendant is GridGenerator::general_cell(). Contrary to what one might think, GridGenerator::simplex() transforms the reference simplex into three quadrilaterals, which is also not what I am looking for. So is there a way to create a mesh consisting of one triangle (using three vertices)? I have deal.II 9.3.2 installed, but can upgrade if necessary. Thank you, Math -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/1b0cefaa-24fe-4e7c-8f9a-aaaf72d8ee2cn%40googlegroups.com <https://groups.google.com/d/msgid/dealii/1b0cefaa-24fe-4e7c-8f9a-aaaf72d8ee2cn%40googlegroups.com?utm_medium=email&utm_source=footer> . -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/4e354772-377b-47bb-a9b7-eee733b957dbn%40googlegroups.com.
