From f53b427eda2c2140ef6c7451a44e8ba706ca6512 Mon Sep 17 00:00:00 2001 From: David Knapp Date: Fri, 23 Feb 2024 10:23:06 +0100 Subject: [PATCH] fix orientation --- src/t8_cmesh/t8_cmesh_examples.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/t8_cmesh/t8_cmesh_examples.c b/src/t8_cmesh/t8_cmesh_examples.c index 414b524e56..62e0cfdf51 100644 --- a/src/t8_cmesh/t8_cmesh_examples.c +++ b/src/t8_cmesh/t8_cmesh_examples.c @@ -1420,7 +1420,7 @@ t8_cmesh_new_hypercube_pad (const t8_eclass_t eclass, sc_MPI_Comm comm, const do if (eclass == T8_ECLASS_HEX) { const t8_locidx_t tree_id_0 = poly_id_0; const t8_locidx_t tree_id_1 = poly_id_0 + polygons_y * polygons_x; - t8_cmesh_set_join (cmesh, tree_id_0, tree_id_1, 5, 4, 4); + t8_cmesh_set_join (cmesh, tree_id_0, tree_id_1, 5, 4, 0); } else if (eclass == T8_ECLASS_TET) { t8_locidx_t tree_id_0 = poly_id_0 * 6 + 5;