petsc-3.3-p7 2013-05-11

PetscLayoutDuplicate

creates a new PetscLayout with the same information as a given one. If the PetscLayout already exists it is destroyed first.

Synopsis

#include "petscvec.h"   
PetscErrorCode  PetscLayoutDuplicate(PetscLayout in,PetscLayout *out)
Collective on PetscLayout

Input Parameter

in -input PetscLayout to be duplicated

Output Parameter

out -the copy

Notes: PetscLayoutSetUp() does not need to be called on the resulting PetscLayout

See Also

PetscLayoutCreate(), PetscLayoutDestroy(), PetscLayoutSetUp(), PetscLayoutReference()

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