p4est  1.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
p4est_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  Written by Carsten Burstedde, Lucas C. Wilcox, and Tobin Isaac
8 
9  p4est is free software; you can redistribute it and/or modify
10  it under the terms of the GNU General Public License as published by
11  the Free Software Foundation; either version 2 of the License, or
12  (at your option) any later version.
13 
14  p4est is distributed in the hope that it will be useful,
15  but WITHOUT ANY WARRANTY; without even the implied warranty of
16  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  GNU General Public License for more details.
18 
19  You should have received a copy of the GNU General Public License
20  along with p4est; if not, write to the Free Software Foundation, Inc.,
21  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22 */
23 
24 #ifndef P4EST_PLEX_H
25 #define P4EST_PLEX_H
26 
27 #include <p4est.h>
28 
29 SC_EXTERN_C_BEGIN;
30 
67 void p4est_get_plex_data (p4est_t * p4est,
69  int overlap,
70  p4est_locidx_t * first_local_quad,
71  sc_array_t * out_points_per_dim,
72  sc_array_t * out_cone_sizes,
73  sc_array_t * out_cones,
74  sc_array_t * out_cone_orientations,
75  sc_array_t * out_vertex_coords,
76  sc_array_t * out_children,
77  sc_array_t * out_parents,
78  sc_array_t * out_childids,
79  sc_array_t * out_leaves,
80  sc_array_t * out_remotes);
81 
82 SC_EXTERN_C_END;
83 #endif /* P4EST_PLEX_H */
The p4est forest datatype.
Definition: p4est.h:129
The top-level 2D p4est interface.
The sc_array object provides a large array of equal-size elements.
Definition: sc_containers.h:92
p4est_connect_type_t
Characterize a type of adjacency.
Definition: p4est_connectivity.h:77
int32_t p4est_locidx_t
Typedef for processor-local indexing of quadrants and nodes.
Definition: p4est_base.h:74