t8  UNKNOWN
t8code is a C library to manage a forest of adaptive space-trees of general element classes in parallel.
t8_geometry_cad.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_GEOMETRY_CAD_H
28 #define T8_GEOMETRY_CAD_H
29 
30 #include <t8.h>
33 
34 #if T8_WITH_OCC
35 
40 typedef struct t8_geometry_cad t8_geometry_cad_c;
41 
42 T8_EXTERN_C_BEGIN ();
43 
61 t8_geometry_cad_new (int dim, const char *fileprefix, const char *name_in);
62 
66 void
68 
69 T8_EXTERN_C_END ();
70 
71 #endif /* T8_WITH_OCC */
72 
73 #endif /* !T8_GEOMETRY_CAD_H */
This geometry uses OpenCASCADE CAD geometries to curve the trees to the actual shape of the underlyin...
Definition: t8_geometry_cad.hxx:50
This is the administrative header file for t8code.
Typedef for the t8_geometry class in order to be usable as a pointer from .c files.
t8_geometry_cad_c * t8_geometry_cad_new(int dim, const char *fileprefix, const char *name_in)
Create a new cad geometry with a given dimension.
Definition: t8_geometry_cad.cxx:1318
void t8_geometry_cad_destroy(t8_geometry_cad_c **geom)
Destroy a cad geometry that was created with t8_geometry_cad_new.
Definition: t8_geometry_cad.cxx:1325
This header file provides a C interface for functions for the t8_geometry_with_vertices class.