p4est
2.8.643-dbc7-dirty
p4est is a software library for parallel adaptive mesh refinement.
src
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) 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_BALANCE_H
26
#define P8EST_BALANCE_H
27
28
#include <
p8est.h
>
29
30
SC_EXTERN_C_BEGIN;
31
46
int
p8est_balance_seeds (
p8est_quadrant_t
* q,
47
p8est_quadrant_t
* p,
48
p8est_connect_type_t
balance,
49
sc_array_t
* seeds);
50
54
int
p8est_balance_seeds_face (
p8est_quadrant_t
* q,
55
p8est_quadrant_t
* p,
56
int
face,
p8est_connect_type_t
57
balance,
sc_array_t
* seeds);
58
62
int
p8est_balance_seeds_edge (
p8est_quadrant_t
* q,
63
p8est_quadrant_t
* p,
64
int
face,
p8est_connect_type_t
65
balance,
sc_array_t
* seeds);
66
70
int
p8est_balance_seeds_corner (
p8est_quadrant_t
* q,
71
p8est_quadrant_t
* p,
72
int
face,
p8est_connect_type_t
73
balance,
sc_array_t
* seeds);
74
SC_EXTERN_C_END;
75
76
#endif
p8est.h
The top-level 3D p8est interface.
p8est_connect_type_t
p8est_connect_type_t
Characterize a type of adjacency.
Definition:
p8est_connectivity.h:90
p8est_quadrant
The 3D quadrant (i.e., octant) datatype.
Definition:
p8est.h:68
sc_array