h5t_close_mesh() is a public API function now

This commit is contained in:
2010-05-19 07:31:45 +00:00
parent 6bdf9d2117
commit 5ce0374892
4 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ h5_err_t
H5FedCloseMesh (
h5_file_t * const f
) {
return h5_error_not_implemented ( f, __FILE__, __func__, __LINE__ );
return h5t_close_mesh (f);
}
h5_err_t
+1
View File
@@ -3,6 +3,7 @@
#define H5T_CONTAINER_GRPNAME "Topo"
#include "h5t_openclose_private.h"
#include "h5t_tetm_adjacencies_private.h"
#include "h5t_tetm_retrieve_private.h"
#include "h5t_tetm_store_private.h"
+3 -3
View File
@@ -372,7 +372,7 @@ h5_err_t
h5tpriv_close_file (
h5_file_t *f /*!< IN: file handle */
) {
TRY ( h5tpriv_close_mesh ( f ) );
TRY ( h5t_close_mesh ( f ) );
return H5_SUCCESS;
}
@@ -453,7 +453,7 @@ h5t_open_mesh (
) {
h5t_fdata_t *t = f->t;
TRY( h5tpriv_close_mesh ( f ) );
TRY( h5t_close_mesh ( f ) );
if ( t->num_meshes < 0 ) {
h5_size_t result = h5t_get_num_meshes ( f, type );
@@ -542,7 +542,7 @@ _release_memory (
}
h5_err_t
h5tpriv_close_mesh (
h5t_close_mesh (
h5_file_t * const f
) {
TRY( h5tpriv_write_mesh ( f ) );
+1 -1
View File
@@ -5,13 +5,13 @@
h5_err_t h5t_open_mesh ( h5_file_t * const f, const h5_id_t id,
const h5_oid_t type );
h5_err_t h5t_open_level ( h5_file_t * const f, const h5_id_t id );
h5_err_t h5t_close_mesh ( h5_file_t * const f );
h5_err_t h5tpriv_open_file ( h5_file_t * const f );
h5_err_t h5tpriv_close_file ( h5_file_t * const f );
h5_err_t h5tpriv_open_topo_group ( h5_file_t * const f );
h5_err_t h5tpriv_open_meshes_group ( h5_file_t * const f );
h5_err_t h5tpriv_open_mesh_group ( h5_file_t * const f );
h5_err_t h5tpriv_close_mesh ( h5_file_t * const f );
h5_err_t h5tpriv_close_step ( h5_file_t * const f );
h5_err_t h5tpriv_init_fdata ( h5_file_t * const f );