p4est  1.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
p8est_balance.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) 2011 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 P8EST_BALANCE_H
25 #define P8EST_BALANCE_H
26 
27 #include <p8est.h>
28 
43 int p8est_balance_seeds (p8est_quadrant_t * q,
44  p8est_quadrant_t * p,
45  p8est_connect_type_t balance,
46  sc_array_t * seeds);
47 
51 int p8est_balance_seeds_face (p8est_quadrant_t * q,
52  p8est_quadrant_t * p,
53  int face, p8est_connect_type_t
54  balance, sc_array_t * seeds);
55 
59 int p8est_balance_seeds_edge (p8est_quadrant_t * q,
60  p8est_quadrant_t * p,
61  int face, p8est_connect_type_t
62  balance, sc_array_t * seeds);
63 
67 int p8est_balance_seeds_corner (p8est_quadrant_t * q,
68  p8est_quadrant_t * p,
69  int face, p8est_connect_type_t
70  balance, sc_array_t * seeds);
71 
72 #endif
p8est_connect_type_t
Characterize a type of adjacency.
Definition: p8est_connectivity.h:79
The top-level 3D p8est interface.
The 3D quadrant (i.e.
Definition: p8est.h:61
The sc_array object provides a large array of equal-size elements.
Definition: sc_containers.h:92