petsc-master 2015-04-17
Report Typos and Errors


given a map where you have set either the global or local size sets up the map so that it may be used.


#undef __FUNCT__
#define __FUNCT__ "PetscLayoutSetUp"
PetscErrorCode  PetscLayoutSetUp(PetscLayout map)
Collective on MPI_Comm

Input Parameters

map -pointer to the map

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.

Fortran Notes

Not available from Fortran

See Also

PetscLayoutSetLocalSize(), PetscLayoutSetSize(), PetscLayoutGetSize(), PetscLayoutGetLocalSize(), PetscLayout, PetscLayoutDestroy(),
PetscLayoutGetRange(), PetscLayoutGetRanges(), PetscLayoutSetBlockSize(), PetscLayoutGetBlockSize(), PetscLayoutCreate()

Index of all IS routines
Table of Contents for all manual pages
Index of all manual pages