This repo implements the WaveHoltz algorithm using the finite difference method. The code included can be used to solve the wave equation in the time domain:
Or solve the wave equation in the frequency domain:
In the latter case, the WaveHoltz iteration is used: