/*1This file is part of t8code.2t8code is a C library to manage a collection (a forest) of multiple3connected adaptive space-trees of general element classes in parallel.45Copyright (C) 2015 the developers67t8code is free software; you can redistribute it and/or modify8it under the terms of the GNU General Public License as published by9the Free Software Foundation; either version 2 of the License, or10(at your option) any later version.1112t8code is distributed in the hope that it will be useful,13but WITHOUT ANY WARRANTY; without even the implied warranty of14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the15GNU General Public License for more details.1617You should have received a copy of the GNU General Public License18along with t8code; if not, write to the Free Software Foundation, Inc.,1951 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.20*/2122/** \file t8_element.h23* This file defines the opaque element structure and provides some24* constants for element classes.25*/2627#ifndef T8_ELEMENT_H28#define T8_ELEMENT_H2930#include <t8.h>31#include <t8_eclass.h>32#include <t8_element_shape.h>3334/** We want to export the whole implementation to be callable from "C". */35T8_EXTERN_C_BEGIN ();3637/** Opaque structure for a generic element, only used as pointer.38* Implementations are free to cast it to their internal data structure.39*/40typedef struct t8_element t8_element_t;4142/** This array holds the reference coordinates of each vertex of each element.43* It can e.g. be used with the \ref t8_scheme::element_get_reference_coords function.44* Usage: t8_element_corner_ref_coords[eclass][vertex][dimension]45*/46extern const double t8_element_corner_ref_coords[T8_ECLASS_COUNT][T8_ECLASS_MAX_CORNERS][3];4748/** This array holds the reference coordinates of the centroid of each element.49* It can e.g. be used with the \ref t8_scheme::element_get_reference_coords function.50* Usage: t8_element_centroid_ref_coords[eclass][dimension]51*/52extern const double t8_element_centroid_ref_coords[T8_ECLASS_COUNT][3];5354/** End of code that is callable from "C".*/55T8_EXTERN_C_END ();5657#endif /* !T8_ELEMENT_H */585960