dedicated function to add triangle and tetrahedral meshes added
This commit is contained in:
@@ -17,6 +17,9 @@
|
||||
#include "H5Fed.h"
|
||||
|
||||
|
||||
/*
|
||||
Depricated! Please use H5FedAddTetrahedralMesh() or H5FedAddTriangleMesh().
|
||||
*/
|
||||
h5_id_t
|
||||
H5FedAddMesh (
|
||||
h5_file_t* const f,
|
||||
@@ -26,6 +29,24 @@ H5FedAddMesh (
|
||||
H5_API_RETURN (h5t_add_mesh (f, mesh_type_id));
|
||||
}
|
||||
|
||||
h5_id_t
|
||||
H5FedAddTetrahedralMesh (
|
||||
h5_file_t* const f
|
||||
) {
|
||||
const h5_oid_t mesh_type_id = H5_TETRAHEDRAL_MESH;
|
||||
H5_API_ENTER2 (h5_id_t, "f=0x%p, mesh_type_id=%u", f, mesh_type_id);
|
||||
H5_API_RETURN (h5t_add_mesh (f, mesh_type_id));
|
||||
}
|
||||
|
||||
h5_id_t
|
||||
H5FedAddTriangleMesh (
|
||||
h5_file_t* const f
|
||||
) {
|
||||
const h5_oid_t mesh_type_id = H5_TRIANGLE_MESH;
|
||||
H5_API_ENTER2 (h5_id_t, "f=0x%p, mesh_type_id=%u", f, mesh_type_id);
|
||||
H5_API_RETURN (h5t_add_mesh (f, mesh_type_id));
|
||||
}
|
||||
|
||||
/*!
|
||||
\ingroup h5fed_c_api
|
||||
|
||||
|
||||
@@ -23,12 +23,23 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* depricated! use explicit versions */
|
||||
h5_id_t
|
||||
H5FedAddMesh (
|
||||
h5_file_t * const f,
|
||||
const h5_oid_t mesh_type_id
|
||||
);
|
||||
|
||||
h5_id_t
|
||||
H5FedAddTetrahedralMesh (
|
||||
h5_file_t * const f
|
||||
);
|
||||
|
||||
h5_id_t
|
||||
H5FedAddTriangleMesh (
|
||||
h5_file_t * const f
|
||||
);
|
||||
|
||||
h5t_lvl_idx_t
|
||||
H5FedAddLevel (
|
||||
h5_file_t * const f
|
||||
|
||||
Reference in New Issue
Block a user