summaryrefslogtreecommitdiffstats
path: root/fortran/doc/DevelGuide/src/H5_ff_f90.html
blob: 021c7c59c4da0ae72b0ef68cc3d3adbf8da64918 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html  xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-type" content="text/html; charset=ISO-8859-1" />
<link rel="stylesheet" href="../robodoc.css" type="text/css" />
<title>./src/H5_ff.f90</title>
<!-- Source: ./src/H5_ff.f90 -->
</head>
<body>
<div id="logo">
<a name="robo_top_of_doc">HDF5 FORTRAN Developer's Guide</a>
</div> <!-- logo -->
<div id="navigation">
<a class="menuitem" href="../toc_index.html#top">Table of Contents</a>
<a class="menuitem" href="../robo_sourcefiles.html#top">Sourcefiles</a>
<a class="menuitem" href="../masterindex.html#top">Index</a>
<a class="menuitem" href="../robo_functions.html#top">Functions</a>
<a class="menuitem" href="../robo_modules.html#top">Modules</a>
<a class="menuitem" href="../robo_procedures.html#top">Procedures</a>
<a class="menuitem" href="../robo_subroutines.html#top">Subroutines</a>
</div> <!-- navigation -->
<div id="content">
<hr />
<a name="ROBODoc2fH5LIB"></a>
<a name="robo53"></a><h2>H5LIB</h2>

<p>[ <a href="#robo_top_of_doc">Top</a> ] [ <a href="../robo_modules.html#robo_top_of_doc">Modules</a> ]</p>
<p class="item_name">NAME</p>
<pre>  MODULE <strong>H5LIB</strong>
</pre>
<p class="item_name">PURPOSE</p>
<pre>  This module provides fortran specific helper functions for the HDF library
</pre>
<p class="item_name">USES</p>
<pre>  <a href="./H5_ff_F03_f90.html#robo54">H5LIB_PROVISIONAL</a> - This module provides helper functions for Fortran 2003
                      only features. If Fortran 2003 functions are enabled then
                      <a href="./H5_ff_F03_f90.html#robo_top_of_doc">H5_ff_F03.f90</a> is compiled, else <a href="./H5_ff_F90_f90.html#robo_top_of_doc">H5_ff_F90.f90</a>,
                      which is just a place holder blank module, is compiled.
</pre>
<p class="item_name">NOTES</p>
<pre>                         *** IMPORTANT ***
  If you add a new function you must add the function name to the
  Windows dll file 'hdf5_fortrandll.def' in the fortran/src directory.
  This is needed for Windows based operating systems.
</pre>

<hr />
<a name="H5LIB2fh5check5fversion5ff"></a>
<a name="robo111"></a><h2>h5check_version_f</h2>

<p>[ <a href="#robo_top_of_doc">Top</a> ] [ <a href="#robo53">H5LIB</a> ] [ <a href="../robo_subroutines.html#robo_top_of_doc">Subroutines</a> ]</p>
<p class="item_name">NAME</p>
<pre>  <strong>h5check_version_f</strong>
</pre>
<p class="item_name">PURPOSE</p>
<pre>  Verifies that library versions are consistent.
</pre>
<p class="item_name">INPUTS</p>
<pre>  majnum               - major version of the library
  minum                - minor version of the library
  relnum               - release version of the library
</pre>
<p class="item_name">OUTPUTS</p>
<pre>  error                - error code
                          Success:  0
                          Failure:  application aborts
</pre>
<p class="item_name">AUTHOR</p>
<pre>  Elena Pourmal
  September 24, 2002
</pre>
<p class="item_name">SOURCE</p>
<pre class="source">  SUBROUTINE <strong>h5check_version_f</strong><span class="sign">(</span>majnum<span class="sign">,</span> minnum<span class="sign">,</span> relnum<span class="sign">,</span> error<span class="sign">)</span>
    USE <a href="./H5f90global_f90.html#robo46">H5GLOBAL</a>
    IMPLICIT NONE
    INTEGER<span class="sign">,</span> INTENT<span class="sign">(</span>IN<span class="sign">)</span> <span class="sign">:</span><span class="sign">:</span> majnum<span class="sign">,</span> minnum<span class="sign">,</span> relnum
    INTEGER<span class="sign">,</span> INTENT<span class="sign">(</span>OUT<span class="sign">)</span> <span class="sign">:</span><span class="sign">:</span> error
</pre>

<hr />
<a name="H5LIB2fh5close5ff"></a>
<a name="robo112"></a><h2>h5close_f</h2>

