p4est  1.0
src/p4est_balance.h
00001 /*
00002   This file is part of p4est.
00003   p4est is a C library to manage a collection (a forest) of multiple
00004   connected adaptive quadtrees or octrees in parallel.
00005 
00006   Copyright (C) 2011 The University of Texas System
00007   Written by Carsten Burstedde, Lucas C. Wilcox, and Tobin Isaac
00008 
00009   p4est is free software; you can redistribute it and/or modify
00010   it under the terms of the GNU General Public License as published by
00011   the Free Software Foundation; either version 2 of the License, or
00012   (at your option) any later version.
00013 
00014   p4est is distributed in the hope that it will be useful,
00015   but WITHOUT ANY WARRANTY; without even the implied warranty of
00016   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017   GNU General Public License for more details.
00018 
00019   You should have received a copy of the GNU General Public License
00020   along with p4est; if not, write to the Free Software Foundation, Inc.,
00021   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
00022 */
00023 
00024 #ifndef P4EST_BALANCE_H
00025 #define P4EST_BALANCE_H
00026 
00027 #include <p4est.h>
00028 
00043 int                 p4est_balance_seeds (p4est_quadrant_t * q,
00044                                          p4est_quadrant_t * p,
00045                                          p4est_connect_type_t balance,
00046                                          sc_array_t * seeds);
00047 
00051 int                 p4est_balance_seeds_face (p4est_quadrant_t * q,
00052                                               p4est_quadrant_t * p,
00053                                               int face, p4est_connect_type_t
00054                                               balance, sc_array_t * seeds);
00055 
00059 int                 p4est_balance_seeds_corner (p4est_quadrant_t * q,
00060                                                 p4est_quadrant_t * p,
00061                                                 int face, p4est_connect_type_t
00062                                                 balance, sc_array_t * seeds);
00063 
00064 #endif
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines