PetscDataTypeToMPIDataType

Converts the PETSc name of a datatype to its MPI name.

Synopsis

#include "petsc.h"    
int PetscDataTypeToMPIDataType(PetscDataType ptype,MPI_Datatype* mtype)
Not collective

Input Parameter

ptype -the PETSc datatype name (for example PETSC_DOUBLE)

Output Parameter

mtype -the MPI datatype (for example MPI_DOUBLE, ...)

See Also

PetscDataType, PetscDataTypeGetName()

Level:advanced
Location:
src/sys/src/objects/ptype.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages