t8  1.2.0
t8code is a C library to manage a forest of adaptive space-trees of general element classes in parallel.
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
t8_forest_vtk.h
1 /*
2  This file is part of t8code.
3  t8code is a C library to manage a collection (a forest) of multiple
4  connected adaptive space-trees of general element classes in parallel.
5 
6  Copyright (C) 2015 the developers
7 
8  t8code is free software; you can redistribute it and/or modify
9  it under the terms of the GNU General Public License as published by
10  the Free Software Foundation; either version 2 of the License, or
11  (at your option) any later version.
12 
13  t8code is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  GNU General Public License for more details.
17 
18  You should have received a copy of the GNU General Public License
19  along with t8code; if not, write to the Free Software Foundation, Inc.,
20  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 */
22 
26 /* TODO: Document this file */
27 
28 #ifndef T8_FOREST_VTK_H
29 #define T8_FOREST_VTK_H
30 
31 #include <t8_vtk.h>
32 #include <t8_forest.h>
33 
34 T8_EXTERN_C_BEGIN ();
35 /* function declarations */
36 
57 int t8_forest_vtk_write_file_via_API (t8_forest_t forest,
58  const char *fileprefix,
59  int write_treeid,
60  int write_mpirank,
61  int write_level,
62  int write_element_id,
63  int curved_flag,
64  int num_data,
66  *data);
67 
88 int t8_forest_vtk_write_file (t8_forest_t forest,
89  const char *fileprefix,
90  int write_treeid,
91  int write_mpirank,
92  int write_level,
93  int write_element_id,
94  int write_ghosts,
95  int num_data,
96  t8_vtk_data_field_t *data);
97 
98 T8_EXTERN_C_END ();
99 
100 #endif /* !T8_FOREST_VTK_H */
This structure is private to the implementation.
Definition: t8_forest_types.h:69
Definition: t8_vtk.h:70
We define the forest of trees in this file.