read_file_text Subroutine

public subroutine read_file_text(fname, nx, ny, val, skip, forma, funit)

read ASCII file

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: fname

file name in reading

integer, intent(in) :: nx

column number for fname

integer, intent(in) :: ny

line number for fname

character(len=*), intent(out) :: val(nx,ny)

read data

integer, intent(in), optional :: skip

line number for skipping from the head

character(len=*), intent(in), optional :: forma

Fortran format in reading

integer, intent(in), optional :: funit

file unit