reading in data from analytical solution