path adapted
This commit is contained in:
+1
-2
@@ -38,8 +38,7 @@
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <hdf5.h>
|
||||
#include "h5_core/h5_core.h"
|
||||
#include "h5_core/h5_core_private.h"
|
||||
#include "h5core/h5_core.h"
|
||||
#include "H5.h"
|
||||
|
||||
/****** General routines *****************************************************/
|
||||
|
||||
+2
-2
@@ -45,8 +45,8 @@
|
||||
|
||||
#include <hdf5.h>
|
||||
|
||||
#include "h5_core/h5_core.h"
|
||||
#include "h5_core/h5_core_private.h"
|
||||
#include "h5core/h5_core.h"
|
||||
#include "../h5core/h5_core_private.h"
|
||||
#include "H5Part.h"
|
||||
#include "H5Block.h"
|
||||
|
||||
|
||||
+1
-2
@@ -15,8 +15,7 @@
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <hdf5.h>
|
||||
#include "h5_core/h5_core.h"
|
||||
#include "h5_core/h5_core_private.h"
|
||||
#include "h5core/h5_core.h"
|
||||
#include "H5Fed.h"
|
||||
|
||||
h5_err_t
|
||||
|
||||
@@ -14,8 +14,7 @@
|
||||
*/
|
||||
|
||||
#include <hdf5.h>
|
||||
#include "h5_core/h5_types.h"
|
||||
#include "h5_core/h5_core.h"
|
||||
#include "h5core/h5_core.h"
|
||||
#include "H5Fed.h"
|
||||
|
||||
/****** UPWARD ADJACENCY routines *********************************************/
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <hdf5.h>
|
||||
#include "h5_core/h5_core.h"
|
||||
#include "h5core/h5_core.h"
|
||||
#include "H5Fed.h"
|
||||
|
||||
/*!
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <hdf5.h>
|
||||
#include "h5_core/h5_core.h"
|
||||
#include "h5core/h5_core.h"
|
||||
#include "H5Fed.h"
|
||||
|
||||
h5_err_t
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <hdf5.h>
|
||||
#include "h5_core/h5_core.h"
|
||||
#include "h5core/h5_core.h"
|
||||
#include "H5Fed.h"
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <hdf5.h>
|
||||
#include "h5_core/h5_core.h"
|
||||
#include "h5core/h5_core.h"
|
||||
#include "H5Fed.h"
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@
|
||||
|
||||
*/
|
||||
#include <hdf5.h>
|
||||
#include "h5_core/h5_core.h"
|
||||
#include "h5core/h5_core.h"
|
||||
#include "H5Fed.h"
|
||||
|
||||
/*!
|
||||
|
||||
+1
-2
@@ -15,8 +15,7 @@
|
||||
#define close _close
|
||||
#endif /* WIN32 */
|
||||
|
||||
#include "h5_core/h5_core.h"
|
||||
#include "h5_core/h5_errorhandling_private.h"
|
||||
#include "h5core/h5_core.h"
|
||||
#include "H5Part.h"
|
||||
|
||||
/********* Private Variable Declarations *************/
|
||||
|
||||
+1
-2
@@ -19,8 +19,7 @@
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <hdf5.h>
|
||||
#include "h5_core/h5_core.h"
|
||||
#include "h5_core/h5_core_private.h"
|
||||
#include "h5core/h5_core.h"
|
||||
#include "H5.h"
|
||||
|
||||
/*!
|
||||
|
||||
+10
-15
@@ -10,7 +10,7 @@ CC = @CC@
|
||||
HDFINC = -I$(HDF5ROOT)/include
|
||||
MPIINC = @MPIINC@
|
||||
|
||||
INC = $(HDFINC) ${MPIINC} -I./h5
|
||||
INC = $(HDFINC) ${MPIINC} -I../include
|
||||
|
||||
# H5Part header file location
|
||||
H5PINC = -I@prefix@/include
|
||||
@@ -43,13 +43,13 @@ EXTRA_LIBRARIES = libH5.a
|
||||
|
||||
# Header files that I wish to install in $(prefix)/include
|
||||
include_HEADERS = \
|
||||
H5.h \
|
||||
H5Block.h \
|
||||
H5Fed.h \
|
||||
H5Fed_map.h \
|
||||
H5Fed_store.h \
|
||||
H5Fed_tags.h \
|
||||
H5Part.h
|
||||
../include/H5.h \
|
||||
../include/H5Block.h \
|
||||
../include/H5Fed.h
|
||||
../include/H5Fed_map.h \
|
||||
../include/H5Fed_store.h \
|
||||
../include/H5Fed_tags.h \
|
||||
../include/H5Part.h
|
||||
|
||||
# Listing of all possible headers that I may include
|
||||
EXTRA_HEADERS =
|
||||
@@ -68,18 +68,13 @@ libH5_a_SOURCES = \
|
||||
H5Fed_tags.c \
|
||||
H5Part.c
|
||||
|
||||
SUBDIRS = h5_core bindings
|
||||
|
||||
libH5.a: $(libH5_a_OBJECTS)
|
||||
${AR} rucs $@ $^
|
||||
${AR} rucs ../lib/$@ $^
|
||||
|
||||
%.o : %.c
|
||||
$(CC) $(CFLAGS) $(INC) -c $<
|
||||
|
||||
H5Part.o: H5Part.c H5Part.h
|
||||
H5Block.o: H5Block.c H5Part.h H5Block.h
|
||||
|
||||
clean: clean-recursive
|
||||
clean:
|
||||
$(RM) -f *~ *.o *.a *.so
|
||||
|
||||
distclean: clean
|
||||
|
||||
+64
-67
@@ -29,42 +29,42 @@ HDFLIB = -L$(HDF5ROOT)/lib -lhdf5 -lz $(SZLIB) @LDFLAGS@
|
||||
# SZ LIBRARY
|
||||
SZLIB = @SZLIB@
|
||||
|
||||
EXTRA_HEADERS = \
|
||||
h5_attribs.h \
|
||||
h5_core.h \
|
||||
h5_errorhandling.h \
|
||||
h5_errorhandling_private.h \
|
||||
h5_fcmp_private.h \
|
||||
h5_hdf5_private.h \
|
||||
h5_hsearch_private.h \
|
||||
h5_maps.h \
|
||||
h5_mpi_private.h \
|
||||
h5_openclose.h \
|
||||
h5_qsort_private.h \
|
||||
h5_readwrite.h \
|
||||
h5_readwrite_private.h \
|
||||
h5_syscall_private.h \
|
||||
h5_types.h \
|
||||
h5b_errorhandling_private.h \
|
||||
h5t_adjacencies.h \
|
||||
h5t_tetm_adjacencies_private.h \
|
||||
h5t_consts_private.h \
|
||||
h5t_errorhandling_private.h \
|
||||
h5t_hsearch_private.h \
|
||||
h5t_inquiry.h \
|
||||
h5t_map.h \
|
||||
h5t_openclose.h \
|
||||
h5t_readwrite.h \
|
||||
h5t_readwrite_private.h \
|
||||
h5t_retrieve.h \
|
||||
h5t_retrieve_private.h \
|
||||
h5t_storemesh.h \
|
||||
h5t_storemesh_private.h \
|
||||
h5t_tags.h \
|
||||
h5t_tags_private.h \
|
||||
h5u_errorhandling_private.h \
|
||||
h5u_readwrite.h \
|
||||
hdf5_misc.h
|
||||
EXTRA_HEADERS = \
|
||||
../include/h5core/h5_attribs.h \
|
||||
../include/h5core/h5_core.h \
|
||||
../include/h5core/h5_errorhandling.h \
|
||||
../include/h5core/h5_maps.h \
|
||||
../include/h5core/h5_openclose.h \
|
||||
../include/h5core/h5_readwrite.h \
|
||||
../include/h5core/h5_types.h \
|
||||
../include/h5core/h5t_adjacencies.h \
|
||||
../include/h5core/h5t_inquiry.h \
|
||||
../include/h5core/h5t_map.h \
|
||||
../include/h5core/h5t_openclose.h \
|
||||
../include/h5core/h5t_readwrite.h \
|
||||
../include/h5core/h5t_retrieve.h \
|
||||
../include/h5core/h5t_storemesh.h \
|
||||
../include/h5core/h5t_tags.h \
|
||||
../include/h5core/h5u_readwrite.h \
|
||||
../include/h5core/hdf5_misc.h \
|
||||
h5_errorhandling_private.h \
|
||||
h5_fcmp_private.h \
|
||||
h5_hdf5_private.h \
|
||||
h5_hsearch_private.h \
|
||||
h5_mpi_private.h \
|
||||
h5_qsort_private.h \
|
||||
h5_readwrite_private.h \
|
||||
h5_syscall_private.h \
|
||||
h5b_errorhandling_private.h \
|
||||
h5t_consts_private.h \
|
||||
h5t_errorhandling_private.h \
|
||||
h5t_hsearch_private.h \
|
||||
h5t_readwrite_private.h \
|
||||
h5t_retrieve_private.h \
|
||||
h5t_storemesh_private.h \
|
||||
h5t_tags_private.h \
|
||||
h5t_tetm_adjacencies_private.h \
|
||||
h5u_errorhandling_private.h
|
||||
|
||||
# Extra files that I wish to include in the dist tar ball.
|
||||
EXTRA_DIST = $(EXTRA_HEADERS)
|
||||
@@ -82,48 +82,45 @@ EXTRA_LIBRARIES = libH5Core.a
|
||||
include_HEADERS =
|
||||
|
||||
# Listing of sources
|
||||
libH5Core_a_SOURCES = \
|
||||
h5_attribs.c \
|
||||
h5_errorhandling.c \
|
||||
h5_fcmp.c \
|
||||
h5_hdf5.c \
|
||||
h5_hsearch.c \
|
||||
h5_maps.c \
|
||||
h5_mpi.c \
|
||||
h5_openclose.c \
|
||||
h5_qsort.c \
|
||||
h5_qsort_r.c \
|
||||
h5_readwrite.c \
|
||||
h5_syscall.c \
|
||||
h5t_adjacencies.c \
|
||||
h5t_tetm_adjacencies.c \
|
||||
h5t_consts.c \
|
||||
h5t_errorhandling.c \
|
||||
h5t_hsearch.c \
|
||||
h5t_inquiry.c \
|
||||
h5t_map.c \
|
||||
h5t_openclose.c \
|
||||
h5t_readwrite.c \
|
||||
h5t_retrieve.c \
|
||||
h5t_storemesh.c \
|
||||
h5t_tags.c \
|
||||
h5u_readwrite.c \
|
||||
libH5Core_a_SOURCES = \
|
||||
h5_attribs.c \
|
||||
h5_errorhandling.c \
|
||||
h5_fcmp.c \
|
||||
h5_hdf5.c \
|
||||
h5_hsearch.c \
|
||||
h5_maps.c \
|
||||
h5_mpi.c \
|
||||
h5_openclose.c \
|
||||
h5_qsort.c \
|
||||
h5_qsort_r.c \
|
||||
h5_readwrite.c \
|
||||
h5_syscall.c \
|
||||
h5t_adjacencies.c \
|
||||
h5t_consts.c \
|
||||
h5t_errorhandling.c \
|
||||
h5t_hsearch.c \
|
||||
h5t_inquiry.c \
|
||||
h5t_map.c \
|
||||
h5t_openclose.c \
|
||||
h5t_readwrite.c \
|
||||
h5t_retrieve.c \
|
||||
h5t_storemesh.c \
|
||||
h5t_tags.c \
|
||||
h5t_tetm_adjacencies.c \
|
||||
h5u_readwrite.c \
|
||||
hdf5_misc.c
|
||||
|
||||
libH5Core_a_DEPENDENCIES = $(EXTRA_HEADERS)
|
||||
|
||||
all: libH5Core.a
|
||||
|
||||
libH5Core.a: $(libH5_core_a_OBJECTS)
|
||||
echo $(libH5_a_OBJECTS)
|
||||
libH5Core.a: $(libH5Core_a_OBJECTS)
|
||||
${AR} rucs ../lib/$@ $^
|
||||
|
||||
%.o : %.c
|
||||
$(CC) $(CFLAGS) $(INC) -c $<
|
||||
|
||||
$(libH5Core_a_OBJECTS): $(libH5_core_a_DEPENDENCIES)
|
||||
|
||||
#errorhandling.o: errorhandling.c
|
||||
$(libH5Core_a_OBJECTS): $(libH5Core_a_DEPENDENCIES)
|
||||
|
||||
clean:
|
||||
$(RM) -f *~ *.o *.a *.so
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include <hdf5.h>
|
||||
|
||||
#include "h5_core/h5_core.h"
|
||||
#include "h5_core/h5_core_private.h"
|
||||
#include "h5core/h5_core.h"
|
||||
#include "h5_core_private.h"
|
||||
|
||||
/****** G r o u p ************************************************************/
|
||||
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
#include <hdf5.h>
|
||||
|
||||
#include "h5_core/h5_core.h"
|
||||
#include "h5_core/h5_core_private.h"
|
||||
#include "h5core/h5_core.h"
|
||||
#include "h5_core_private.h"
|
||||
|
||||
#ifdef PARALLEL_IO
|
||||
h5_err_t
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
#include <search.h>
|
||||
#include <time.h>
|
||||
#include <hdf5.h>
|
||||
#include "h5_core/h5_core.h"
|
||||
#include "h5_core/h5_core_private.h"
|
||||
#include "h5core/h5_core.h"
|
||||
#include "h5_core_private.h"
|
||||
|
||||
h5_err_t
|
||||
h5t_get_edges_upadjacent_to_vertex (
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "h5_core/h5_core.h"
|
||||
#include "h5_core/h5_core_private.h"
|
||||
#include "h5core/h5_core.h"
|
||||
#include "h5_core_private.h"
|
||||
|
||||
static int
|
||||
_cmp_te_entries (
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
#include <fcntl.h>
|
||||
#include <hdf5.h>
|
||||
|
||||
#include "h5_core/h5_core.h"
|
||||
#include "h5_core/h5_core_private.h"
|
||||
#include "h5core/h5_core.h"
|
||||
#include "h5_core_private.h"
|
||||
|
||||
/*!
|
||||
Get number of meshes of given type.
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#include <string.h>
|
||||
#include <hdf5.h>
|
||||
|
||||
#include "h5_core/h5_core.h"
|
||||
#include "h5_core/h5_core_private.h"
|
||||
#include "h5core/h5_core.h"
|
||||
#include "h5_core_private.h"
|
||||
|
||||
/*
|
||||
Mapping of global to local id's:
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
#include <fcntl.h>
|
||||
#include <hdf5.h>
|
||||
|
||||
#include "h5_core/h5_core.h"
|
||||
#include "h5_core/h5_core_private.h"
|
||||
#include "h5core/h5_core.h"
|
||||
#include "h5_core_private.h"
|
||||
|
||||
static struct h5t_methods tet_funcs = {
|
||||
h5tpriv_alloc_tets,
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
#include <fcntl.h>
|
||||
#include <hdf5.h>
|
||||
|
||||
#include "h5_core/h5_core.h"
|
||||
#include "h5_core/h5_core_private.h"
|
||||
#include "h5core/h5_core.h"
|
||||
#include "h5_core_private.h"
|
||||
|
||||
static hid_t
|
||||
_open_space_all (
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "h5_core/h5_core.h"
|
||||
#include "h5_core/h5_core_private.h"
|
||||
#include "h5core/h5_core.h"
|
||||
#include "h5_core_private.h"
|
||||
|
||||
/*
|
||||
Skip elements which have been refined on a level <= the current one.
|
||||
@@ -218,6 +218,8 @@ h5t_traverse_triangles (
|
||||
return td->value.items[0];
|
||||
}
|
||||
|
||||
|
||||
#if 0
|
||||
/*!
|
||||
Function for traversing entities with 0 < co-dim < co-dim(vertex).
|
||||
In a tetrahedral mesh this means edges and triangle, in triangle
|
||||
@@ -276,6 +278,7 @@ h5t_traverse_faces (
|
||||
|
||||
return td->value.items[0];
|
||||
}
|
||||
#endif
|
||||
|
||||
h5_err_t
|
||||
h5t_end_traverse_triangles (
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
#include <string.h>
|
||||
#include <hdf5.h>
|
||||
|
||||
#include "h5_core/h5_core.h"
|
||||
#include "h5_core/h5_core_private.h"
|
||||
#include "h5core/h5_core.h"
|
||||
#include "h5_core_private.h"
|
||||
|
||||
/*!
|
||||
Add new mesh
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
#include <string.h>
|
||||
#include <hdf5.h>
|
||||
|
||||
#include "h5_core/h5_core.h"
|
||||
#include "h5_core/h5_core_private.h"
|
||||
#include "h5core/h5_core.h"
|
||||
#include "h5_core_private.h"
|
||||
|
||||
/*
|
||||
To discuss:
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
#include <search.h>
|
||||
#include <time.h>
|
||||
#include <hdf5.h>
|
||||
#include "h5_core/h5_core.h"
|
||||
#include "h5_core/h5_core_private.h"
|
||||
#include "h5core/h5_core.h"
|
||||
#include "h5_core_private.h"
|
||||
|
||||
/*
|
||||
compute T(V) from current level up to highest levels.
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
#include <fcntl.h>
|
||||
#include <hdf5.h>
|
||||
|
||||
#include "h5_core/h5_core.h"
|
||||
#include "h5_core/h5_core_private.h"
|
||||
#include "h5core/h5_core.h"
|
||||
#include "h5_core_private.h"
|
||||
|
||||
h5_int64_t
|
||||
h5u_has_view (
|
||||
|
||||
+26
-26
@@ -10,47 +10,47 @@ extern "C" {
|
||||
|
||||
*/
|
||||
|
||||
h5_int64_t
|
||||
h5_err_t
|
||||
H5BlockDefine3DFieldLayout (
|
||||
h5_file_t *f,
|
||||
const h5_int64_t i_start,
|
||||
const h5_int64_t i_end,
|
||||
const h5_int64_t j_start,
|
||||
const h5_int64_t j_end,
|
||||
const h5_int64_t k_start,
|
||||
const h5_int64_t k_end
|
||||
const h5_size_t i_start,
|
||||
const h5_size_t i_end,
|
||||
const h5_size_t j_start,
|
||||
const h5_size_t j_end,
|
||||
const h5_size_t k_start,
|
||||
const h5_size_t k_end
|
||||
);
|
||||
|
||||
h5_int64_t
|
||||
h5_err_t
|
||||
H5Block3dGetPartitionOfProc (
|
||||
h5_file_t *f,
|
||||
const h5_int64_t proc,
|
||||
h5_int64_t *i_start,
|
||||
h5_int64_t *i_end,
|
||||
h5_int64_t *j_start,
|
||||
h5_int64_t *j_end,
|
||||
h5_int64_t *k_start,
|
||||
h5_int64_t *k_end
|
||||
h5_size_t *i_start,
|
||||
h5_size_t *i_end,
|
||||
h5_size_t *j_start,
|
||||
h5_size_t *j_end,
|
||||
h5_size_t *k_start,
|
||||
h5_size_t *k_end
|
||||
);
|
||||
|
||||
h5_int64_t
|
||||
h5_err_t
|
||||
H5Block3dGetReducedPartitionOfProc (
|
||||
h5_file_t *f,
|
||||
h5_int64_t proc,
|
||||
h5_int64_t *i_start,
|
||||
h5_int64_t *i_end,
|
||||
h5_int64_t *j_start,
|
||||
h5_int64_t *j_end,
|
||||
h5_int64_t *k_start,
|
||||
h5_int64_t *k_end
|
||||
h5_id_t proc,
|
||||
h5_size_t *i_start,
|
||||
h5_size_t *i_end,
|
||||
h5_size_t *j_start,
|
||||
h5_size_t *j_end,
|
||||
h5_size_t *k_start,
|
||||
h5_size_t *k_end
|
||||
);
|
||||
|
||||
h5_int64_t
|
||||
h5_id_t
|
||||
H5Block3dGetProcOf (
|
||||
h5_file_t *f,
|
||||
h5_int64_t i,
|
||||
h5_int64_t j,
|
||||
h5_int64_t k
|
||||
h5_size_t i,
|
||||
h5_size_t j,
|
||||
h5_size_t k
|
||||
);
|
||||
|
||||
h5_int64_t
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "h5_core/h5_core.h"
|
||||
#include "h5core/h5_core.h"
|
||||
#include "H5.h"
|
||||
#ifdef PARALLEL_IO
|
||||
#include <mpi.h>
|
||||
|
||||
@@ -12,7 +12,7 @@ h5t_add_level (
|
||||
h5_file_t * const f
|
||||
);
|
||||
|
||||
h5_size_t
|
||||
h5_err_t
|
||||
h5t_begin_store_vertices (
|
||||
h5_file_t * const f,
|
||||
const h5_size_t num
|
||||
|
||||
@@ -7,8 +7,8 @@ h5_err_t h5t_add_mtagset ( h5_file_t* const f, char name[], h5_id_t id );
|
||||
h5_err_t h5t_remove_mtagset ( h5_file_t* const f, const char name[] );
|
||||
h5_err_t h5t_open_mtagset ( h5_file_t* const f, const char *name,
|
||||
H5T_Tagset** retval );
|
||||
h5_size_t h5t_get_num_mtagsets ( h5_file_t* const f );
|
||||
h5_size_t h5t_get_mtagsets ( h5_file_t* const f, char** names[] );
|
||||
h5_ssize_t h5t_get_num_mtagsets ( h5_file_t* const f );
|
||||
h5_ssize_t h5t_get_mtagsets ( h5_file_t* const f, char** names[] );
|
||||
h5_err_t h5t_get_mtagset_info ( h5_file_t* const f, const h5_id_t idx,
|
||||
char** names, h5_id_t* type );
|
||||
h5_id_t h5t_get_mtagset_type_by_name ( h5_file_t* const f, char name[] );
|
||||
|
||||
Reference in New Issue
Block a user