diff --git a/.gitattributes b/.gitattributes index 770a97f..a9b7bd1 100644 --- a/.gitattributes +++ b/.gitattributes @@ -352,12 +352,15 @@ src/H5Block.h -text src/H5Fed.c -text src/H5Fed.h -text src/H5Fed_adjacency.c -text +src/H5Fed_adjacency.h -text src/H5Fed_boundaries.c -text src/H5Fed_boundaries.h -text src/H5Fed_inquiry.c -text +src/H5Fed_inquiry.h -text src/H5Fed_map.c -text src/H5Fed_map.h -text src/H5Fed_retrieve.c -text +src/H5Fed_retrieve.h -text src/H5Fed_store.c -text src/H5Fed_store.h -text src/H5Part.c -text diff --git a/src/H5Fed_adjacency.h b/src/H5Fed_adjacency.h new file mode 100644 index 0000000..d9bfeb3 --- /dev/null +++ b/src/H5Fed_adjacency.h @@ -0,0 +1,31 @@ +#ifndef __H5FED_ADJACENCY_H +#define __H5FED_ADJACENCY_H + +h5_err_t +H5FedGetEdgesUpAdjacentToVertex ( + h5_file_t * const f, + const h5_id_t local_vid, + h5_idlist_t **list + ); + +h5_err_t +H5FedGetTrianglesUpAdjacentToVertex ( + h5_file_t * const f, + const h5_id_t local_vid, + h5_idlist_t **list + ); + +h5_err_t +H5FedGetTetsUpAdjacentToVertex ( + h5_file_t * const f, + const h5_id_t local_vid, + h5_idlist_t **list + ); + +h5_err_t +H5FedReleaseListOfAdjacencies ( + h5_file_t * const f, + h5_idlist_t **list + ); + +#endif diff --git a/src/H5Fed_inquiry.h b/src/H5Fed_inquiry.h new file mode 100644 index 0000000..0bb4be2 --- /dev/null +++ b/src/H5Fed_inquiry.h @@ -0,0 +1,68 @@ +/* + Header file for declaring the H5Fed application programming + interface (API) in the C language. + + Copyright 2006-2007 + Paul Scherrer Institut, Villigen, Switzerland; + Benedikt Oswald; + Achim Gsell + All rights reserved. + + Authors + Achim Gsell + + Warning + This code is under development. + + */ +#ifndef __H5FED_INQUIRY_H +#define __H5FED_INQUIRY_H + +h5_size_t +H5FedGetNumMeshes ( + h5_file_t * const f, + const h5_oid_t mesh_type_id + ); + +h5_size_t +H5FedGetNumLevels ( + h5_file_t * f + ); + +h5_id_t +H5FedGetLevel ( + h5_file_t * f + ); + +h5_size_t +H5FedGetNumVertices ( + h5_file_t * f + ); + +h5_size_t +H5FedGetNumVerticesTotal( + h5_file_t * f + ); + +h5_size_t +H5FedGetNumVerticesCnode ( + h5_file_t * f, + const h5_id_t cnode + ); + +h5_size_t +H5FedGetNumElements ( + h5_file_t * f + ); + +h5_size_t +H5FedGetNumElementsTotal ( + h5_file_t * f + ); + +h5_size_t +H5FedGetNumElementsCnode ( + h5_file_t * f, + const h5_id_t cnode + ); +#endif diff --git a/src/H5Fed_retrieve.h b/src/H5Fed_retrieve.h new file mode 100644 index 0000000..69998a2 --- /dev/null +++ b/src/H5Fed_retrieve.h @@ -0,0 +1,52 @@ +/* + Copyright 2007-2009 + Paul Scherrer Institut, Villigen, Switzerland; + Benedikt Oswald; + Achim Gsell + All rights reserved. + + Authors + Achim Gsell + + Warning + This code is under development. + + */ +#ifndef __H5FED_RETRIEVE_H +#define __H5FED_RETRIEVE_H + +h5_err_t +H5FedBeginTraverseVertices ( + h5_file_t * f + ); + +h5_id_t +H5FedTraverseVertices ( + h5_file_t * f, + h5_id_t * const id, + h5_float64_t P[3] + ); + +h5_err_t +H5FedEndTraverseVertices ( + h5_file_t * f + ); + +h5_err_t +H5FedBeginTraverseElements ( + h5_file_t * f + ); + +h5_id_t +H5FedTraverseElements ( + h5_file_t * f, + h5_id_t * const id, + h5_id_t * const parent_id, + h5_id_t * const vertex_ids + ); + +h5_err_t +H5FedEndTraverseElements ( + h5_file_t * f + ); +#endif