|
libsim Versione 8.0.0
|
◆ volgrid_set_vol_2d()
Reset a 2-d x-y slice of a volume after the data have been modified. This method works both with volumes having allocated and non-allocated thisvoldati array, and it updates the requested slice. In case thisvoldati is already allocated, this is a no-operation while in the other case this method encodes the field provided into the grid_id object on file or in memory. Since this method may be called many times by a program, it is optimized for speed and it does not make any check about the matching size of the field and the array or about the allocation status of this, so it should be called only when everything has been checked to be in good shape.
Definizione alla linea 699 del file volgrid6d_class.F90. 700if (associated(this%time)) call write_unit(this%time, lunit)
701if (associated(this%level)) write(unit=lunit)this%level
702if (associated(this%timerange)) write(unit=lunit)this%timerange
703if (associated(this%var)) write(unit=lunit)this%var
704
705
706!! Volumi di valori dati
707
708if (associated(this%voldati)) write(unit=lunit)this%voldati
709
710if (.not. present(unit)) close(unit=lunit)
711
712end subroutine volgrid6d_write_on_file
|