read_2_columns_csv Subroutine

public subroutine read_2_columns_csv(filename, D)

Reads a two-column csv from file filename and stores it in D

Arguments

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

path to the file

real, intent(inout), allocatable :: D(:,:)

array containing the two columns read