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_save.h
Go to the documentation of this file.
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 
30 #ifndef T8_CMESH_SAVE_H
31 #define T8_CMESH_SAVE_H
32 
33 #include <t8.h>
34 
37 #define T8_CMESH_FORMAT 0x0002
38 
43 typedef enum t8_load_mode
44 {
45  T8_LOAD_FIRST = 0,
47  T8_LOAD_SIMPLE = T8_LOAD_FIRST,
56  T8_LOAD_COUNT
58 
59 T8_EXTERN_C_BEGIN ();
60 
61 T8_EXTERN_C_END ();
62 
63 #endif /* !T8_CMESH_SAVE_H */
This is the administrative header file for t8code.
t8_load_mode
This enumeration contains all modes in which we can open a saved cmesh.
Definition: t8_cmesh_save.h:44
@ T8_LOAD_STRIDE
Every n-th process loads a file.
Definition: t8_cmesh_save.h:55
@ T8_LOAD_BGQ
In BGQ mode, the file is loaded on n nodes and from one process of each node.
Definition: t8_cmesh_save.h:50
@ T8_LOAD_SIMPLE
In simple mode, the first n processes load the file.
Definition: t8_cmesh_save.h:47
enum t8_load_mode t8_load_mode_t
This enumeration contains all modes in which we can open a saved cmesh.