DMAdaptorSetTransferFunction#
Set the callback used by a DMAdaptor to transfer a solution vector from an old DM to the adapted DM
Synopsis#
#include "petscdmadaptor.h"
PetscErrorCode DMAdaptorSetTransferFunction(DMAdaptor adaptor, PetscErrorCode (*tfunc)(DMAdaptor adaptor, DM dm, Vec xin, DM newdm, Vec xout, PetscCtx ctx))
Logically Collective
Input Parameters#
adaptor - the
DMAdaptorobjecttfunc - 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