Handling 1D case, sinusoidal and point source