...
 
Commits (338)
This diff is collapsed.
*.tar.gz
*.[oa]
*.la
*.lo
*.so
*.dSYM
*~
*.h5
.deps
.dirstamp
.libs
CMakeFiles
INSTALL
Makefile
Makefile.in
aclocal.m4
attach_field_attributes
dump_field_attributes
autom4te.cache/
compile
config.guess
config.h
config.h.in
config.log
config.status
config.sub
configure
depcomp
py-compile
examples/H5/attach_file
examples/H5/examples.h
examples/H5/h5hut.mod
examples/H5/openclose
examples/H5/openclosef
examples/H5/query
examples/H5/queryf
examples/H5/read_file_attribs
examples/H5/read_file_attribsf
examples/H5/read_step_attribs
examples/H5/read_step_attribsf
examples/H5/write_file_attribs
examples/H5/write_file_attribsf
examples/H5/write_step_attribs
examples/H5/write_step_attribsf
examples/H5Block/H5BlockExampleF
examples/H5Block/fields
examples/H5Block/read_write
examples/H5Part/Bench
examples/H5Part/H5test
examples/H5Part/H5testF
examples/H5Part/core_vfd
examples/H5Part/examples.h
examples/H5Part/h5hut.mod
examples/H5Part/particles
examples/H5Part/read_canonicalview
examples/H5Part/read_setnparticles
examples/H5Part/read_setview
examples/H5Part/read_strided
examples/H5Part/write_core_vfd
examples/H5Part/write_setnparticles
examples/H5Part/write_setnumparticles
examples/H5Part/write_setview
examples/H5Part/write_setviewf
examples/H5Part/write_strided
has_field
install-sh
libtool
ltmain.sh
m4/
missing
src/Fortran/TestUnderscore
src/Fortran/Underscore.h
src/include/H5hut.f
src/include/H5hutF.h
stamp-h1
test/h5b_test
test/h5u_test
test/h5_attach_test
tools/h5hutcc
tetmesh_adjacencies
tetmesh_read
tetmesh_read_tags
tetmesh_write
tetmesh_write1
examples/H5Fed/tetmesh_write2
examples/H5Fed/trimesh_2gnuplot
examples/H5Fed/trimesh_adjacencies
examples/H5Fed/trimesh_read
examples/H5Fed/trimesh_write
examples/H5Fed/trimesh_write_dunetest
tetmesh_write_tags
write_field
*.gch
ReferencePages
vtk2h5grid
Andreas Adelmann (PSI)
Achim Gsell (PSI)
Benedikt Oswald (PSI)
Wes Bethel (NERSC/LBNL)
John Shalf (NERSC/LBNL)
Cristina Siegerist (NERSC/LBNL)
Please use h5part@lists.psi.ch for communication.
*** Copyright Notice ***
H5hut Copyright (c) 2006-2016, The Regents of the University of California,
through Lawrence Berkeley National Laboratory (subject to receipt of any
required approvals from the U.S. Dept. of Energy) and the Paul Scherrer
Institut (Switzerland). All rights reserved.
If you have questions about your rights to use or distribute this
software, please contact Berkeley Lab's Technology Transfer Department
at TTD@lbl.gov referring to "H5Part (LBNL Ref CR-2255)"
NOTICE. This software was developed under partial funding from the U.S.
Department of Energy. As such, the U.S. Government has been granted for
itself and others acting on its behalf a paid-up, nonexclusive,
irrevocable, worldwide license in the Software to reproduce, prepare
derivative works, and perform publicly and display publicly. Beginning
five (5) years after the date permission to assert copyright is obtained
from the U.S. Department of Energy, and subject to any subsequent five
(5) year renewals, the U.S. Government is granted for itself and others
acting on its behalf a paid-up, nonexclusive, irrevocable, worldwide
license in the Software to reproduce, prepare derivative works,
distribute copies to the public, perform publicly and display publicly,
and to permit others to do so.
*** License agreement ***
H5hut Copyright (c) 2006-2016, The Regents of the University of California,
through Lawrence Berkeley National Laboratory (subject to receipt of any
required approvals from the U.S. Dept. of Energy) and the Paul Scherrer
Institut (Switzerland). All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
(1) Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
(2) Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
(3) Neither the name of the University of California, Lawrence Berkeley
National Laboratory, U.S. Dept. of Energy, Paul Scherrer Institut
(Switzerland) nor the names of its contributors may be used to endorse
or promote products derived from this software without specific prior
written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
You are under no obligation whatsoever to provide any bug fixes,
patches, or upgrades to the features, functionality or performance of
the source code ("Enhancements") to anyone; however, if you choose to
make your Enhancements available either publicly, or directly to
Lawrence Berkeley National Laboratory, without imposing a separate
written license agreement for such Enhancements, then you hereby grant
the following license: a non-exclusive, royalty-free perpetual license
to install, use, modify, prepare derivative works, incorporate into
other computer software, distribute, and sublicense such enhancements or
derivative works thereof, in binary and source code form.
2018-09-14 Gsell Achim <achi.gsell@psi.ch>
* C-API
- H5PartSetNumPoints() renamed to H5PartSetNumItems()
- H5PartGetNumPoints() renamed to H5PartGetNumItems()
- Dataset names longer then 64 bytes are handled as error.
- Same for step/iteration names.
* core API
- we use the term 'iteration' instead of 'step'
- we use the term 'item' instead of 'point'
- re-factor function and variable names
- in printing messages/debug output fixed
- do not flush (sync to disk) after writing a dataset by default,
can be controlled by a property
ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = \
autogen.sh \
ax_pkg_swig.m4
SUBDIRS = \
src \
test \
tools \
doc \
examples/H5 \
examples/H5Part \
examples/H5Block \
examples/H5Fed
MAINTAINERCLEANFILES = \
config.h \
config.log \
config.status \
stamp-h.in \
stamp-h1
This diff is collapsed.
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
ACLOCAL_FLAGS="-I m4 -I . $ACLOCAL_FLAGS"
LIBTOOLIZE_FLAGS="--force $LIBTOOLIZE_FLAGS"
AUTOMAKE_FLAGS="--add-missing --copy --foreign $AUTOMAKE_FLAGS"
LIBTOOLIZE=`which libtoolize`
if [ "$LIBTOOLIZE" = "" ]; then
LIBTOOLIZE=`which glibtoolize`
fi
if [ "$LIBTOOLIZE" = "" ]; then
echo "libtoolize not found" 1>&2
exit 1
fi
echo "+ making misc files ..."
touch NEWS README AUTHORS ChangeLog
echo
$LIBTOOLIZE $LIBTOOLIZE_FLAGS || {
echo "libtoolize failed"
exit 1
}
echo
echo "+ running aclocal ..."
aclocal $ACLOCAL_FLAGS || {
echo "aclocal failed - check that all needed development files are present on system"
exit 1
}
echo
echo "+ running autoheader ... "
autoheader || {
echo "autoheader failed"
exit 1
}
echo
echo "+ running autoconf ... "
autoconf || {
echo "autoconf failed"
exit 1
}
echo
echo "+ running automake ... "
automake $AUTOMAKE_FLAGS || {
echo "automake failed"
exit 1
}
This diff is collapsed.
# =============================================================================
# https://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx_11.html
# =============================================================================
#
# SYNOPSIS
#
# AX_CXX_COMPILE_STDCXX_11([ext|noext], [mandatory|optional])
#
# DESCRIPTION
#
# Check for baseline language coverage in the compiler for the C++11
# standard; if necessary, add switches to CXX and CXXCPP to enable
# support.
#
# This macro is a convenience alias for calling the AX_CXX_COMPILE_STDCXX
# macro with the version set to C++11. The two optional arguments are
# forwarded literally as the second and third argument respectively.
# Please see the documentation for the AX_CXX_COMPILE_STDCXX macro for
# more information. If you want to use this macro, you also need to
# download the ax_cxx_compile_stdcxx.m4 file.
#
# LICENSE
#
# Copyright (c) 2008 Benjamin Kosnik <bkoz@redhat.com>
# Copyright (c) 2012 Zack Weinberg <zackw@panix.com>
# Copyright (c) 2013 Roy Stogner <roystgnr@ices.utexas.edu>
# Copyright (c) 2014, 2015 Google Inc.; contributed by Alexey Sokolov <sokolov@google.com>
# Copyright (c) 2015 Paul Norman <penorman@mac.com>
# Copyright (c) 2015 Moritz Klammler <moritz@klammler.eu>
#
# Copying and distribution of this file, with or without modification, are
# permitted in any medium without royalty provided the copyright notice
# and this notice are preserved. This file is offered as-is, without any
# warranty.
#serial 18
AX_REQUIRE_DEFINED([AX_CXX_COMPILE_STDCXX])
AC_DEFUN([AX_CXX_COMPILE_STDCXX_11], [AX_CXX_COMPILE_STDCXX([11], [$1], [$2])])
# ===========================================================================
# http://www.gnu.org/software/autoconf-archive/ax_pkg_swig.html
# ===========================================================================
#
# SYNOPSIS
#
# AX_PKG_SWIG([major.minor.micro], [action-if-found], [action-if-not-found])
#
# DESCRIPTION
#
# This macro searches for a SWIG installation on your system. If found,
# then SWIG is AC_SUBST'd; if not found, then $SWIG is empty. If SWIG is
# found, then SWIG_LIB is set to the SWIG library path, and AC_SUBST'd.
#
# You can use the optional first argument to check if the version of the
# available SWIG is greater than or equal to the value of the argument. It
# should have the format: N[.N[.N]] (N is a number between 0 and 999. Only
# the first N is mandatory.) If the version argument is given (e.g.
# 1.3.17), AX_PKG_SWIG checks that the swig package is this version number
# or higher.
#
# As usual, action-if-found is executed if SWIG is found, otherwise
# action-if-not-found is executed.
#
# In configure.in, use as:
#
# AX_PKG_SWIG(1.3.17, [], [ AC_MSG_ERROR([SWIG is required to build..]) ])
# AX_SWIG_ENABLE_CXX
# AX_SWIG_MULTI_MODULE_SUPPORT
# AX_SWIG_PYTHON
#
# LICENSE
#
# Copyright (c) 2008 Sebastian Huber <sebastian-huber@web.de>
# Copyright (c) 2008 Alan W. Irwin
# Copyright (c) 2008 Rafael Laboissiere <rafael@laboissiere.net>
# Copyright (c) 2008 Andrew Collier
# Copyright (c) 2011 Murray Cumming <murrayc@openismus.com>
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 2 of the License, or (at your
# option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
# Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program. If not, see <http://www.gnu.org/licenses/>.
#
# As a special exception, the respective Autoconf Macro's copyright owner
# gives unlimited permission to copy, distribute and modify the configure
# scripts that are the output of Autoconf when processing the Macro. You
# need not follow the terms of the GNU General Public License when using
# or distributing such scripts, even though portions of the text of the
# Macro appear in them. The GNU General Public License (GPL) does govern
# all other use of the material that constitutes the Autoconf Macro.
#
# This special exception to the GPL applies to versions of the Autoconf
# Macro released by the Autoconf Archive. When you make and distribute a
# modified version of the Autoconf Macro, you may extend this special
# exception to the GPL to apply to your modified version as well.
#serial 11
AC_DEFUN([AX_PKG_SWIG],[
# Ubuntu has swig 2.0 as /usr/bin/swig2.0
AC_PATH_PROGS([SWIG],[swig swig2.0])
if test -z "$SWIG" ; then
m4_ifval([$3],[$3],[:])
elif test -n "$1" ; then
AC_MSG_CHECKING([SWIG version])
[swig_version=`$SWIG -version 2>&1 | grep 'SWIG Version' | sed 's/.*\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*/\1/g'`]
AC_MSG_RESULT([$swig_version])
if test -n "$swig_version" ; then
# Calculate the required version number components
[required=$1]
[required_major=`echo $required | sed 's/[^0-9].*//'`]
if test -z "$required_major" ; then
[required_major=0]
fi
[required=`echo $required | sed 's/[0-9]*[^0-9]//'`]
[required_minor=`echo $required | sed 's/[^0-9].*//'`]
if test -z "$required_minor" ; then
[required_minor=0]
fi
[required=`echo $required | sed 's/[0-9]*[^0-9]//'`]
[required_patch=`echo $required | sed 's/[^0-9].*//'`]
if test -z "$required_patch" ; then
[required_patch=0]
fi
# Calculate the available version number components
[available=$swig_version]
[available_major=`echo $available | sed 's/[^0-9].*//'`]
if test -z "$available_major" ; then
[available_major=0]
fi
[available=`echo $available | sed 's/[0-9]*[^0-9]//'`]
[available_minor=`echo $available | sed 's/[^0-9].*//'`]
if test -z "$available_minor" ; then
[available_minor=0]
fi
[available=`echo $available | sed 's/[0-9]*[^0-9]//'`]
[available_patch=`echo $available | sed 's/[^0-9].*//'`]
if test -z "$available_patch" ; then
[available_patch=0]
fi
# Convert the version tuple into a single number for easier comparison.
# Using base 100 should be safe since SWIG internally uses BCD values
# to encode its version number.
required_swig_vernum=`expr $required_major \* 10000 \
\+ $required_minor \* 100 \+ $required_patch`
available_swig_vernum=`expr $available_major \* 10000 \
\+ $available_minor \* 100 \+ $available_patch`
if test $available_swig_vernum -lt $required_swig_vernum; then
AC_MSG_WARN([SWIG version >= $1 is required. You have $swig_version.])
SWIG=''
m4_ifval([$3],[$3],[])
else
AC_MSG_CHECKING([for SWIG library])
SWIG_LIB=`$SWIG -swiglib`
AC_MSG_RESULT([$SWIG_LIB])
m4_ifval([$2],[$2],[])
fi
else
AC_MSG_WARN([cannot determine SWIG version])
SWIG=''
m4_ifval([$3],[$3],[])
fi
fi
AC_SUBST([SWIG_LIB])
])
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
NumLevels: 2
NumVerticesOnLevel: 11 20 29
Vertices:
1 0.0 0.0
2 60.0 -70.0
3 90.0 -10.0
4 140.0 -70.0
5 180.0 -10.0
6 240.0 -60.0
7 220.0 60.0
8 140.0 90.0
9 200.0 120.0
10 130.0 150.0
11 50.0 80.0
12 115.0 40.0
13 95.0 85.0
14 70.0 35.0
15 160.0 -40.0
16 135.0 -10.0
17 115.0 -40.0
18 200.0 25.0
19 180.0 75.0
20 160.0 40.0
21 125.0 15.0
22 112.5 -10.0
23 102.5 15.0
24 147.5 15.0
25 137.5 40.0
26 150.0 65.0
27 127.5 65.0
28 117.5 87.5
29 105.0 62.5
NumElemsOnLevel: 12 24 36
NumElems: 12 28 44
Elements:
ID PID CID VertexIDs Adj Translation Tbl (dim num lvls - 1)
1 -1 -1 1 2 3 2 11 -1 1
2 -1 -1 2 3 4 3 -1 1 2
3 -1 12 3 4 5 4 12 2 -1
4 -1 -1 4 5 6 5 -1 3 3
5 -1 -1 5 7 6 -1 4 6 4
6 -1 17 8 5 7 5 7 12 -1
7 -1 -1 8 9 7 -1 6 8 5
8 -1 -1 10 8 9 7 -1 9 6
9 -1 -1 11 10 8 8 10 -1 7
10 -1 25 11 3 8 12 9 11 -1
11 -1 -1 1 11 3 10 1 -1 8
12 -1 21 3 8 5 6 3 10 -1
13 3 -1 3 14 13 16 21 2 9
14 3 -1 14 4 12 4 16 2 10
15 3 -1 13 12 5 4 23 16 11
16 3 -1 14 13 12 15 14 13 12
17 6 -1 8 17 16 20 5 22 13
18 6 -1 17 5 15 5 20 23 14
19 6 -1 16 15 7 5 7 20 15
20 6 -1 17 16 15 19 18 17 16
21 12 -1 3 18 13 24 13 26 17
22 12 -1 18 8 17 17 24 27 18
23 12 -1 13 17 5 18 15 24 19
24 12 -1 18 13 17 23 22 21 20
25 10 -1 11 20 19 28 9 11 21
26 10 -1 20 3 18 21 28 11 22
27 10 -1 19 18 8 22 9 28 23
28 10 -1 20 3 18 27 26 25 24
3,0 3,1 4,2 2,3 16,4
1 2 -1 3 4
1 2 3
1 3 6
2 11 1 13 14
# vtk DataFile Version 2.0
VTK LEGACY FILE FORMAT ASCII - tetrahedral sample file for H5FED test
ASCII
DATASET UNSTRUCTURED_GRID
POINTS 17 DOUBLE
-1 0 0
1 0 0
0 1 0
0 0 1
0 -1 0
-0.5 0 0.5
-0.5 0.5 0
0 0 0
0 0.5 0.5
0.5 0 0.5
0.5 0.5 0
-0.75 0 0.25
-0.75 0.25 0
-0.5 0 0
-0.5 0.25 0.25
-0.25 0 0.25
-0.25 0.25 0
CELLS 18 90
4 0 3 2 1
4 0 4 3 1
4 0 5 6 7
4 5 3 8 9
4 6 8 2 10
4 7 9 10 1
4 5 6 7 9
4 5 6 8 9
4 6 7 9 10
4 6 8 9 10
4 0 11 12 13
4 11 5 14 15
4 12 14 6 16
4 13 15 16 7
4 11 12 13 15
4 11 12 14 15
4 12 13 15 16
4 12 14 15 16
CELL_TYPES 18
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
POINT_DATA 17
SCALARS vertex_id int 1
LOOKUP_TABLE default
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
CELL_DATA 18
SCALARS cell_attribute_data int 1
LOOKUP_TABLE default
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# vtk DataFile Version 2.0
VTK LEGACY FILE FORMAT ASCII - tetrahedral sample file for H5FED test
ASCII
DATASET UNSTRUCTURED_GRID
POINTS 17 DOUBLE
-1 0 0
1 0 0
0 1 0
0 0 1
0 -1 0
-0.5 0 0.5
-0.5 0.5 0
0 0 0
0 0.5 0.5
0.5 0 0.5
0.5 0.5 0
-0.75 0 0.25
-0.75 0.25 0
-0.5 0 0
-0.5 0.25 0.25
-0.25 0 0.25
-0.25 0.25 0
CELLS 2 10
4 0 3 2 1
4 0 4 3 1
CELL_TYPES 2
10
10
POINT_DATA 17
SCALARS vertex_id int 1
LOOKUP_TABLE default
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
CELL_DATA 2
SCALARS cell_attribute_data int 1
LOOKUP_TABLE default
0
1
# vtk DataFile Version 2.0
VTK LEGACY FILE FORMAT ASCII - tetrahedral sample file for H5FED test
ASCII
DATASET UNSTRUCTURED_GRID
POINTS 17 DOUBLE
-1 0 0
1 0 0
0 1 0
0 0 1
0 -1 0
-0.5 0 0.5
-0.5 0.5 0
0 0 0
0 0.5 0.5
0.5 0 0.5
0.5 0.5 0
-0.75 0 0.25
-0.75 0.25 0
-0.5 0 0
-0.5 0.25 0.25
-0.25 0 0.25
-0.25 0.25 0
CELLS 9 45
4 0 4 3 1
4 0 5 6 7
4 5 3 8 9
4 6 8 2 10
4 7 9 10 1
4 5 6 7 9
4 5 6 8 9
4 6 7 9 10
4 6 8 9 10
CELL_TYPES 9
10
10
10
10
10
10
10
10
10
POINT_DATA 17
SCALARS vertex_id int 1
LOOKUP_TABLE default
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
CELL_DATA 9
SCALARS cell_attribute_data int 1
LOOKUP_TABLE default
0
1
2
3
4
5
6
7
8
# vtk DataFile Version 2.0
VTK LEGACY FILE FORMAT ASCII - tetrahedral sample file for H5FED test
ASCII
DATASET UNSTRUCTURED_GRID
POINTS 17 DOUBLE
-1 0 0
1 0 0
0 1 0
0 0 1
0 -1 0
-0.5 0 0.5
-0.5 0.5 0
0 0 0
0 0.5 0.5
0.5 0 0.5
0.5 0.5 0
-0.75 0 0.25
-0.75 0.25 0
-0.5 0 0
-0.5 0.25 0.25
-0.25 0 0.25
-0.25 0.25 0
CELLS 16 80
4 0 4 3 1
4 5 3 8 9
4 6 8 2 10
4 7 9 10 1
4 5 6 7 9
4 5 6 8 9
4 6 7 9 10
4 6 8 9 10
4 0 11 12 13
4 11 5 14 15
4 12 14 6 16
4 13 15 16 7
4 11 12 13 15
4 11 12 14 15
4 12 13 15 16
4 12 14 15 16
CELL_TYPES 16
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
POINT_DATA 17
SCALARS vertex_id int 1
LOOKUP_TABLE default
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
CELL_DATA 16
SCALARS cell_attribute_data int 1
LOOKUP_TABLE default
1
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
12 14
2 11
1 3
2 4 12
3 5
4 6
5 7 12
6 8
7 9
8 10
9 11 12
1 10
3 6 10