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 Copyright (C) 2012 Carsten Burstedde 00008 Written by Carsten Burstedde, Lucas C. Wilcox, and Tobin Isaac 00009 00010 p4est is free software; you can redistribute it and/or modify 00011 it under the terms of the GNU General Public License as published by 00012 the Free Software Foundation; either version 2 of the License, or 00013 (at your option) any later version. 00014 00015 p4est is distributed in the hope that it will be useful, 00016 but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00018 GNU General Public License for more details. 00019 00020 You should have received a copy of the GNU General Public License 00021 along with p4est; if not, write to the Free Software Foundation, Inc., 00022 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00023 */ 00024 00025 #ifndef P8EST_IO_H 00026 #define P8EST_IO_H 00027 00028 #include <p8est.h> 00029 00040 sc_array_t *p8est_deflate_quadrants (p8est_t * p8est, 00041 sc_array_t ** data); 00042 00060 p8est_t *p8est_inflate (sc_MPI_Comm mpicomm, 00061 p8est_connectivity_t * connectivity, 00062 const p4est_gloidx_t * 00063 global_first_quadrant, 00064 const p4est_gloidx_t * pertree, 00065 sc_array_t * quadrants, sc_array_t * data, 00066 void *user_pointer); 00067 00068 #endif /* !P8EST_IO_H */