#include "petscvec.h" #undef __FUNCT__ #define __FUNCT__ "PetscMapSetUp" PetscErrorCode PETSCVEC_DLLEXPORT PetscMapSetUp(PetscMap *map)Collective on MPI_Comm
Notes: Typical calling sequence PetscMapInitialize(MPI_Comm,PetscMap *); PetscMapSetBlockSize(PetscMap*,1); PetscMapSetSize(PetscMap*,n) or PetscMapSetLocalSize(PetscMap*,N); PetscMapInitialize(PetscMap*); PetscMapGetSize(PetscMap*,PetscInt *);
Unlike regular PETSc objects you work with a pointer to the object instead of the object directly.
Level:intermediate
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