initial FFT-based homogenization for scalar elliptic linear problem
rearrangement of functions