Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(extent), | intent(in) | :: | dims | Extent of the domain:imx,jmx,kmx |
subroutine setup_interpolant_scheme(dims)
implicit none
type(extent), intent(in) :: dims
!< Extent of the domain:imx,jmx,kmx
call alloc(x_qp_left, 0, dims%imx+1, 1, dims%jmx-1, 1, dims%kmx-1, 1, dims%n_var, &
errmsg='Error: Unable to allocate memory for x_qp_left.')
call alloc(x_qp_right, 0, dims%imx+1, 1, dims%jmx-1, 1, dims%kmx-1, 1, dims%n_var, &
errmsg='Error: Unable to allocate memory for x_qp_right.')
call alloc(y_qp_left, 1, dims%imx-1, 0, dims%jmx+1, 1, dims%kmx-1, 1, dims%n_var, &
errmsg='Error: Unable to allocate memory for y_qp_left.')
call alloc(y_qp_right, 1, dims%imx-1, 0, dims%jmx+1, 1, dims%kmx-1, 1, dims%n_var, &
errmsg='Error: Unable to allocate memory for y_qp_right.')
call alloc(z_qp_left, 1, dims%imx-1, 1, dims%jmx-1, 0, dims%kmx+1, 1, dims%n_var, &
errmsg='Error: Unable to allocate memory for z_qp_left.')
call alloc(z_qp_right, 1, dims%imx-1, 1, dims%jmx-1, 0, dims%kmx+1, 1, dims%n_var, &
errmsg='Error: Unable to allocate memory for z_qp_right.')
call alloc(pdif, 0, dims%imx, 0, dims%jmx, 0, dims%kmx, &
errmsg='Error: Unable to allocate memory for pdif')
end subroutine setup_interpolant_scheme