- local IDs and indices are now 32bit (in the future it will be possible

to compile the library with 32bit or 64bit IDs/indices.
- bugfixes
This commit is contained in:
2011-02-03 10:40:40 +00:00
parent d0ce31c8c0
commit 2bc7cc1024
39 changed files with 545 additions and 389 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ H5FedCloseMesh (
h5_err_t
H5FedSetLevel (
h5_file_t* const f,
const h5_id_t level_id
const h5t_lvl_idx_t level_id
) {
H5_API_ENTER;
h5_err_t h5err = h5t_set_level (f, level_id);
+3 -3
View File
@@ -24,9 +24,9 @@
h5_err_t
H5FedGetAdjacencies (
h5_file_t* const f,
const h5_id_t entity_id,
const h5_loc_id_t entity_id,
const h5_int32_t dim,
h5_idlist_t** list
h5_loc_idlist_t** list
) {
H5_API_ENTER;
h5_err_t h5err = h5t_get_adjacencies (f, entity_id, dim, list);
@@ -36,7 +36,7 @@ H5FedGetAdjacencies (
h5_err_t
H5FedReleaseListOfAdjacencies (
h5_file_t* const f,
h5_idlist_t** list
h5_loc_idlist_t** list
) {
H5_API_ENTER
h5_err_t h5err = h5t_release_list_of_adjacencies (f, list);
+10 -10
View File
@@ -106,7 +106,7 @@ H5FedEndTraverseEntities (
h5_err_t
H5FedGetVertexCoordsByIndex (
h5_file_t* const f,
h5_id_t vertex_index,
h5_loc_idx_t vertex_index,
h5_float64_t P[3]
) {
H5_API_ENTER;
@@ -117,7 +117,7 @@ H5FedGetVertexCoordsByIndex (
h5_err_t
H5FedGetVertexCoordsByID (
h5_file_t* const f,
h5_id_t vertex_id,
h5_loc_id_t vertex_id,
h5_float64_t P[3]
) {
H5_API_ENTER;
@@ -128,8 +128,8 @@ H5FedGetVertexCoordsByID (
h5_err_t
H5FedGetVertexIndicesOfEdge (
h5_file_t* const f,
h5_id_t entity_id,
h5_id_t* vertex_indices
h5_loc_id_t entity_id,
h5_loc_idx_t* vertex_indices
) {
H5_API_ENTER;
h5_err_t h5err = h5t_get_vertex_indices_of_edge (f, entity_id, vertex_indices);
@@ -139,8 +139,8 @@ H5FedGetVertexIndicesOfEdge (
h5_err_t
H5FedGetVertexIndicesOfTriangle (
h5_file_t* const f,
h5_id_t entity_id,
h5_id_t* vertex_indices
h5_loc_id_t entity_id,
h5_loc_idx_t* vertex_indices
) {
H5_API_ENTER;
h5_err_t h5err = h5t_get_vertex_indices_of_triangle (f, entity_id, vertex_indices);
@@ -150,8 +150,8 @@ H5FedGetVertexIndicesOfTriangle (
h5_err_t
H5FedGetVertexIndicesOfTet (
h5_file_t* const f,
h5_id_t entity_id,
h5_id_t* vertex_indices
h5_loc_id_t entity_id,
h5_loc_idx_t* vertex_indices
) {
H5_API_ENTER
h5_err_t h5err = h5t_get_vertex_indices_of_tet (f, entity_id, vertex_indices);
@@ -161,8 +161,8 @@ H5FedGetVertexIndicesOfTet (
h5_err_t
H5FedGetVertexIndicesOfEntity (
h5_file_t* const f,
h5_id_t entity_id,
h5_id_t* vertex_indices
h5_loc_id_t entity_id,
h5_loc_idx_t* vertex_indices
) {
H5_API_ENTER;
h5_err_t h5err = h5t_get_vertex_indices_of_entity (f, entity_id, vertex_indices);
+4 -4
View File
@@ -78,7 +78,7 @@ H5FedBeginStoreVertices (
h5_loc_idx_t
H5FedStoreVertex (
h5_file_t* const f, /*!< file handle */
const h5_id_t vertex_id, /*!< id from mesher or -1 */
const h5_glb_id_t vertex_id, /*!< id from mesher or -1 */
const h5_float64_t P[3] /*!< coordinates */
) {
@@ -131,7 +131,7 @@ H5FedBeginStoreElements (
h5_loc_idx_t
H5FedStoreElement (
h5_file_t* const f, /*!< file handle */
const h5_id_t local_vids[] /*!< tuple with vertex id's */
const h5_loc_idx_t local_vids[] /*!< tuple with vertex id's */
) {
H5_API_ENTER;
h5_loc_idx_t idx;
@@ -163,10 +163,10 @@ H5FedBeginRefineElements (
H5_API_RETURN (h5err);
}
h5_err_t
h5_loc_idx_t
H5FedRefineElement (
h5_file_t* const f, /*!< file handle */
const h5_id_t local_eid /*!< local element id */
const h5_loc_id_t local_eid /*!< local element id */
) {
H5_API_ENTER;
h5_err_t h5err = h5t_mark_entity (f, local_eid);
+3 -3
View File
@@ -103,7 +103,7 @@ h5_err_t
H5FedSetMTag (
h5_file_t* const f,
char name[],
h5_id_t id,
h5_loc_id_t id,
const size_t dims,
void* val
) {
@@ -127,7 +127,7 @@ h5_err_t
H5FedGetMTag (
h5_file_t* const f,
const char name[],
const h5_id_t id,
const h5_loc_id_t id,
size_t* dim,
void* vals
) {
@@ -147,7 +147,7 @@ h5_err_t
H5FedRemoveMTag (
h5_file_t* const f,
const char name[],
const h5_id_t id
const h5_loc_id_t id
) {
H5_API_ENTER;
h5_err_t h5err = h5t_remove_mtag_by_name (f, name, id);