Writes Eulerian/3D data to a h5hut file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(h5hut_obj), | intent(inout) | :: | this |
A H5hut object |
||
| character(len=*), | intent(in) | :: | name |
Variable name |
||
| class(*), | intent(in) | :: | array(:,:,:) |
3-D data array |
||
| integer, | intent(in) | :: | lo(3) |
Low bounds |
||
| integer, | intent(in) | :: | hi(3) |
High bounds |
impure subroutine h5hut_obj_Write3D(this,name,array,lo,hi) !> Writes Eulerian/3D data to a h5hut file. implicit none class(h5hut_obj), intent(inout) :: this !! A H5hut object class(*), intent(in) :: array(:,:,:) !! 3-D data array character(len=*), intent(in) :: name !! Variable name integer, intent(in) :: lo(3) !! Low bounds integer, intent(in) :: hi(3) !! High bounds ! Work variables character(len=:), allocatable :: gname gname = trim(adjustl(this%step_name))//'Block/'//trim(adjustl(name)) ! Create paraent block group if needed if (.not.this%block_group_exists) then call this%hdf5%CreateGroup(trim(adjustl(this%step_name))//'Block/') this%block_group_exists = .true. end if call this%hdf5%CreateGroup(gname) call this%hdf5%Write(gname,'0', array, lo,hi) return end subroutine h5hut_obj_Write3D