DMAdaptorGetTransferFunction#
Get the callback used by a DMAdaptor to transfer a solution vector from an old DM to the adapted DM
Synopsis#
#include "petscdmadaptor.h"
PetscErrorCode DMAdaptorGetTransferFunction(DMAdaptor adaptor, PetscErrorCode (**tfunc)(DMAdaptor adaptor, DM dm, Vec xin, DM newdm, Vec xout, PetscCtx ctx))
Not Collective
Input Parameter#
adaptor - the
DMAdaptorobject
Output Parameter#
tfunc - pointer to the transfer callback
Calling sequence of tfunc#
adaptor - the
DMAdaptorobjectdm - the current
DMxin - the current solution
newdm - the adapted
DMxout - the transferred solution on
newdmctx - application context, set with
DMSetApplicationContext()
See Also#
Level#
developer
Location#
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages