This commit is contained in:
2010-05-02 21:21:20 +00:00
parent c9a9ebfc96
commit c72e04b302
2 changed files with 20 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#ifndef __H5T_REFERENCE_ELEMENTS_H
#define __H5T_REFERENCE_ELEMENTS_H
#define H5T_MAX_DIM 3
#define H5T_MAX_FACES 6 // edges in tetrahedron
#define H5T_MAX_VERTICES 4 // tetrahedron
typedef struct {
int dim;
int num_faces[H5T_MAX_DIM+1];
int num_vertices_of_face[H5T_MAX_DIM+1][H5T_MAX_FACES];
int map[H5T_MAX_DIM+1][H5T_MAX_FACES][H5T_MAX_VERTICES];
h5_float64_t coords[H5T_MAX_VERTICES][H5T_MAX_DIM];
} h5t_ref_element_t;
extern const h5t_ref_element_t h5t_tet_ref_element;
extern const h5t_ref_element_t h5t_tri_ref_element;
#endif