p4est  2.8.7
p4est is a software library for parallel adaptive mesh refinement.
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
p8est_plex.h
1 /*
2  This file is part of p4est.
3  p4est is a C library to manage a collection (a forest) of multiple
4  connected adaptive quadtrees or octrees in parallel.
5 
6  Copyright (C) 2010 The University of Texas System
7  Additional copyright (C) 2011 individual authors
8  Written by Carsten Burstedde, Lucas C. Wilcox, and Tobin Isaac
9 
10  p4est is free software; you can redistribute it and/or modify
11  it under the terms of the GNU General Public License as published by
12  the Free Software Foundation; either version 2 of the License, or
13  (at your option) any later version.
14 
15  p4est is distributed in the hope that it will be useful,
16  but WITHOUT ANY WARRANTY; without even the implied warranty of
17  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  GNU General Public License for more details.
19 
20  You should have received a copy of the GNU General Public License
21  along with p4est; if not, write to the Free Software Foundation, Inc.,
22  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23 */
24 
25 #ifndef P8EST_PLEX_H
26 #define P8EST_PLEX_H
27 
28 #include <p8est.h>
29 
30 SC_EXTERN_C_BEGIN;
31 
68 void p8est_get_plex_data (p8est_t * p8est,
70  int overlap,
71  p4est_locidx_t * first_local_quad,
72  sc_array_t * out_points_per_dim,
73  sc_array_t * out_cone_sizes,
74  sc_array_t * out_cones,
75  sc_array_t * out_cone_orientations,
76  sc_array_t * out_vertex_coords,
77  sc_array_t * out_children,
78  sc_array_t * out_parents,
79  sc_array_t * out_childids,
80  sc_array_t * out_leaves,
81  sc_array_t * out_remotes);
82 
83 SC_EXTERN_C_END;
84 #endif /* P4EST_PLEX_H */
int32_t p4est_locidx_t
Typedef for processor-local indexing of quadrants and nodes.
Definition: p4est_base.h:106
The top-level 3D p8est interface.
p8est_connect_type_t
Characterize a type of adjacency.
Definition: p8est_connectivity.h:120
The p8est forest datatype.
Definition: p8est.h:146