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
e893b8e4
Commit
e893b8e4
authored
Sep 19, 2006
by
gsell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
src/H5BlockF90.inc
- coding - some fixes
parent
1a623f0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
99 additions
and
11 deletions
+99
-11
src/H5BlockF90.inc
src/H5BlockF90.inc
+99
-11
No files found.
src/H5BlockF90.inc
View file @
e893b8e4
INTERFACE
INTEGER
*
8
FUNCTION
h5bl_define
_3d_
layout
(
filehandle
,
i_start
,
i_end
,
j_start
,
j_end
,
k_start
,
k_end
)
INTEGER
*
8
FUNCTION
h5bl_define
3d
layout
(
filehandle
,
i_start
,
i_end
,
j_start
,
j_end
,
k_start
,
k_end
)
INTEGER
*
8
,
INTENT
(
IN
)
::
filehandle
INTEGER
*
8
,
INTENT
(
IN
)
::
i_start
INTEGER
*
8
,
INTENT
(
IN
)
::
i_end
...
...
@@ -9,13 +9,46 @@
INTEGER
*
8
,
INTENT
(
IN
)
::
k_end
END
FUNCTION
INTEGER
*
8
FUNCTION
h5bl_3d_read_scalar
(
filehandle
,
name
,
data
)
INTEGER
*
8
FUNCTION
h5bl_get_partition_of_proc
(
filehandle
,
i_start
,
i_end
,
j_start
,
j_end
,
k_start
,
k_end
)
INTEGER
*
8
,
INTENT
(
IN
)
::
filehandle
INTEGER
*
8
,
INTENT
(
OUT
)
::
i_start
INTEGER
*
8
,
INTENT
(
OUT
)
::
i_end
INTEGER
*
8
,
INTENT
(
OUT
)
::
j_start
INTEGER
*
8
,
INTENT
(
OUT
)
::
j_end
INTEGER
*
8
,
INTENT
(
OUT
)
::
k_start
INTEGER
*
8
,
INTENT
(
OUT
)
::
k_end
END
FUNCTION
INTEGER
*
8
FUNCTION
h5bl_get_reduced_partition_of_proc
(
filehandle
,
i_start
,
i_end
,
j_start
,
j_end
,
k_start
,
k_end
)
INTEGER
*
8
,
INTENT
(
IN
)
::
filehandle
INTEGER
*
8
,
INTENT
(
OUT
)
::
i_start
INTEGER
*
8
,
INTENT
(
OUT
)
::
i_end
INTEGER
*
8
,
INTENT
(
OUT
)
::
j_start
INTEGER
*
8
,
INTENT
(
OUT
)
::
j_end
INTEGER
*
8
,
INTENT
(
OUT
)
::
k_start
INTEGER
*
8
,
INTENT
(
OUT
)
::
k_end
END
FUNCTION
INTEGER
*
8
FUNCTION
h5bl_get_proc_of
(
filehandle
,
i
,
j
,
k
)
INTEGER
*
8
,
INTENT
(
IN
)
::
filehandle
INTEGER
*
8
,
INTENT
(
IN
)
::
i
INTEGER
*
8
,
INTENT
(
IN
)
::
j
INTEGER
*
8
,
INTENT
(
IN
)
::
k
END
FUNCTION
INTEGER
*
8
FUNCTION
h5bl_3d_read_scalar_field
(
filehandle
,
name
,
data
)
INTEGER
*
8
,
INTENT
(
IN
)
::
filehandle
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
name
INTEGER
*
8
,
INTENT
(
OUT
)
::
data
(
:
,
:
,
:
)
END
FUNCTION
INTEGER
*
8
FUNCTION
h5bl_3d_read_3dvector
(
filehandle
,
name
,
x
,
y
,
z
)
INTEGER
*
8
FUNCTION
h5bl_3d_write_scalar_field
(
filehandle
,
name
,
data
)
INTEGER
*
8
,
INTENT
(
IN
)
::
filehandle
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
name
INTEGER
*
8
,
INTENT
(
IN
)
::
data
(
:
,
:
,
:
)
END
FUNCTION
INTEGER
*
8
FUNCTION
h5bl_3d_read_3dvector_field
(
filehandle
,
name
,
x
,
y
,
z
)
INTEGER
*
8
,
INTENT
(
IN
)
::
filehandle
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
name
INTEGER
*
8
,
INTENT
(
OUT
)
::
x
(
:
,
:
,
:
)
...
...
@@ -23,13 +56,8 @@
INTEGER
*
8
,
INTENT
(
OUT
)
::
z
(
:
,
:
,
:
)
END
FUNCTION
INTEGER
*
8
FUNCTION
h5bl_3d_write_scalar
(
filehandle
,
name
,
data
)
INTEGER
*
8
,
INTENT
(
IN
)
::
filehandle
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
name
INTEGER
*
8
,
INTENT
(
IN
)
::
data
(
:
,
:
,
:
)
END
FUNCTION
INTEGER
*
8
FUNCTION
h5bl_3d_write_3dvector
(
filehandle
,
name
,
x
,
y
,
z
)
INTEGER
*
8
FUNCTION
h5bl_3d_write_3dvector
_field
(
filehandle
,
name
,
x
,
y
,
z
)
INTEGER
*
8
,
INTENT
(
IN
)
::
filehandle
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
name
INTEGER
*
8
,
INTENT
(
IN
)
::
x
(
:
,
:
,
:
)
...
...
@@ -41,14 +69,74 @@
INTEGER
*
8
,
INTENT
(
IN
)
::
filehandle
END
FUNCTION
INTEGER
*
8
FUNCTION
h5bl_getfieldinfo
(
filehandle
,
idx
,
field_name
,
len_field_name
,
grid_rank
,
grid_dims
,
field_dims
)
INTEGER
*
8
FUNCTION
h5bl_getfieldinfo
(
filehandle
,
idx
,
field_name
,
grid_rank
,
grid_dims
,
field_dims
)
INTEGER
*
8
,
INTENT
(
IN
)
::
filehandle
INTEGER
*
8
,
INTENT
(
IN
)
::
idx
,
CHARACTER
(
LEN
=*
),
INTENT
(
OUT
)
::
field_name
INTEGER
*
8
,
INTENT
(
IN
)
::
len_field_name
INTEGER
*
8
,
INTENT
(
OUT
)
::
grid_rank
INTEGER
*
8
,
INTENT
(
OUT
)
::
grid_dims
(
:
)
INTEGER
*
8
,
INTENT
(
OUT
)
::
field_dims
END
FUNCTION
INTEGER
*
8
FUNCTION
h5bl_writefieldattrib_r8
(
filehandle
,
field_name
,
attrib_name
,
attrib_value
,
attrib_nelem
)
INTEGER
*
8
,
INTENT
(
IN
)
::
filehandle
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
field_name
!
The
name
of
the
field
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
attrib_name
!
The
name
of
the
attribute
REAL
*
8
,
INTENT
(
IN
)
::
attrib_value
(
:
)
!
The
array
of
data
to
write
into
the
attribute
INTEGER
*
8
,
INTENT
(
IN
)
::
attrib_nelem
!
Number
of
elements
in
the
attrib
array
END
FUNCTION
INTEGER
*
8
FUNCTION
h5bl_writefieldattrib_i8
(
filehandle
,
attrib_name
,
attrib_value
,
attrib_nelem
)
INTEGER
*
8
,
INTENT
(
IN
)
::
filehandle
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
field_name
!
The
name
of
the
field
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
attrib_name
!
The
name
of
the
attribute
INTEGER
*
8
,
INTENT
(
IN
)
::
attrib_value
(
:
)
!
The
array
of
data
to
write
into
the
attribute
INTEGER
*
8
,
INTENT
(
IN
)
::
attrib_nelem
!
Number
of
elements
in
the
attrib
array
END
FUNCTION
INTEGER
*
8
FUNCTION
h5bl_writefieldattrib_string
(
filehandle
,
field_name
,
attrib_name
,
attrib_value
)
INTEGER
*
8
,
INTENT
(
IN
)
::
filehandle
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
field_name
!
The
name
of
the
field
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
attrib_name
!
The
name
of
the
attribute
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
attrib_value
!
The
array
of
data
to
write
into
the
attribute
END
FUNCTION
INTEGER
*
8
FUNCTION
h5bl_getnfieldattribs
(
filehandle
,
field_name
)
INTEGER
*
8
,
INTENT
(
IN
)
::
filehandle
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
field_name
!
The
name
of
the
field
END
FUNCTION
INTEGER
*
8
FUNCTION
h5bl_getfieldattribinfo
(
filehandle
,
field_name
,
idx
,
attrib_name
,
attrib_nelem
)
INTEGER
*
8
,
INTENT
(
IN
)
::
filehandle
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
field_name
!
The
name
of
the
field
INTEGER
*
8
,
INTENT
(
IN
)
::
idx
!
index
of
the
attribute
being
queried
CHARACTER
(
LEN
=*
),
INTENT
(
OUT
)
::
attrib_name
!
The
name
of
the
attribute
INTEGER
*
8
,
INTENT
(
OUT
)
::
attrib_nelem
!
Number
of
elements
in
the
attrib
array
END
FUNCTION
INTEGER
*
8
FUNCTION
h5bl_readfieldattrib_i8
(
filehandle
,
field_name
,
attrib_name
,
attrib_value
)
INTEGER
*
8
,
INTENT
(
IN
)
::
filehandle
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
field_name
!
The
name
of
the
field
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
attrib_name
!
name
of
the
attribute
to
read
INTEGER
*
8
,
INTENT
(
OUT
)
::
attrib_value
(
:
)
!
the
attribute
data
will
be
read
into
this
array
END
FUNCTION
INTEGER
*
8
FUNCTION
h5bl_readfieldattrib_r8
(
filehandle
,
field_name
,
attrib_name
,
attrib_value
)
INTEGER
*
8
,
INTENT
(
IN
)
::
filehandle
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
field_name
!
The
name
of
the
field
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
attrib_name
!
name
of
the
attribute
to
read
REAL
*
8
,
INTENT
(
OUT
)
::
attrib_value
(
:
)
!
the
attribute
data
will
be
read
into
this
array
END
FUNCTION
INTEGER
*
8
FUNCTION
h5bl_readfieldattrib_string
(
filehandle
,
field_name
,
attrib_name
,
attrib_value
)
INTEGER
*
8
,
INTENT
(
IN
)
::
filehandle
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
field_name
!
The
name
of
the
field
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
attrib_name
!
name
of
the
attribute
to
read
CHARACTER
(
LEN
=*
),
INTENT
(
IN
)
::
attrib_value
!
The
array
of
data
to
write
into
the
attribute
END
FUNCTION
INTEGER
*
8
FUNCTION
h5bl_has_fielddata
(
filehandle
)
INTEGER
*
8
,
INTENT
(
IN
)
::
filehandle
END
FUNCTION
END
INTERFACE
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