Reads all solids from disk using H5HUT.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(solid_set), | intent(inout) | :: | this |
A collection of solids |
||
| integer, | intent(out) | :: | iter |
Iteration at write |
||
| real(kind=wp), | intent(out) | :: | time |
Time at write |
impure subroutine solid_set_ReadH5HUT(this,iter,time) !> Reads all solids from disk using H5HUT. implicit none class(solid_set), intent(inout) :: this !! A collection of solids integer, intent(out) :: iter !! Iteration at write real(wp), intent(out) :: time !! Time at write ! Work variables type(h5hut_obj) :: h5 !! H5hut structure integer :: n do n=1,this%count call this%p(n)%Read(iter,time) ! Add some attributes call h5%Initialize(trim(adjustl(this%p(n)%read_file)),"RW",this%parallel) call h5%ReadAttributes('Motion',this%p(n)%motion) call h5%ReadAttributes('X_c',this%p(n)%xc) call h5%ReadAttributes('V_c',this%p(n)%vc) call h5%ReadAttributes('A_c',this%p(n)%ac) call h5%ReadAttributes('Freq',this%p(n)%fr) call h5%Finalize end do return end subroutine solid_set_ReadH5HUT