t8
UNKNOWN
t8code is a C library to manage a forest of adaptive space-trees of general element classes in parallel.
src
t8_schemes
t8_default
t8_default_hex
t8_dhex_bits.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
27
#ifndef T8_DHEX_BITS_H
28
#define T8_DHEX_BITS_H
29
30
#include <
t8_element.h
>
31
#include <
t8_schemes/t8_default/t8_default_hex/t8_dhex.h
>
32
33
T8_EXTERN_C_BEGIN ();
34
45
void
46
t8_dhex_compute_reference_coords
(
const
t8_dhex_t
*elem,
const
double
*ref_coords,
const
size_t
num_coords,
47
double
*out_coords);
48
49
T8_EXTERN_C_END ();
50
51
#endif
/* T8_DHEX_BITS_H */
t8_dhex
Definition:
t8_dhex.h:56
t8_dhex.h
TODO: document this.
t8_dhex_compute_reference_coords
void t8_dhex_compute_reference_coords(const t8_dhex_t *elem, const double *ref_coords, const size_t num_coords, double *out_coords)
Convert points in the reference space of a hex element to points in the reference space of the tree (...
Definition:
t8_dhex_bits.c:27
t8_element.h
This file defines basic operations on an element in a refinement tree.