p4est
1.0
|
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) 2010 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 /******************************************************************** 00025 * IMPORTANT NOTE * 00026 * * 00027 * The p4est_points functionality depends on sc/src/sc_sort. * 00028 * That parallel bitonic sort is still buggy (see sc/bugs). * 00029 * If you want to use this code you have to fix the sort first. * 00030 ********************************************************************/ 00031 00032 #ifndef P4EST_POINTS_H 00033 #define P4EST_POINTS_H 00034 00035 #include <p4est.h> 00036 00037 SC_EXTERN_C_BEGIN; 00038 00064 p4est_t *p4est_new_points (sc_MPI_Comm mpicomm, 00065 p4est_connectivity_t * connectivity, 00066 int maxlevel, p4est_quadrant_t * points, 00067 p4est_locidx_t num_points, 00068 p4est_locidx_t max_points, 00069 size_t data_size, p4est_init_t init_fn, 00070 void *user_pointer); 00071 00072 SC_EXTERN_C_END; 00073 00074 #endif /* !P4EST_POINTS_H */