libsim  Versione 7.2.1

◆ volgrid_set_vol_2d()

subroutine, public volgrid6d_class::volgrid_set_vol_2d ( type(volgrid6d), intent(inout)  this,
integer, intent(in)  ilevel,
integer, intent(in)  itime,
integer, intent(in)  itimerange,
integer, intent(in)  ivar,
real, dimension(:,:), intent(in)  voldati 
)

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.

Parametri
[in,out]thisobject in which slice has to be updated
[in]ilevelindex of vertical level of the slice
[in]itimeindex of time level of the slice
[in]itimerangeindex of timerange of the slice
[in]ivarindex of physical variable of the slice
[in]voldatiupdated values of the slice

Definizione alla linea 698 del file volgrid6d_class.F90.

699 !! Lettura da file unformatted di un intero volume Volgrid6d.
700 !! Questa subroutine comprende volgrid6d_alloc e volgrid6d_alloc_vol.
701 !! Il file puo' essere aperto opzionalmente dall'utente. Si possono passare
702 !! opzionalmente unità e nome del file altrimenti assegnati internamente a dei default; se assegnati internamente
703 !! tali parametri saranno in output.
704 subroutine volgrid6d_read_from_file (this,unit,filename,description,tarray,filename_auto)
705 
706 TYPE(volgrid6d),INTENT(OUT) :: this
707 integer,intent(inout),optional :: unit
708 character(len=*),INTENT(in),optional :: filename
709 character(len=*),intent(out),optional :: filename_auto
710 character(len=*),INTENT(out),optional :: description
711 integer,intent(out),optional :: tarray(8)

Generated with Doxygen.