p4est  1.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
p8est_points.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 /********************************************************************
25  * IMPORTANT NOTE *
26  * *
27  * The p4est_points functionality depends on sc/src/sc_sort. *
28  * That parallel bitonic sort is still buggy (see sc/bugs). *
29  * If you want to use this code you have to fix the sort first. *
30  ********************************************************************/
31 
32 #ifndef P8EST_POINTS_H
33 #define P8EST_POINTS_H
34 
35 #include <p8est.h>
36 
37 SC_EXTERN_C_BEGIN;
38 
64 p8est_t *p8est_new_points (sc_MPI_Comm mpicomm,
65  p8est_connectivity_t * connectivity,
66  int maxlevel, p8est_quadrant_t * points,
67  p4est_locidx_t num_points,
68  p4est_locidx_t max_points,
69  size_t data_size, p8est_init_t init_fn,
70  void *user_pointer);
71 
72 SC_EXTERN_C_END;
73 
74 #endif /* !P8EST_POINTS_H */
The top-level 3D p8est interface.
This structure holds the 3D inter-tree connectivity information.
Definition: p8est_connectivity.h:158
The 3D quadrant (i.e.
Definition: p8est.h:61
The p8est forest datatype.
Definition: p8est.h:125
void(* p8est_init_t)(p8est_t *p8est, p4est_topidx_t which_tree, p8est_quadrant_t *quadrant)
Callback function prototype to initialize the quadrant's user data.
Definition: p8est.h:180
int32_t p4est_locidx_t
Typedef for processor-local indexing of quadrants and nodes.
Definition: p4est_base.h:74