p4est  1.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
p4est_io.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  Copyright (C) 2012 Carsten Burstedde
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 P4EST_IO_H
26 #define P4EST_IO_H
27 
28 #include <p4est.h>
29 
40 sc_array_t *p4est_deflate_quadrants (p4est_t * p4est,
41  sc_array_t ** data);
42 
60 p4est_t *p4est_inflate (sc_MPI_Comm mpicomm,
61  p4est_connectivity_t * connectivity,
62  const p4est_gloidx_t *
63  global_first_quadrant,
64  const p4est_gloidx_t * pertree,
65  sc_array_t * quadrants, sc_array_t * data,
66  void *user_pointer);
67 
68 #endif /* !P4EST_IO_H */
int64_t p4est_gloidx_t
Typedef for globally unique indexing of quadrants.
Definition: p4est_base.h:84
The p4est forest datatype.
Definition: p4est.h:129
The top-level 2D p4est interface.
This structure holds the 2D inter-tree connectivity information.
Definition: p4est_connectivity.h:139
The sc_array object provides a large array of equal-size elements.
Definition: sc_containers.h:92