Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove no longer needed entry for default_triangles #901

Merged
merged 3 commits into from
Jan 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions doc/author_schoenlein.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
I place my contributions to t8code under the FreeBSD license.
Katrin Schönlein (katrin.schoenlein@dlr.de)
1 change: 0 additions & 1 deletion src/t8_schemes/t8_default/t8_default_tri/t8_dtri.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ typedef struct t8_dtri
int8_t level;
t8_dtri_type_t type;
t8_dtri_coord_t x, y;
t8_dtri_coord_t n;
} t8_dtri_t;

T8_EXTERN_C_END ();
Expand Down
8 changes: 0 additions & 8 deletions src/t8_schemes/t8_default/t8_default_tri/t8_dtri_bits.c
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,6 @@ t8_dtri_ancestor (const t8_dtri_t *t, int level, t8_dtri_t *ancestor)
ancestor->type = t->type;
}

ancestor->n = t->n;
#else
/* The sign of each diff reduces the number of possible types
* for the ancestor. At the end only one possible type is left,
Expand Down Expand Up @@ -1499,8 +1498,6 @@ t8_dtri_init_linear_id (t8_dtri_t *t, t8_linearidx_t id, int level)
t->y = 0;
#ifdef T8_DTRI_TO_DTET
t->z = 0;
#else
t->n = 0;
#endif
type = 0; /* This is the type of the root triangle */
for (i = 1; i <= level; i++) {
Expand Down Expand Up @@ -1529,8 +1526,6 @@ t8_dtri_init_root (t8_dtri_t *t)
t->y = 0;
#ifdef T8_DTRI_TO_DTET
t->z = 0;
#else
t->n = 0;
#endif
}

Expand Down Expand Up @@ -1698,9 +1693,6 @@ t8_dtri_is_valid (const t8_dtri_t *t)
/* for tets the eclass is set. */
is_valid = is_valid && t->eclass_int8 == T8_ECLASS_TET;
#endif
#else
/* n is 0 (we currently do not use n) */
is_valid = is_valid && t->n == 0;
#endif
/* Its type is in the valid range */
is_valid = is_valid && 0 <= t->type && t->type < T8_DTRI_NUM_TYPES;
Expand Down