Neko 1.99.9
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
hdf5_file Module Reference

HDF5 file format.

Data Types

type  hdf5_checkpoint_layout_t
 Where the data in a checkpoint file sits and how it maps onto the running case. Built once per read and shared by every dataset in the file, so a mesh-to-mesh point search happens once rather than per field. More...
 
type  hdf5_file_t
 Interface for HDF5 files. More...
 

Functions/Subroutines

character(len=1024) function hdf5_file_get_next_output_fname (this)
 Get the physical file name generated by the next write.
 
subroutine hdf5_file_set_overwrite (this, overwrite)
 Set the overwrite flag for HDF5 files.
 
character(len=1024) function file_get_fname (this)
 Return the file name with the start counter.
 
subroutine hdf5_file_set_precision (this, precision)
 Set the precision for the output (single or double)
 
subroutine hdf5_checkpoint_layout_free (this)
 Release the interpolation state and the function space of a layout. The mesh is only referenced; it belongs to the case or the checkpoint.
 
subroutine hdf5_file_open (this, mode)
 Open a HDF5 file in a given mode.
 
subroutine hdf5_file_close (this)
 Close the file.
 
subroutine hdf5_file_set_group (this, group_name_path)
 Set the active group for HDF5 files.
 
subroutine hdf5_file_write (this, data, t)
 Write data in HDF5 format.
 
subroutine hdf5_file_read (this, data)
 Read data in HDF5 format.
 
subroutine hdf5_file_write_dataset (this, data)
 
subroutine hdf5_file_read_dataset (this, data_name, data, strategy)
 
subroutine hdf5_file_write_attribute (this, data_name, data)
 
subroutine hdf5_file_read_attribute (this, data_name, data, exist)
 
subroutine hdf5_file_write_vector (this, vec)
 
subroutine hdf5_file_write_matrix (this, mat)
 
subroutine hdf5_file_write_field (this, fld)
 
subroutine hdf5_file_read_vector (this, data_name, vec, strategy)
 
subroutine hdf5_file_read_matrix (this, data_name, mat, strategy)
 
subroutine hdf5_file_write_int_attribute (this, attr_name, attr)
 
subroutine hdf5_file_write_rp_attribute (this, attr_name, attr)
 
subroutine hdf5_file_read_int_attribute (this, attr_name, attr, attr_exists)
 
subroutine hdf5_file_read_rp_attribute (this, attr_name, attr, attr_exists)
 

Function/Subroutine Documentation

◆ file_get_fname()

character(len=1024) function hdf5_file::file_get_fname ( class(hdf5_file_t), intent(in)  this)
private

Definition at line 166 of file hdf5_file.F90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hdf5_checkpoint_layout_free()

subroutine hdf5_file::hdf5_checkpoint_layout_free ( class(hdf5_checkpoint_layout_t), intent(inout)  this)
private

Definition at line 193 of file hdf5_file.F90.

Here is the call graph for this function:

◆ hdf5_file_close()

subroutine hdf5_file::hdf5_file_close ( class(hdf5_file_t), intent(inout)  this)
private

Definition at line 2282 of file hdf5_file.F90.

◆ hdf5_file_get_next_output_fname()

character(len=1024) function hdf5_file::hdf5_file_get_next_output_fname ( class(hdf5_file_t), intent(in)  this)

Definition at line 134 of file hdf5_file.F90.

Here is the call graph for this function:

◆ hdf5_file_open()

subroutine hdf5_file::hdf5_file_open ( class(hdf5_file_t), intent(inout)  this,
character(len=1), intent(in)  mode 
)
private

Definition at line 2275 of file hdf5_file.F90.

◆ hdf5_file_read()

subroutine hdf5_file::hdf5_file_read ( class(hdf5_file_t)  this,
class(*), intent(inout), target  data 
)
private
Parameters
dataData object to populate.

Definition at line 2306 of file hdf5_file.F90.

◆ hdf5_file_read_attribute()

subroutine hdf5_file::hdf5_file_read_attribute ( class(hdf5_file_t), intent(inout)  this,
character(len=*), intent(in)  data_name,
class(*), intent(inout)  data,
logical, intent(inout)  exist 
)
private

Definition at line 2333 of file hdf5_file.F90.

◆ hdf5_file_read_dataset()

subroutine hdf5_file::hdf5_file_read_dataset ( class(hdf5_file_t), intent(inout)  this,
character(len=*), intent(in)  data_name,
class(*), intent(inout)  data,
character(len=*), intent(in), optional  strategy 
)
private

Definition at line 2318 of file hdf5_file.F90.

