libsim  Versione6.3.0
subroutine, public volgrid6d_var_hor_comp_index ( type(volgrid6d_var), dimension(:), intent(in)  this,
integer, dimension(:), pointer  xind,
integer, dimension(:), pointer  yind 
)

Locate variables which are horizontal components of a vector field.

This method scans the volgrid6d_var array provided and locates pairs of variables which are x and y component of the same vector field. On exit, the arrays xind(:) and yind(:) are allocated to a size equal to the number of vector fields detected and their corresponding elements will point to x and y components of the same vector field. If inconsistencies are found, e.g. only one component is detected for a field, or more than one input variable define the same component, then xind and xind are nullified, thus an error condition can be tested as .NOT.ASSOCIATED(xind). If no vector fields are found then xind and xind are allocated to zero size. If xind and yind are ASSOCIATED() after return, they should be DEALLOCATEd by the calling procedure.

Parametri
[in]thisarray of volgrid6d_var objects (grib variable) to test
yindoutput arrays of indices pointing to matching horizontal components, allocated by this method

Definizione alla linea 1480 del file volgrid6d_var_class.F90.


Generated with Doxygen.