t8  1.2.0
t8code is a C library to manage a forest of adaptive space-trees of general element classes in parallel.
t8_cmesh_vtk_writer.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 
25 /* TODO: document this file */
26 
27 #ifndef T8_CMESH_VTK_H
28 #define T8_CMESH_VTK_H
29 
30 #include <t8_cmesh.h>
31 
32 /* typedef and macros */
33 
34 T8_EXTERN_C_BEGIN ();
35 /* function declarations */
36 
37 /* TODO: document this function */
38 int t8_cmesh_vtk_write_file (t8_cmesh_t cmesh,
39  const char *fileprefix,
40  double scale);
41 
42 /* TODO: Should this function be part of the interface?
43  * Not for now: Move to _vtk.h but mark as DEPRECATED */
56  t8_locidx_t ltree_id,
57  double *vertices,
58  int num_vertices);
59 
60 T8_EXTERN_C_END ();
61 
62 #endif /* !T8_CMESH_VTK_H */
This structure holds the connectivity data of the coarse mesh.
Definition: t8_cmesh_types.h:83
int32_t t8_locidx_t
A type for processor-local indexing.
Definition: t8.h:94
void t8_cmesh_set_tree_vertices(t8_cmesh_t cmesh, t8_locidx_t ltree_id, double *vertices, int num_vertices)
Set the vertex coordinates of a tree in the cmesh.
Definition: t8_cmesh.c:604
We define the coarse mesh of trees in this file.