- new adjacency API implemented

- some minor fixes
This commit is contained in:
2010-08-20 15:47:40 +00:00
parent d745498f3c
commit 21ba443bcd
4 changed files with 7 additions and 115 deletions
+1
View File
@@ -46,5 +46,6 @@ H5FedLinkMeshToStep (
h5_file_t* const f,
const h5_id_t mesh_id
) {
#pragma unused mesh_id
return h5_error_not_implemented (f, __FILE__, __func__, __LINE__);
}
+4 -113
View File
@@ -22,123 +22,14 @@
\return number of upward adjacent edges
*/
h5_err_t
H5FedGetEdgesUpAdjacentToVertex (
H5FedGetAdjacencies (
h5_file_t* const f,
const h5_id_t local_vid,
const h5_id_t entity_id,
const h5_int32_t dim,
h5_idlist_t** list
) {
SET_FNAME (f, __func__);
return h5t_get_edges_upadjacent_to_vertex (f, local_vid, list);
}
h5_err_t
H5FedGetTrianglesUpAdjacentToVertex (
h5_file_t* const f,
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);
}
h5_err_t
H5FedGetTetsUpAdjacentToVertex (
h5_file_t* const f,
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);
return h5t_get_adjacencies (f, entity_id, dim, list);
}
h5_err_t
+1 -1
View File
@@ -101,7 +101,7 @@ H5FedGetVertexCoordsByIndex (
}
h5_err_t
H5FedGetVertexCoordByID (
H5FedGetVertexCoordsByID (
h5_file_t* const f,
h5_id_t vertex_id,
h5_float64_t P[3]
+1 -1
View File
@@ -157,7 +157,7 @@ H5FedRefineElement (
const h5_id_t local_eid /*!< local element id */
) {
SET_FNAME (f, __func__);
return h5t_refine_elem (f, local_eid);
return h5t_mark_entity (f, local_eid);
}
h5_err_t