From b3d7bc1923e4eb93788936e295db54f5f80abb18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sch=C3=B6nlein=2C=20Katrin?= Date: Mon, 22 Jan 2024 14:00:43 +0100 Subject: [PATCH 1/3] remove no longer needed entry for default_triangles --- src/t8_schemes/t8_default/t8_default_tri/t8_dtri.h | 1 - src/t8_schemes/t8_default/t8_default_tri/t8_dtri_bits.c | 8 -------- 2 files changed, 9 deletions(-) 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; From 7438be9ced7127fa9cd060624f1e288a5a00eb07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sch=C3=B6nlein=2C=20Katrin?= Date: Mon, 22 Jan 2024 14:12:15 +0100 Subject: [PATCH 2/3] add author statement --- doc/author_schoenlein.txt | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 doc/author_schoenlein.txt diff --git a/doc/author_schoenlein.txt b/doc/author_schoenlein.txt new file mode 100644 index 0000000000..b5fa9e31a5 --- /dev/null +++ b/doc/author_schoenlein.txt @@ -0,0 +1,2 @@ +I place my contributions to libsc under the FreeBSD license. +Katrin Schönlein (katrin.schoenlein@dlr.de) From aae5cb2533a145ad8e39e7908c7bdeca7bdfe613 Mon Sep 17 00:00:00 2001 From: schok6 <150228741+schok6@users.noreply.github.com> Date: Mon, 29 Jan 2024 12:56:57 +0100 Subject: [PATCH 3/3] Update doc/author_schoenlein.txt Co-authored-by: David Knapp --- doc/author_schoenlein.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/author_schoenlein.txt b/doc/author_schoenlein.txt index b5fa9e31a5..3a9a85169b 100644 --- a/doc/author_schoenlein.txt +++ b/doc/author_schoenlein.txt @@ -1,2 +1,2 @@ -I place my contributions to libsc under the FreeBSD license. +I place my contributions to t8code under the FreeBSD license. Katrin Schönlein (katrin.schoenlein@dlr.de)