Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
DLR-AMR
GitHub Repository: DLR-AMR/t8code
Path: blob/main/tutorials/general/t8_step4.h
903 views
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
23
/** file t8_step4.h
24
* This is the header file to the step4 example of t8code. It collects
25
* functions of t8_step4 that we reuse in other examples.
26
* In this example we discuss the forest creation process in more detail including
27
* partitioning and balancing a forest and creating a ghost layer.
28
* The main program is t8_step4_main.
29
* See \ref t8_step4_partition_balance_ghost.cxx for more details.
30
*/
31
32
#ifndef T8_STEP4_H
33
#define T8_STEP4_H
34
35
#include <t8.h>
36
37
T8_EXTERN_C_BEGIN ();
38
39
/** This is the main program of this example.
40
*/
41
int
42
t8_step4_main (int argc, char **argv);
43
44
T8_EXTERN_C_END ();
45
46
#endif /* !T8_STEP4_H */
47
48