t8  UNKNOWN
t8code is a C library to manage a forest of adaptive space-trees of general element classes in parallel.
t8_cmesh_helpers.h
Go to the documentation of this file.
1 /*
2  This file is part of t8code.
3  t8code is a C library to manage a collection (a forest) of multiple
4  connected adaptive space-trees of general element classes in parallel.
5 
6  Copyright (C) 2023 the developers
7 
8  t8code is free software; you can redistribute it and/or modify
9  it under the terms of the GNU General Public License as published by
10  the Free Software Foundation; either version 2 of the License, or
11  (at your option) any later version.
12 
13  t8code is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  GNU General Public License for more details.
17 
18  You should have received a copy of the GNU General Public License
19  along with t8code; if not, write to the Free Software Foundation, Inc.,
20  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 */
22 
28 #ifndef T8_CMESH_HELPERS_H
29 #define T8_CMESH_HELPERS_H
30 
31 #include <t8.h>
32 #include <t8_cmesh.h>
33 #include <t8_eclass.h>
34 
35 T8_EXTERN_C_BEGIN ();
36 
54 void
55 t8_cmesh_set_join_by_vertices (t8_cmesh_t cmesh, const int ntrees, const t8_eclass_t *eclasses, const double *vertices,
56  int **connectivity, const int do_both_directions);
57 
58 T8_EXTERN_C_END ();
59 
60 #endif /* !T8_CMESH_HELPERS_H */
This structure holds the connectivity data of the coarse mesh.
Definition: t8_cmesh_types.h:88
This is the administrative header file for t8code.
We define the coarse mesh of trees in this file.
void t8_cmesh_set_join_by_vertices(t8_cmesh_t cmesh, const int ntrees, const t8_eclass_t *eclasses, const double *vertices, int **connectivity, const int do_both_directions)
Sets the face connectivity information of an un-committed \cmesh based on a list of tree vertices.
Definition: t8_cmesh_helpers.c:34
We define all possible element classes that occur in hybrid meshes.
enum t8_eclass t8_eclass_t
This enumeration contains all possible element classes.