Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
DLR-AMR
GitHub Repository: DLR-AMR/t8code
Path: blob/main/src/t8_version.c
898 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_version.c
24
* Implements functions declared in \ref t8_version.h.
25
*/
26
27
#include <t8_version.h>
28
29
const char *
30
t8_get_package_string ()
31
{
32
return T8_PACKAGE_STRING;
33
}
34
35
const char *
36
t8_get_version_point_string ()
37
{
38
return T8_VERSION_POINT_STRING;
39
}
40
41
const char *
42
t8_get_version_number ()
43
{
44
return T8_VERSION;
45
}
46
47
int
48
t8_get_version_major ()
49
{
50
return T8_VERSION_MAJOR;
51
}
52
53
int
54
t8_get_version_minor ()
55
{
56
return T8_VERSION_MINOR;
57
}
58
59
int
60
t8_get_version_patch ()
61
{
62
return T8_VERSION_PATCH;
63
}
64
65