DMForestTransferVecFromBase#
Transfer a Vec defined on the base DM of a DMFOREST onto the refined forest.
Synopsis#
#include "petscdmforest.h"
#include "petscdm.h"
#include "petscdmlabel.h"
PetscErrorCode DMForestTransferVecFromBase(DM dm, Vec vecIn, Vec vecOut)
Collective
Input Parameters#
dm - the
DMFORESTvecIn - vector defined on the base
DMreturned byDMForestGetBaseDM()
Output Parameter#
vecOut - vector on
dmthat receives the transferred values
Note#
Requires the forest implementation to provide a base-to-forest transfer routine; otherwise raises PETSC_ERR_SUP.
See Also#
Level#
intermediate
Location#
Implementations#
DMForestTransferVecFromBase_pforest() in src/dm/impls/forest/p4est/pforest.h
Index of all DMForest routines
Table of Contents for all manual pages
Index of all manual pages