<p>[ <a href="#robo_top_of_doc">Top</a> ] [ <a href="#robo53">H5LIB</a> ] [ <a href="../robo_subroutines.html#robo_top_of_doc">Subroutines</a> ]</p>
<p class="item_name">NAME</p>
<pre>  <strong>h5close_f</strong>
</pre>
<p class="item_name">PURPOSE</p>
<pre>  Closes the <a href="./HDF5_f90.html#robo76">HDF5</a> library and Fortran90 interface.
</pre>
<p class="item_name">OUTPUTS</p>
<pre>  error - error code
            Success:  0
            Failure: -1
</pre>
<p class="item_name">AUTHOR</p>
<pre>  Elena Pourmal
  August 12, 1999
</pre>
<p class="item_name">HISTORY</p>
<pre>  Explicit Fortran interfaces were added for
  called C functions (it is needed for Windows
  port).  February 28, 2001
</pre>
<p class="item_name">SOURCE</p>
<pre class="source">  SUBROUTINE <strong>h5close_f</strong><span class="sign">(</span>error<span class="sign">)</span>
    USE <a href="./H5f90global_f90.html#robo46">H5GLOBAL</a>
    IMPLICIT NONE
    INTEGER<span class="sign">,</span> INTENT<span class="sign">(</span>OUT<span class="sign">)</span> <span class="sign">:</span><span class="sign">:</span> error
</pre>

<hr />
<a name="H5LIB2fh5dont5fatexit5ff"></a>
<a name="robo122"></a><h2>h5dont_atexit_f</h2>

<p>[ <a href="#robo_top_of_doc">Top</a> ] [ <a href="#robo53">H5LIB</a> ] [ <a href="../robo_subroutines.html#robo_top_of_doc">Subroutines</a> ]</p>
<p class="item_name">NAME</p>
<pre>  <strong>h5dont_atexit_f</strong>
</pre>
<p class="item_name">PURPOSE</p>
<pre>  Instructs library not to install atexit cleanup routine.
</pre>
<p class="item_name">OUTPUTS</p>
<pre>  error  - error code
             Success:  0
             Failure: -1
</pre>
<p class="item_name">AUTHOR</p>
<pre>  Elena Pourmal
  September 24, 2002
</pre>
<p class="item_name">SOURCE</p>
<pre class="source">  SUBROUTINE <strong>h5dont_atexit_f</strong><span class="sign">(</span>error<span class="sign">)</span>
    USE <a href="./H5f90global_f90.html#robo46">H5GLOBAL</a>
    IMPLICIT NONE
    INTEGER<span class="sign">,</span> INTENT<span class="sign">(</span>OUT<span class="sign">)</span> <span class="sign">:</span><span class="sign">:</span> error
</pre>

<hr />
<a name="H5LIB2fh5garbage5fcollect5ff"></a>
<a name="robo150"></a><h2>h5garbage_collect_f</h2>

<p>[ <a href="#robo_top_of_doc">Top</a> ] [ <a href="#robo53">H5LIB</a> ] [ <a href="../robo_subroutines.html#robo_top_of_doc">Subroutines</a> ]</p>
<p class="item_name">NAME</p>
<pre>  <strong>h5garbage_collect_f</strong>
</pre>
<p class="item_name">PURPOSE</p>
<pre>  Garbage collects on all free-lists of all types.
</pre>
<p class="item_name">OUTPUTS</p>
<pre>  error  - error code
             Success:  0
             Failure: -1
</pre>
<p class="item_name">AUTHOR</p>
<pre>  Elena Pourmal
  September 24, 2002
</pre>
<p class="item_name">SOURCE</p>
<pre class="source">  SUBROUTINE <strong>h5garbage_collect_f</strong><span class="sign">(</span>error<span class="sign">)</span>
    USE <a href="./H5f90global_f90.html#robo46">H5GLOBAL</a>
    IMPLICIT NONE
    INTEGER<span class="sign">,</span> INTENT<span class="sign">(</span>OUT<span class="sign">)</span> <span class="sign">:</span><span class="sign">:</span> error
</pre>

<hr />
<a name="H5LIB2fh5get5flibversion5ff"></a>
<a name="robo154"></a><h2>h5get_libversion_f</h2>

<p>[ <a href="#robo_top_of_doc">Top</a> ] [ <a href="#robo53">H5LIB</a> ] [ <a href="../robo_subroutines.html#robo_top_of_doc">Subroutines</a> ]</p>
<p class="item_name">NAME</p>
<pre>  <strong>h5get_libversion_f</strong>
</pre>
<p class="item_name">PURPOSE</p>
<pre>  Returns the <a href="./HDF5_f90.html#robo76">HDF5</a> LIbrary release number
</pre>
<p class="item_name">OUTPUTS</p>
<pre>  majnum               - major version of the library
  minum                - minor version of the library
  relnum               - release version of the library
  error                - error code
                           Success:  0
                           Failure: -1
