Allocate memoery to all array which store state the face.
subroutine setup_scheme()
!< Allocate memoery to all array which store state
!< the face.
implicit none
call dmsg(1, 'ppm', 'setup_ppm')
call alloc(x_qp_face_estimate, 0, imx+1, 1, jmx-1, 1, kmx-1, 1, n_var, &
errmsg='Error: Unable to allocate memory for ' // &
'x_qp_face_estimate.')
call alloc(y_qp_face_estimate, 1, imx-1, 0, jmx+1, 1, kmx-1, 1, n_var, &
errmsg='Error: Unable to allocate memory for ' // &
'y_qp_face_estimate.')
call alloc(z_qp_face_estimate, 1, imx-1, 1, jmx-1, 0, kmx+1, 1, n_var, &
errmsg='Error: Unable to allocate memory for ' // &
'z_qp_face_estimate.')
call alloc(x_qp_left, 0, imx+1, 1, jmx-1, 1, kmx-1, 1, n_var, &
errmsg='Error: Unable to allocate memory for ' // &
'x_qp_left.')
call alloc(x_qp_right, 0, imx+1, 1, jmx-1, 1, kmx-1, 1, n_var, &
errmsg='Error: Unable to allocate memory for ' // &
'x_qp_right.')
call alloc(y_qp_left, 1, imx-1, 0, jmx+1, 1, kmx-1, 1, n_var, &
errmsg='Error: Unable to allocate memory for ' // &
'y_qp_left.')
call alloc(y_qp_right, 1, imx-1, 0, jmx+1, 1, kmx-1, 1, n_var, &
errmsg='Error: Unable to allocate memory for ' // &
'y_qp_right.')
call alloc(z_qp_left, 1, imx-1, 1, jmx-1, 0, kmx+1, 1, n_var, &
errmsg='Error: Unable to allocate memory for ' // &
'z_qp_left.')
call alloc(z_qp_right, 1, imx-1, 1, jmx-1, 0, kmx+1, 1, n_var, &
errmsg='Error: Unable to allocate memory for ' // &
'z_qp_right.')
call alloc(pdif, 0, imx, 0, jmx, 0, kmx, &
errmsg='Error: Unable to allocate memory for' // &
'pdif')
end subroutine setup_scheme