- up- and downward adjacencies implemented

This commit is contained in:
2009-07-01 19:17:38 +00:00
parent 607894f565
commit b6f2894ddb
4 changed files with 199 additions and 1 deletions
+94
View File
@@ -29,6 +29,7 @@ H5FedGetEdgesUpAdjacentToVertex (
const h5_id_t local_vid,
h5_idlist_t **list
) {
SET_FNAME ( f, __func__ );
return h5t_get_edges_upadjacent_to_vertex ( f, local_vid, list );
}
@@ -38,6 +39,7 @@ H5FedGetTrianglesUpAdjacentToVertex (
const h5_id_t local_vid,
h5_idlist_t **list
) {
SET_FNAME ( f, __func__ );
return h5t_get_triangles_upadjacent_to_vertex ( f, local_vid, list );
}
@@ -47,13 +49,105 @@ H5FedGetTetsUpAdjacentToVertex (
const h5_id_t local_vid,
h5_idlist_t **list
) {
SET_FNAME ( f, __func__ );
return h5t_get_tets_upadjacent_to_vertex ( f, local_vid, list );
}
h5_err_t
H5FedGetTrianglesUpAdjacentToEdge (
h5_file_t * const f,
const h5_id_t local_kid,
h5_idlist_t **list
) {
SET_FNAME ( f, __func__ );
return h5t_get_triangles_upadjacent_to_edge ( f, local_kid, list );
}
h5_err_t
H5FedGetTetsUpAdjacentToEdge (
h5_file_t * const f,
const h5_id_t local_kid,
h5_idlist_t **list
) {
SET_FNAME ( f, __func__ );
return h5t_get_tets_upadjacent_to_edge ( f, local_kid, list );
}
h5_err_t
H5FedGetTetsUpAdjacentToTriangle (
h5_file_t * const f,
const h5_id_t local_did,
h5_idlist_t **list
) {
SET_FNAME ( f, __func__ );
return h5t_get_tets_upadjacent_to_triangle ( f, local_did, list );
}
h5_err_t
H5FedGetVerticesDownAdjacentToEdge (
h5_file_t * const f,
const h5_id_t local_kid,
h5_idlist_t **list
) {
SET_FNAME ( f, __func__ );
return h5t_get_vertices_downadjacent_to_edge ( f, local_kid, list );
}
h5_err_t
H5FedGetVerticesDownAdjacentToTriangle (
h5_file_t * const f,
const h5_id_t local_did,
h5_idlist_t **list
) {
SET_FNAME ( f, __func__ );
return h5t_get_vertices_downadjacent_to_triangle ( f, local_did, list );
}
h5_err_t
H5FedGetVerticesDownAdjacentToTet (
h5_file_t * const f,
const h5_id_t local_tid,
h5_idlist_t **list
) {
SET_FNAME ( f, __func__ );
return h5t_get_vertices_downadjacent_to_tet ( f, local_tid, list );
}
h5_err_t
H5FedGetEdgesDownAdjacentToTriangle (
h5_file_t * const f,
const h5_id_t local_did,
h5_idlist_t **list
) {
SET_FNAME ( f, __func__ );
return h5t_get_edges_downadjacent_to_triangle ( f, local_did, list );
}
h5_err_t
H5FedGetEdgesDownAdjacentToTet (
h5_file_t * const f,
const h5_id_t local_tid,
h5_idlist_t **list
) {
SET_FNAME ( f, __func__ );
return h5t_get_edges_downadjacent_to_tet ( f, local_tid, list );
}
h5_err_t
H5FedGetTrianglesDownAdjacentToTet (
h5_file_t * const f,
const h5_id_t local_tid,
h5_idlist_t **list
) {
SET_FNAME ( f, __func__ );
return h5t_get_triangles_downadjacent_to_tet ( f, local_tid, list );
}
h5_err_t
H5FedReleaseListOfAdjacencies (
h5_file_t * const f,
h5_idlist_t **list
) {
SET_FNAME ( f, __func__ );
return _h5_free_idlist ( f, list );
}
+63
View File
@@ -22,6 +22,69 @@ H5FedGetTetsUpAdjacentToVertex (
h5_idlist_t **list
);
h5_err_t
H5FedGetTrianglesUpAdjacentToEdge (
h5_file_t * const f,
const h5_id_t local_kid,
h5_idlist_t **list
);
h5_err_t
H5FedGetTetsUpAdjacentToEdge (
h5_file_t * const f,
const h5_id_t local_kid,
h5_idlist_t **list
);
h5_err_t
H5FedGetTetsUpAdjacentToTriangle (
h5_file_t * const f,
const h5_id_t local_did,
h5_idlist_t **list
);
h5_err_t
H5FedGetVerticesDownAdjacentToEdge (
h5_file_t * const f,
const h5_id_t local_kid,
h5_idlist_t **list
);
h5_err_t
H5FedGetVerticesDownAdjacentToTriangle (
h5_file_t * const f,
const h5_id_t local_did,
h5_idlist_t **list
);
h5_err_t
H5FedGetVerticesDownAdjacentToTet (
h5_file_t * const f,
const h5_id_t local_tid,
h5_idlist_t **list
);
h5_err_t
H5FedGetEdgesDownAdjacentToTriangle (
h5_file_t * const f,
const h5_id_t local_did,
h5_idlist_t **list
);
h5_err_t
H5FedGetEdgesDownAdjacentToTet (
h5_file_t * const f,
const h5_id_t local_tid,
h5_idlist_t **list
);
h5_err_t
H5FedGetTrianglesDownAdjacentToTet (
h5_file_t * const f,
const h5_id_t local_tid,
h5_idlist_t **list
);
h5_err_t
H5FedReleaseListOfAdjacencies (
h5_file_t * const f,
+26 -1
View File
@@ -79,9 +79,34 @@ H5FedEndTraverseEdges (
return h5t_end_traverse_edges ( f );
}
h5_err_t
H5FedBeginTraverseTriangles (
h5_file_t * const f
) {
SET_FNAME ( f, __func__ );
return h5t_begin_traverse_triangles ( f );
}
h5_id_t
H5FedTraverseTriangles (
h5_file_t * const f,
h5_id_t * const local_vids
) {
SET_FNAME ( f, __func__ );
return h5t_traverse_triangles ( f, local_vids );
}
h5_err_t
H5FedEndTraverseTriangles (
h5_file_t * const f
) {
SET_FNAME ( f, __func__ );
return h5t_end_traverse_triangles ( f );
}
h5_err_t
H5FedBeginTraverseElements (
h5_file_t * const f /*!< file handle */
h5_file_t * const f
) {
SET_FNAME ( f, __func__ );
return h5t_begin_traverse_elems ( f );
+16
View File
@@ -48,6 +48,22 @@ H5FedEndTraverseEdges (
h5_file_t * const f
);
h5_err_t
H5FedBeginTraverseTriangles (
h5_file_t * const f
);
h5_id_t
H5FedTraverseTriangles (
h5_file_t * const f,
h5_id_t * const local_vids
);
h5_err_t
H5FedEndTraverseTriangles (
h5_file_t * const f
);
h5_err_t
H5FedEndTraverseElements (
h5_file_t * const f