Fourier transform in NGSolve

Hello everyone!

I was wondering if there was any best way to get the FFT from a GridFunction in NGSolve?

Best,
Paul

Hm …

what do you assume from you mesh and your space ?
with structured meshes and Nodal-P1 you can take your coefficient vector and fead it into Python - FFT

otherwise, you have to evaluate your GridFunction on a regular grid of points (using geometric search) first.

Joachim

Hm …

what do you assume from you mesh and your space ?
with structured meshes and Nodal-P1 you can take your coefficient vector and fead it into Python - FFT

otherwise, you have to evaluate your GridFunction on a regular grid of points (using geometric search) first.

Joachim