</pre>
<p class="item_name">AUTHOR</p>
<pre>  Elena Pourmal
  September 24, 2002
</pre>
<p class="item_name">SOURCE</p>
<pre class="source">  SUBROUTINE <strong>h5get_libversion_f</strong><span class="sign">(</span>majnum<span class="sign">,</span> minnum<span class="sign">,</span> relnum<span class="sign">,</span> error<span class="sign">)</span>
    USE <a href="./H5f90global_f90.html#robo46">H5GLOBAL</a>
    IMPLICIT NONE
    INTEGER<span class="sign">,</span> INTENT<span class="sign">(</span>OUT<span class="sign">)</span> <span class="sign">:</span><span class="sign">:</span> majnum<span class="sign">,</span> minnum<span class="sign">,</span> relnum<span class="sign">,</span> error
</pre>

<hr />
<a name="H5LIB2fh5kind5fto5ftype"></a>
<a name="robo177"></a><h2>h5kind_to_type</h2>

<p>[ <a href="#robo_top_of_doc">Top</a> ] [ <a href="#robo53">H5LIB</a> ] [ <a href="../robo_functions.html#robo_top_of_doc">Functions</a> ]</p>
<p class="item_name">NAME</p>
<pre>  <strong>h5kind_to_type</strong>
</pre>
<p class="item_name">PURPOSE</p>
<pre>  Converts the KIND to the correct HDF type
</pre>
<p class="item_name">INPUTS</p>
<pre>  kind    - Fortran KIND parameter
  flag    - whether KIND is of type INTEGER or REAL:
              H5_INTEGER_KIND - integer
              H5_REAL_KIND    - real
</pre>
<p class="item_name">OUTPUTS</p>
<pre>  h5_type - returns the type
</pre>
<p class="item_name">AUTHOR</p>
<pre>  M. Scot Breitenfeld
  Augest 25, 2008
</pre>
<p class="item_name">SOURCE</p>
<pre class="source">  INTEGER<span class="sign">(</span>HID_T<span class="sign">)</span> FUNCTION <strong>h5kind_to_type</strong><span class="sign">(</span>kind<span class="sign">,</span> flag<span class="sign">)</span> RESULT<span class="sign">(</span>h5_type<span class="sign">)</span>
    USE <a href="./H5f90global_f90.html#robo46">H5GLOBAL</a>
    IMPLICIT NONE
    INTEGER<span class="sign">,</span> INTENT<span class="sign">(</span>IN<span class="sign">)</span> <span class="sign">:</span><span class="sign">:</span> kind
    INTEGER<span class="sign">,</span> INTENT<span class="sign">(</span>IN<span class="sign">)</span> <span class="sign">:</span><span class="sign">:</span> flag
</pre>

<hr />
<a name="H5LIB2fh5open5ff"></a>
<a name="robo198"></a><h2>h5open_f</h2>

<p>[ <a href="#robo_top_of_doc">Top</a> ] [ <a href="#robo53">H5LIB</a> ] [ <a href="../robo_subroutines.html#robo_top_of_doc">Subroutines</a> ]</p>
<p class="item_name">NAME</p>
<pre>  <strong>h5open_f</strong>
</pre>
<p class="item_name">PURPOSE</p>
<pre>  Initializes the <a href="./HDF5_f90.html#robo76">HDF5</a> library and Fortran90 interface.
</pre>
<p class="item_name">OUTPUTS</p>
<pre>  error - error code
            Success:  0
            Failure: -1
</pre>
<p class="item_name">AUTHOR</p>
<pre>  Elena Pourmal
  August 12, 1999
</pre>
<p class="item_name">HISTORY</p>
<pre>  Explicit Fortran interfaces were added for
  called C functions (it is needed for Windows
  port).  February 28, 2001
</pre>
<p class="item_name">SOURCE</p>
<pre class="source">  SUBROUTINE <strong>h5open_f</strong><span class="sign">(</span>error<span class="sign">)</span>
    USE <a href="./H5f90global_f90.html#robo46">H5GLOBAL</a>
    IMPLICIT NONE
    INTEGER<span class="sign">,</span> INTENT<span class="sign">(</span>OUT<span class="sign">)</span> <span class="sign">:</span><span class="sign">:</span> error
</pre>

</div> <!-- content -->
<div id="footer">
<p>Generated from ./src/H5_ff.f90 on Sun Aug 14 2011 22:49:38
</p>
</div> <!-- footer -->
</body>
</html>