Skip to main content
`Ctrl`+`K`

# MPIU_REAL

Portable MPI datatype corresponding to `PetscReal` independent of what precision `PetscReal` is in

## Note

In MPI calls that require an MPI datatype that matches a `PetscReal` or array of `PetscReal` values, pass this value.

## See Also

`PetscReal`, `PetscScalar`, `PetscComplex`, `PetscInt`, `MPIU_SCALAR`, `MPIU_COMPLEX`, `MPIU_INT`

## Level

beginner

## Location

include/petscmath.h

## Examples

src/tao/leastsquares/tutorials/chwirut2.c
src/tao/constrained/tutorials/ex1.c
src/sys/tutorials/ex3f90.F90
src/sys/classes/random/tutorials/ex2.c
src/tao/bound/tutorials/plate2f.F90
src/snes/tutorials/ex48.c
src/dm/impls/plex/tutorials/ex15.c
src/snes/tutorials/ex13.c
src/tao/bound/tutorials/plate2.c
src/ksp/ksp/tutorials/ex82.c

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