diff --git a/doc/author_schoenlein.txt b/doc/author_schoenlein.txt new file mode 100644 index 0000000000..3a9a85169b --- /dev/null +++ b/doc/author_schoenlein.txt @@ -0,0 +1,2 @@ +I place my contributions to t8code under the FreeBSD license. +Katrin Schönlein (katrin.schoenlein@dlr.de) diff --git a/src/t8_schemes/t8_default/t8_default_tri/t8_dtri.h b/src/t8_schemes/t8_default/t8_default_tri/t8_dtri.h index ea9d5adc1d..27443961a2 100644 --- a/src/t8_schemes/t8_default/t8_default_tri/t8_dtri.h +++ b/src/t8_schemes/t8_default/t8_default_tri/t8_dtri.h @@ -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 (); diff --git a/src/t8_schemes/t8_default/t8_default_tri/t8_dtri_bits.c b/src/t8_schemes/t8_default/t8_default_tri/t8_dtri_bits.c index 39862cbdc6..a2880487bf 100644 --- a/src/t8_schemes/t8_default/t8_default_tri/t8_dtri_bits.c +++ b/src/t8_schemes/t8_default/t8_default_tri/t8_dtri_bits.c @@ -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, @@ -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++) { @@ -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 } @@ -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;