|
◆ 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] | this | generic grid descriptor |
[out] | x | x coordinate of every point, linearly computed between grid extremes |
[out] | y | y 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.
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)
|