implementations.transfer_classes.TransferMesh_FFT module

class mesh_to_mesh_fft(fine_prob, coarse_prob, params)[source]

Bases: SpaceTransfer

Custom base_transfer class, implements Transfer.py

This implementation can restrict and prolong between 1d meshes with FFT for periodic boundaries

irfft_object_fine

planned FFT for backward transformation, real-valued output

rfft_object_coarse

planned real-valued FFT for forward transformation

prolong(G)[source]

Prolongation implementation

Parameters:

G – the coarse level data (easier to access than via the coarse attribute)

restrict(F)[source]

Restriction implementation

Parameters:

F – the fine level data (easier to access than via the fine attribute)