read_node_coords Subroutine

public subroutine read_node_coords(path, coords, n, is_ok, message)

Read strictly-increasing node coordinates from a text file. One value per line; blank lines and lines beginning with '#' are ignored.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: path
real(kind=wp), intent(out), allocatable :: coords(:)
integer, intent(out) :: n
logical, intent(out) :: is_ok
character(len=*), intent(out) :: message