read_plot3d_2d Subroutine

public subroutine read_plot3d_2d(path, binary, xg, yg, ni, nj, is_ok, message)

Read a single-block 2D Plot3D grid. Header ni nj, then all x(i,j) (i fastest), then all y(i,j). ASCII (binary=.false.) or Fortran unformatted sequential (binary=.true.).

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: path
logical, intent(in) :: binary
real(kind=wp), intent(out), allocatable :: xg(:,:)
real(kind=wp), intent(out), allocatable :: yg(:,:)
integer, intent(out) :: ni
integer, intent(out) :: nj
logical, intent(out) :: is_ok
character(len=*), intent(out) :: message