Skip to content

Commit

Permalink
Connectivity updates: remove leftover changes
Browse files Browse the repository at this point in the history
  • Loading branch information
cburstedde committed Sep 7, 2023
1 parent 0556942 commit 81bf9ea
Showing 1 changed file with 0 additions and 75 deletions.
75 changes: 0 additions & 75 deletions src/p4est_connectivity.c
Original file line number Diff line number Diff line change
Expand Up @@ -1527,81 +1527,6 @@ p4est_connectivity_new_drop (void)
corner_to_tree, corner_to_corner);
}

p4est_connectivity_t *
p4est_connectivity_new_drop3d (void)
{
const p4est_topidx_t num_vertices = 22;
const p4est_topidx_t num_trees = 5;
const p4est_topidx_t num_ctt = 1;
const double vertices[22 * 3] = {
0, 0, 0,
1, 0, 0,
0, 1, 0,
1, 1, 0,
3, 1, 0,
1, 2, 0,
3, 2, 0,
0, 0, 1,
1, 0, 1,
0, 1, 1,
1, 1, 1,
2, 1, 1,
1, 2, 1,
2, 2, 1,
1, 0, 2,
1, 1, 2,
2, 1, 2,
2, 2, 2,
0, 0, 3,
0, 1, 3,
3, 1, 3,
3, 2, 3,
};
const p4est_topidx_t tree_to_vertex[5 * 8] = {
0, 1, 2, 3, 7, 8, 9, 10,
3, 4, 5, 6, 10, 11, 12, 13,
11, 4, 13, 6, 16, 20, 17, 21,
14, 16, 15, 17, 18, 20, 19, 21,
7, 8, 9, 10, 18, 14, 19, 15,
};
const p4est_topidx_t tree_to_tree[5 * 6] = {
0, 0, 0, 0, 0, 4,
1, 2, 1, 1, 1, 1,
2, 2, 1, 3, 2, 2,
4, 2, 3, 3, 3, 3,
4, 4, 4, 4, 0, 3,
};
const int8_t tree_to_face[5 * 6] = {
0,0,2,2,
1,2,2,3,
0,1,1,1,
3,3,2,3,
0,1,3,0,
};

const p4est_topidx_t tree_to_corner[5 * 4] = {
-1, -1, -1, 0,
-1, -1, 0, -1,
-1, -1, -1, -1,
-1, -1, -1, -1,
-1, 0, -1, -1,
};
const p4est_topidx_t ctt_offset[1 + 1] = {
0, 3
};
const p4est_topidx_t corner_to_tree[3] = {
0, 1, 4,
};
const int8_t corner_to_corner[3] = {
3, 2, 1,
};
return p4est_connectivity_new_copy (num_vertices, num_trees, num_ctt,
vertices, tree_to_vertex,
tree_to_tree, tree_to_face,
tree_to_corner, ctt_offset,
corner_to_tree, corner_to_corner);
}

p4est_connectivity_t *
p4est_connectivity_new_corner (void)
{
Expand Down

0 comments on commit 81bf9ea

Please sign in to comment.