◆ hdf5_file_read_int_attribute()

subroutine hdf5_file::hdf5_file_read_int_attribute ( class(hdf5_file_t), intent(inout)  this,
character(len=*), intent(in)  attr_name,
integer, intent(inout)  attr,
logical, intent(inout)  attr_exists 
)
private

Definition at line 2389 of file hdf5_file.F90.

◆ hdf5_file_read_matrix()

subroutine hdf5_file::hdf5_file_read_matrix ( class(hdf5_file_t)  this,
character(len=*), intent(in)  data_name,
type(matrix_t), intent(inout)  mat,
character(len=*), intent(in), optional  strategy 
)
private

Definition at line 2367 of file hdf5_file.F90.

◆ hdf5_file_read_rp_attribute()

subroutine hdf5_file::hdf5_file_read_rp_attribute ( class(hdf5_file_t), intent(inout)  this,
character(len=*), intent(in)  attr_name,
real(kind=rp), intent(inout)  attr,
logical, intent(inout)  attr_exists 
)
private

Definition at line 2397 of file hdf5_file.F90.

◆ hdf5_file_read_vector()

subroutine hdf5_file::hdf5_file_read_vector ( class(hdf5_file_t)  this,
character(len=*), intent(in)  data_name,
type(vector_t), intent(inout)  vec,
character(len=*), intent(in), optional  strategy 
)
private

Definition at line 2359 of file hdf5_file.F90.

◆ hdf5_file_set_group()

subroutine hdf5_file::hdf5_file_set_group ( class(hdf5_file_t), intent(inout)  this,
character(len=*), intent(in), optional  group_name_path 
)
private

Definition at line 2288 of file hdf5_file.F90.

◆ hdf5_file_set_overwrite()

subroutine hdf5_file::hdf5_file_set_overwrite ( class(hdf5_file_t), intent(inout)  this,
logical, intent(in)  overwrite 
)
private

Definition at line 159 of file hdf5_file.F90.

◆ hdf5_file_set_precision()

subroutine hdf5_file::hdf5_file_set_precision ( class(hdf5_file_t), intent(inout)  this,
integer, intent(in)  precision 
)
private

Definition at line 185 of file hdf5_file.F90.

◆ hdf5_file_write()

subroutine hdf5_file::hdf5_file_write ( class(hdf5_file_t), intent(inout)  this,
class(*), intent(in), target  data,
real(kind=dp), intent(in), optional  t 
)
private
Parameters
dataData object to write.
[optional]t Simulation time.

Definition at line 2297 of file hdf5_file.F90.

◆ hdf5_file_write_attribute()

subroutine hdf5_file::hdf5_file_write_attribute ( class(hdf5_file_t), intent(inout)  this,
character(len=*), intent(in)  data_name,
class(*), intent(inout)  data 
)
private

Definition at line 2326 of file hdf5_file.F90.

◆ hdf5_file_write_dataset()

subroutine hdf5_file::hdf5_file_write_dataset ( class(hdf5_file_t), intent(inout)  this,
class(*), intent(inout)  data 
)
private

Definition at line 2312 of file hdf5_file.F90.

◆ hdf5_file_write_field()

subroutine hdf5_file::hdf5_file_write_field ( class(hdf5_file_t), intent(inout)  this,
type(field_t), intent(inout)  fld 
)
private

Definition at line 2353 of file hdf5_file.F90.

◆ hdf5_file_write_int_attribute()

subroutine hdf5_file::hdf5_file_write_int_attribute ( class(hdf5_file_t), intent(inout)  this,
character(len=*), intent(in)  attr_name,
integer, intent(in)  attr 
)
private

Definition at line 2375 of file hdf5_file.F90.

◆ hdf5_file_write_matrix()

subroutine hdf5_file::hdf5_file_write_matrix ( class(hdf5_file_t), intent(inout)  this,
type(matrix_t), intent(inout)  mat 
)
private

Definition at line 2347 of file hdf5_file.F90.

◆ hdf5_file_write_rp_attribute()

subroutine hdf5_file::hdf5_file_write_rp_attribute ( class(hdf5_file_t), intent(inout)  this,
character(len=*), intent(in)  attr_name,
real(kind=rp), intent(in)  attr 
)
private

Definition at line 2382 of file hdf5_file.F90.

◆ hdf5_file_write_vector()

subroutine hdf5_file::hdf5_file_write_vector ( class(hdf5_file_t), intent(inout)  this,
type(vector_t), intent(inout)  vec 
)
private

Definition at line 2341 of file hdf5_file.F90.