Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
S
src
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
6
Issues
6
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Code Review
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
H5hut
src
Commits
bc528f27
Commit
bc528f27
authored
Mar 29, 2016
by
gsell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more cleanup on header files
parent
5444b0e0
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
199 additions
and
223 deletions
+199
-223
src/Fortran/Makefile.am
src/Fortran/Makefile.am
+3
-1
src/include/H5Block.h
src/include/H5Block.h
+0
-37
src/include/H5_file_attribs.f90
src/include/H5_file_attribs.f90
+194
-0
src/include/H5_step_attribs.f90
src/include/H5_step_attribs.f90
+0
-184
src/include/H5hut.f90
src/include/H5hut.f90
+2
-1
No files found.
src/Fortran/Makefile.am
View file @
bc528f27
...
...
@@ -7,13 +7,15 @@ F90_FILES = \
$(top_srcdir)
/src/include/H5_const.f90
\
$(top_srcdir)
/src/include/H5_file.f90
\
$(top_srcdir)
/src/include/H5_model.f90
\
$(top_srcdir)
/src/include/H5_attribs.f90
\
$(top_srcdir)
/src/include/H5_file_attribs.f90
\
$(top_srcdir)
/src/include/H5_step_attribs.f90
\
$(top_srcdir)
/src/include/H5_debug.f90
\
$(top_srcdir)
/src/include/H5_error.f90
\
$(top_srcdir)
/src/include/H5Part_model.f90
\
$(top_srcdir)
/src/include/H5Part_io.f90
\
$(top_srcdir)
/src/include/H5Block_model.f90
\
$(top_srcdir)
/src/include/H5Block_attribs.f90
\
$(top_srcdir)
/src/include/H5Block_attribs.f90
\
$(top_srcdir)
/src/include/H5Block_io.f90
EXTRA_HEADERS
=
...
...
src/include/H5Block.h
deleted
100644 → 0
View file @
5444b0e0
/*
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.
License: see file COPYING in top level of source distribution.
*/
#ifndef __H5BLOCK_H
#define __H5BLOCK_H
/**
\ingroup h5block_model
\note
Different field sizes are allowed in the same time-step.
\note
The same layout can be used, if the size of the field matches the
size of the layout. If the size of the layout doesn't match the
size of the field, an error will be indicated.
\note In write mode views might be reduced to make them
non-overlaping, i.e. ghost-zones are eliminated. This may shrink
views in an unexpected way.
\todo
check whether layout is reasonable
*/
#include "H5Block_attribs.h"
#include "H5Block_model.h"
#include "H5Block_io.h"
#endif
src/include/H5_file_attribs.f90
0 → 100644
View file @
bc528f27
!
! 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.!
!
! License: see file COPYING in top level of source distribution.
!
INTERFACE
!>
!! \addtogroup \h5_file_attribs_f
!! @{
! __ _ _ _ _ _ _ _
! / _(_) | ___ __ _| |_| |_ _ __(_) |__ _ _| |_ ___ ___
! | |_| | |/ _ \ / _` | __| __| '__| | '_ \| | | | __/ _ \/ __|
! | _| | | __/ | (_| | |_| |_| | | | |_) | |_| | || __/\__ \
! |_| |_|_|\___| \__,_|\__|\__|_| |_|_.__/ \__,_|\__\___||___/
! __ _ _ _ ___ _ __ _ _
! / _` | | | |/ _ \ '__| | | |
! | (_| | |_| | __/ | | |_| |
! \__, |\__,_|\___|_| \__, |
! |_| |___/
!>
!! See \ref H5GetNumFileAttribs
!! \return number of attributes or error code
INTEGER
*
8
FUNCTION
h5_getnfileattribs
(
filehandle
)
INTEGER
*
8
,
INTENT
(
IN
)
::
filehandle
!< file handle
END
FUNCTION
h5_getnfileattribs
!>
!! See \ref H5GetFileAttribInfo
!! \return 0 on success or error code
INTEGER
*
8
FUNCTION
h5_getfileattribinfo
(
fhandle
,
idx
,
name
,
type
,
nelem
)
INTEGER
*
8
,
INTENT
(
IN
)
::
fhandle
!< file handle
INTEGER
*
8
,
INTENT
(
IN
)
::
idx
!< index of attribute being queried
CHARACTER
(
LEN
=*
),
INTENT
(
OUT
)::
name
!< name of attribute
INTEGER
*
8
,
INTENT
(
OUT
)::
type
!< type of attribute
INTEGER
*
8
,
INTENT
(
OUT
)::
nelem
!< number of elements in the attrib array
END
FUNCTION
h5_getfileattribinfo
!>
!! See \ref H5GetFileAttribInfoByName
!! \return 0 on success or error code
INTEGER
*
8
FUNCTION
h5_getfileattribinfo_by_name
(
fhandle
,
name
,
type
,
nelem
)
INTEGER
*
8
,
INTENT
(
IN
)
::
fhandle
!< file handle
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)::
name
!< name of attribute
INTEGER
*
8
,
INTENT
(
OUT
)::
type
!< type of attribute
INTEGER
*
8
,
INTENT
(
OUT
)::
nelem
!< number of elements in the attrib array
END
FUNCTION
h5_getfileattribinfo_by_name
! __ _ _ _ _ _ _ _
! / _(_) | ___ __ _| |_| |_ _ __(_) |__ _ _| |_ ___ ___
! | |_| | |/ _ \ / _` | __| __| '__| | '_ \| | | | __/ _ \/ __|
! | _| | | __/ | (_| | |_| |_| | | | |_) | |_| | || __/\__ \
! |_| |_|_|\___| \__,_|\__|\__|_| |_|_.__/ \__,_|\__\___||___/
! _ __ _ _
! (_) / /__ ___| |_ _ __(_)_ __ __ _
! | | / / _ \ / __| __| '__| | '_ \ / _` |
! | |/ / (_) | \__ \ |_| | | | | | | (_| |
! |_/_/ \___/ |___/\__|_| |_|_| |_|\__, |
! |___/
!>
!! See \ref H5WriteFileAttribString
!! \return 0 on success or error code
INTEGER
*
8
FUNCTION
h5_writefileattrib_string
(
filehandle
,
attrib_name
,
attrib_value
)
INTEGER
*
8
,
INTENT
(
IN
)
::
filehandle
!< file handle
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
attrib_name
!< name of attribute to write
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
attrib_value
!< attribute data to be written
END
FUNCTION
h5_writefileattrib_string
!>
!! \return 0 on success or error code
INTEGER
*
8
FUNCTION
h5_readfileattrib_string
(
filehandle
,
attrib_name
,
attrib_value
)
INTEGER
*
8
,
INTENT
(
IN
)
::
filehandle
!< file handle
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
attrib_name
!< name of the attribute to read
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
attrib_value
!< attribute data will be read into this array
END
FUNCTION
h5_readfileattrib_string
! __ _ _ _ _ _ _ _
! / _(_) | ___ __ _| |_| |_ _ __(_) |__ _ _| |_ ___ ___
! | |_| | |/ _ \ / _` | __| __| '__| | '_ \| | | | __/ _ \/ __|
! | _| | | __/ | (_| | |_| |_| | | | |_) | |_| | || __/\__ \
! |_| |_|_|\___| \__,_|\__|\__|_| |_|_.__/ \__,_|\__\___||___/
! _ __ _
! (_) / /__ _ __ ___ __ _| |
! | | / / _ \ | '__/ _ \/ _` | |
! | |/ / (_) | | | | __/ (_| | |
! |_/_/ \___/ |_| \___|\__,_|_|
!>
!! See \ref H5WriteFileAttribFloat64
!! \return 0 on success or error code
INTEGER
*
8
FUNCTION
h5_writefileattrib_r8
(
filehandle
,
attrib_name
,
attrib_value
,
attrib_nelem
)
INTEGER
*
8
,
INTENT
(
IN
)
::
filehandle
!< file handle
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
attrib_name
!< name of attribute to read
REAL
*
8
,
INTENT
(
IN
)::
attrib_value
(
*
)
!< attribute data to be written
INTEGER
*
8
,
INTENT
(
IN
)
::
attrib_nelem
!< number of elements in data array
END
FUNCTION
h5_writefileattrib_r8
!>
!! See \ref H5ReadFileAttribFloat64
!! \return 0 on success or error code
INTEGER
*
8
FUNCTION
h5_readfileattrib_r8
(
filehandle
,
attrib_name
,
attrib_value
)
INTEGER
*
8
,
INTENT
(
IN
)
::
filehandle
!< file handle
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
attrib_name
!< name of attribute to read
REAL
*
8
,
INTENT
(
OUT
)::
attrib_value
(
*
)
!< attribute data will be read into this array
END
FUNCTION
h5_readfileattrib_r8
!>
!! See \ref H5WriteFileAttribFloat32
!! \return 0 on success or error code
INTEGER
*
8
FUNCTION
h5_writefileattrib_r4
(
filehandle
,
attrib_name
,
attrib_value
,
attrib_nelem
)
INTEGER
*
8
,
INTENT
(
IN
)
::
filehandle
!< file handle
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
attrib_name
!< name of attribute to read
REAL
*
4
,
INTENT
(
IN
)::
attrib_value
(
*
)
!< attribute data to be written
INTEGER
*
8
,
INTENT
(
IN
)
::
attrib_nelem
!< number of elements in data array
END
FUNCTION
h5_writefileattrib_r4
!>
!! See \ref H5ReadFileAttribFloat32
!! \return 0 on success or error code
INTEGER
*
8
FUNCTION
h5_readfileattrib_r4
(
filehandle
,
attrib_name
,
attrib_value
)
INTEGER
*
8
,
INTENT
(
IN
)
::
filehandle
!< file handle
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
attrib_name
!< name of attribute to read
REAL
*
4
,
INTENT
(
OUT
)::
attrib_value
(
*
)
!< attribute data will be read into this array
END
FUNCTION
h5_readfileattrib_r4
! __ _ _ _ _ _ _ _
! / _(_) | ___ __ _| |_| |_ _ __(_) |__ _ _| |_ ___ ___
! | |_| | |/ _ \ / _` | __| __| '__| | '_ \| | | | __/ _ \/ __|
! | _| | | __/ | (_| | |_| |_| | | | |_) | |_| | || __/\__ \
! |_| |_|_|\___| \__,_|\__|\__|_| |_|_.__/ \__,_|\__\___||___/
! _ __ _ _
! (_) / /__ (_)_ __ | |_ ___ __ _ ___ _ __
! | | / / _ \ | | '_ \| __/ _ \/ _` |/ _ \ '__|
! | |/ / (_) | | | | | | || __/ (_| | __/ |
! |_/_/ \___/ |_|_| |_|\__\___|\__, |\___|_|
! |___/
!>
!! See \ref H5WriteFileAttribInt64
!! \return 0 on success or error code
INTEGER
*
8
FUNCTION
h5_writefileattrib_i8
(
filehandle
,
attrib_name
,
attrib_value
,
attrib_nelem
)
INTEGER
*
8
,
INTENT
(
IN
)
::
filehandle
!< file handle
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
attrib_name
!< name of attribute to write
INTEGER
*
8
,
INTENT
(
IN
)::
attrib_value
(
*
)
!< attribute data to be written
INTEGER
*
8
,
INTENT
(
IN
)
::
attrib_nelem
!< number of elements in data array
END
FUNCTION
h5_writefileattrib_i8
!>
!! See \ref H5ReadFileAttribInt64
!! \return 0 on success or error code
INTEGER
*
8
FUNCTION
h5_readfileattrib_i8
(
filehandle
,
attrib_name
,
attrib_value
)
INTEGER
*
8
,
INTENT
(
IN
)
::
filehandle
!< file handle
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
attrib_name
!< name of attribute to read
INTEGER
*
8
,
INTENT
(
OUT
)::
attrib_value
(
*
)
!< attribute data will be read into this array
END
FUNCTION
h5_readfileattrib_i8
!>
!! See \ref H5WriteFileAttribInt32
!! \return 0 on success or error code
INTEGER
*
8
FUNCTION
h5_writefileattrib_i4
(
filehandle
,
attrib_name
,
attrib_value
,
attrib_nelem
)
INTEGER
*
8
,
INTENT
(
IN
)
::
filehandle
!< file handle
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
attrib_name
!< name of attribute to write
INTEGER
*
4
,
INTENT
(
IN
)
::
attrib_value
(
*
)
!< attribute data to be written
INTEGER
*
8
,
INTENT
(
IN
)
::
attrib_nelem
!< number of elements in data array
END
FUNCTION
h5_writefileattrib_i4
!>
!! See \ref H5ReadFileAttribInt32
!! \return 0 on success or error code
INTEGER
*
8
FUNCTION
h5_readfileattrib_i4
(
filehandle
,
attrib_name
,
attrib_value
)
INTEGER
*
8
,
INTENT
(
IN
)
::
filehandle
!< file handle
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
attrib_name
!< name of attribute to read
INTEGER
*
4
,
INTENT
(
OUT
)::
attrib_value
(
*
)
!< attribute data will be read into this array
END
FUNCTION
h5_readfileattrib_i4
!> @}
END
INTERFACE
src/include/H5_attribs.f90
→
src/include/H5_
step_
attribs.f90
View file @
bc528f27
...
...
@@ -7,190 +7,6 @@
! License: see file COPYING in top level of source distribution.
!
INTERFACE
!>
!! \addtogroup \h5_file_attribs_f
!! @{
! __ _ _ _ _ _ _ _
! / _(_) | ___ __ _| |_| |_ _ __(_) |__ _ _| |_ ___ ___
! | |_| | |/ _ \ / _` | __| __| '__| | '_ \| | | | __/ _ \/ __|
! | _| | | __/ | (_| | |_| |_| | | | |_) | |_| | || __/\__ \
! |_| |_|_|\___| \__,_|\__|\__|_| |_|_.__/ \__,_|\__\___||___/
! __ _ _ _ ___ _ __ _ _
! / _` | | | |/ _ \ '__| | | |
! | (_| | |_| | __/ | | |_| |
! \__, |\__,_|\___|_| \__, |
! |_| |___/
!>
!! See \ref H5GetNumFileAttribs
!! \return number of attributes or error code
INTEGER
*
8
FUNCTION
h5_getnfileattribs
(
filehandle
)
INTEGER
*
8
,
INTENT
(
IN
)
::
filehandle
!< file handle
END
FUNCTION
h5_getnfileattribs
!>
!! See \ref H5GetFileAttribInfo
!! \return 0 on success or error code
INTEGER
*
8
FUNCTION
h5_getfileattribinfo
(
fhandle
,
idx
,
name
,
type
,
nelem
)
INTEGER
*
8
,
INTENT
(
IN
)
::
fhandle
!< file handle
INTEGER
*
8
,
INTENT
(
IN
)
::
idx
!< index of attribute being queried
CHARACTER
(
LEN
=*
),
INTENT
(
OUT
)::
name
!< name of attribute
INTEGER
*
8
,
INTENT
(
OUT
)::
type
!< type of attribute
INTEGER
*
8
,
INTENT
(
OUT
)::
nelem
!< number of elements in the attrib array
END
FUNCTION
h5_getfileattribinfo
!>
!! See \ref H5GetFileAttribInfoByName
!! \return 0 on success or error code
INTEGER
*
8
FUNCTION
h5_getfileattribinfo_by_name
(
fhandle
,
name
,
type
,
nelem
)
INTEGER
*
8
,
INTENT
(
IN
)
::
fhandle
!< file handle
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)::
name
!< name of attribute
INTEGER
*
8
,
INTENT
(
OUT
)::
type
!< type of attribute
INTEGER
*
8
,
INTENT
(
OUT
)::
nelem
!< number of elements in the attrib array
END
FUNCTION
h5_getfileattribinfo_by_name
! __ _ _ _ _ _ _ _
! / _(_) | ___ __ _| |_| |_ _ __(_) |__ _ _| |_ ___ ___
! | |_| | |/ _ \ / _` | __| __| '__| | '_ \| | | | __/ _ \/ __|
! | _| | | __/ | (_| | |_| |_| | | | |_) | |_| | || __/\__ \
! |_| |_|_|\___| \__,_|\__|\__|_| |_|_.__/ \__,_|\__\___||___/
! _ __ _ _
! (_) / /__ ___| |_ _ __(_)_ __ __ _
! | | / / _ \ / __| __| '__| | '_ \ / _` |
! | |/ / (_) | \__ \ |_| | | | | | | (_| |
! |_/_/ \___/ |___/\__|_| |_|_| |_|\__, |
! |___/
!>
!! See \ref H5WriteFileAttribString
!! \return 0 on success or error code
INTEGER
*
8
FUNCTION
h5_writefileattrib_string
(
filehandle
,
attrib_name
,
attrib_value
)
INTEGER
*
8
,
INTENT
(
IN
)
::
filehandle
!< file handle
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
attrib_name
!< name of attribute to write
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
attrib_value
!< attribute data to be written
END
FUNCTION
h5_writefileattrib_string
!>
!! \return 0 on success or error code
INTEGER
*
8
FUNCTION
h5_readfileattrib_string
(
filehandle
,
attrib_name
,
attrib_value
)
INTEGER
*
8
,
INTENT
(
IN
)
::
filehandle
!< file handle
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
attrib_name
!< name of the attribute to read
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
attrib_value
!< attribute data will be read into this array
END
FUNCTION
h5_readfileattrib_string
! __ _ _ _ _ _ _ _
! / _(_) | ___ __ _| |_| |_ _ __(_) |__ _ _| |_ ___ ___
! | |_| | |/ _ \ / _` | __| __| '__| | '_ \| | | | __/ _ \/ __|
! | _| | | __/ | (_| | |_| |_| | | | |_) | |_| | || __/\__ \
! |_| |_|_|\___| \__,_|\__|\__|_| |_|_.__/ \__,_|\__\___||___/
! _ __ _
! (_) / /__ _ __ ___ __ _| |
! | | / / _ \ | '__/ _ \/ _` | |
! | |/ / (_) | | | | __/ (_| | |
! |_/_/ \___/ |_| \___|\__,_|_|
!>
!! See \ref H5WriteFileAttribFloat64
!! \return 0 on success or error code
INTEGER
*
8
FUNCTION
h5_writefileattrib_r8
(
filehandle
,
attrib_name
,
attrib_value
,
attrib_nelem
)
INTEGER
*
8
,
INTENT
(
IN
)
::
filehandle
!< file handle
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
attrib_name
!< name of attribute to read
REAL
*
8
,
INTENT
(
IN
)::
attrib_value
(
*
)
!< attribute data to be written
INTEGER
*
8
,
INTENT
(
IN
)
::
attrib_nelem
!< number of elements in data array
END
FUNCTION
h5_writefileattrib_r8
!>
!! See \ref H5ReadFileAttribFloat64
!! \return 0 on success or error code
INTEGER
*
8
FUNCTION
h5_readfileattrib_r8
(
filehandle
,
attrib_name
,
attrib_value
)
INTEGER
*
8
,
INTENT
(
IN
)
::
filehandle
!< file handle
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
attrib_name
!< name of attribute to read
REAL
*
8
,
INTENT
(
OUT
)::
attrib_value
(
*
)
!< attribute data will be read into this array
END
FUNCTION
h5_readfileattrib_r8
!>
!! See \ref H5WriteFileAttribFloat32
!! \return 0 on success or error code
INTEGER
*
8
FUNCTION
h5_writefileattrib_r4
(
filehandle
,
attrib_name
,
attrib_value
,
attrib_nelem
)
INTEGER
*
8
,
INTENT
(
IN
)
::
filehandle
!< file handle
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
attrib_name
!< name of attribute to read
REAL
*
4
,
INTENT
(
IN
)::
attrib_value
(
*
)
!< attribute data to be written
INTEGER
*
8
,
INTENT
(
IN
)
::
attrib_nelem
!< number of elements in data array
END
FUNCTION
h5_writefileattrib_r4
!>
!! See \ref H5ReadFileAttribFloat32
!! \return 0 on success or error code
INTEGER
*
8
FUNCTION
h5_readfileattrib_r4
(
filehandle
,
attrib_name
,
attrib_value
)
INTEGER
*
8
,
INTENT
(
IN
)
::
filehandle
!< file handle
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
attrib_name
!< name of attribute to read
REAL
*
4
,
INTENT
(
OUT
)::
attrib_value
(
*
)
!< attribute data will be read into this array
END
FUNCTION
h5_readfileattrib_r4
! __ _ _ _ _ _ _ _
! / _(_) | ___ __ _| |_| |_ _ __(_) |__ _ _| |_ ___ ___
! | |_| | |/ _ \ / _` | __| __| '__| | '_ \| | | | __/ _ \/ __|
! | _| | | __/ | (_| | |_| |_| | | | |_) | |_| | || __/\__ \
! |_| |_|_|\___| \__,_|\__|\__|_| |_|_.__/ \__,_|\__\___||___/
! _ __ _ _
! (_) / /__ (_)_ __ | |_ ___ __ _ ___ _ __
! | | / / _ \ | | '_ \| __/ _ \/ _` |/ _ \ '__|
! | |/ / (_) | | | | | | || __/ (_| | __/ |
! |_/_/ \___/ |_|_| |_|\__\___|\__, |\___|_|
! |___/
!>
!! See \ref H5WriteFileAttribInt64
!! \return 0 on success or error code
INTEGER
*
8
FUNCTION
h5_writefileattrib_i8
(
filehandle
,
attrib_name
,
attrib_value
,
attrib_nelem
)
INTEGER
*
8
,
INTENT
(
IN
)
::
filehandle
!< file handle
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
attrib_name
!< name of attribute to write
INTEGER
*
8
,
INTENT
(
IN
)::
attrib_value
(
*
)
!< attribute data to be written
INTEGER
*
8
,
INTENT
(
IN
)
::
attrib_nelem
!< number of elements in data array
END
FUNCTION
h5_writefileattrib_i8
!>
!! See \ref H5ReadFileAttribInt64
!! \return 0 on success or error code
INTEGER
*
8
FUNCTION
h5_readfileattrib_i8
(
filehandle
,
attrib_name
,
attrib_value
)
INTEGER
*
8
,
INTENT
(
IN
)
::
filehandle
!< file handle
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
attrib_name
!< name of attribute to read
INTEGER
*
8
,
INTENT
(
OUT
)::
attrib_value
(
*
)
!< attribute data will be read into this array
END
FUNCTION
h5_readfileattrib_i8
!>
!! See \ref H5WriteFileAttribInt32
!! \return 0 on success or error code
INTEGER
*
8
FUNCTION
h5_writefileattrib_i4
(
filehandle
,
attrib_name
,
attrib_value
,
attrib_nelem
)
INTEGER
*
8
,
INTENT
(
IN
)
::
filehandle
!< file handle
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
attrib_name
!< name of attribute to write
INTEGER
*
4
,
INTENT
(
IN
)
::
attrib_value
(
*
)
!< attribute data to be written
INTEGER
*
8
,
INTENT
(
IN
)
::
attrib_nelem
!< number of elements in data array
END
FUNCTION
h5_writefileattrib_i4
!>
!! See \ref H5ReadFileAttribInt32
!! \return 0 on success or error code
INTEGER
*
8
FUNCTION
h5_readfileattrib_i4
(
filehandle
,
attrib_name
,
attrib_value
)
INTEGER
*
8
,
INTENT
(
IN
)
::
filehandle
!< file handle
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
attrib_name
!< name of attribute to read
INTEGER
*
4
,
INTENT
(
OUT
)::
attrib_value
(
*
)
!< attribute data will be read into this array
END
FUNCTION
h5_readfileattrib_i4
!> @}
!> \addtogroup \h5_step_attribs_f
!! @{
...
...
src/include/H5hut.f90
View file @
bc528f27
...
...
@@ -11,7 +11,8 @@ MODULE H5hut
include
'H5_file.f90'
include
'H5_model.f90'
include
'H5_attribs.f90'
include
'H5_file_attribs.f90'
include
'H5_step_attribs.f90'
include
'H5_log.f90'
include
'H5_debug.f90'
include
'H5_error.f90'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment