MapCreateMPI

Creates a map object.

Synopsis

#include "vec.h"   
int MapCreateMPI(MPI_Comm comm,int n,int N,Map *mm)
Collective on MPI_Comm

Input Parameters

comm - the MPI communicator to use
n - local vector length (or PETSC_DECIDE to have calculated if N is given)
N - global vector length (or PETSC_DECIDE to have calculated if n is given)

Output Parameter

mm -the map object

Suggested by

Robert Clay and Alan Williams, developers of ISIS++, Sandia National Laboratories.

Keywords

Map, create, MPI

See Also

MapDestroy(), MapGetLocalSize(), MapGetSize(), MapGetGlobalRange(),
MapGetLocalRange()

Level:developer
Location:src/vec/impls/mpi/pmap.c
Vector Index
Table of Contents