#include "petscvec.h" PetscErrorCode PETSCVEC_DLLEXPORT PetscLayoutCopy(PetscLayout in,PetscLayout *out)Collective on PetscLayout
Notes: PetscLayoutSetUp() does not need to be called on the resulting PetscLayout
Developer Note: Unlike all other copy routines this destroys any input object and makes a new one. This routine should be fixed to have a PetscLayoutDuplicate() that ONLY creates a new one and a PetscLayoutCopy() that truely copies the data and does not delete the old object.
Level:developer
Location:src/vec/vec/impls/mpi/pmap.c
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages