libsim  Versione6.3.0

◆ griddim_gen_coord()

subroutine, public grid_class::griddim_gen_coord ( type(griddim_def), intent(in)  this,
double precision, dimension(:,:), intent(out)  x,
double precision, dimension(:,:), intent(out)  y 
)

Generates coordinates of every point of a generic grid from the grid description.

The number of grid points along both direction is guessed from the shape of x and y arrays, which must be conformal.

Parametri
[in]thisgeneric grid descriptor
[out]xx coordinate of every point, linearly computed between grid extremes
[out]yy coordinate of every point, linearly computed between grid extremes, it should have the same shape as x(:,:)

Definizione alla linea 909 del file grid_class.F90.

909 #endif
910 
911 
912  CALL proj(this, lofirst, lafirst, x1, y1)
913  IF (iscansnegatively == 0) THEN
914  this%grid%grid%xmin = x1
915  this%grid%grid%xmax = x1 + this%grid%grid%dx*dble(this%dim%nx - 1)

Generated with Doxygen.