implementations.transfer_classes.TransferPETScDMDA module

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

Bases: space_transfer

This implementation can restrict and prolong between PETSc DMDA grids

prolong(G)[source]

Prolongation implementation

Parameters:

G – the coarse level data

restrict(F)[source]

Restriction implementation

Parameters:

F – the fine level data