implementations.transfer_classes.TransferMesh_FFT2D module

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

Bases: space_transfer

Custon base_transfer class, implements Transfer.py

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

Rspace

spatial restriction matrix, dim. Nf x Nc

Pspace

spatial prolongation matrix, dim. Nc x Nf

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)