#include "petscvec.h" #undef __FUNCT__ #define __FUNCT__ "PetscLayoutSetUp" PetscErrorCode PetscLayoutSetUp(PetscLayout map)Collective on MPI_Comm
Notes: Typical calling sequence PetscLayoutCreate(MPI_Comm,PetscLayout *); PetscLayoutSetBlockSize(PetscLayout,1); PetscLayoutSetSize(PetscLayout,n) or PetscLayoutSetLocalSize(PetscLayout,N); or both PetscLayoutSetUp(PetscLayout); PetscLayoutGetSize(PetscLayout,PetscInt *);
If the local size, global size are already set and range exists then this does nothing.
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