Skip to content

Commit

Permalink
Merge pull request #957 from DLR-AMR/bug-fix_hypercube_pad
Browse files Browse the repository at this point in the history
fix orientation
  • Loading branch information
jmark committed Feb 23, 2024
2 parents 7829c11 + f53b427 commit 15a6aea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/t8_cmesh/t8_cmesh_examples.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 15a6aea

Please sign in to comment.