MPIU_SCALAR#

Portable MPI datatype corresponding to PetscScalar independent of the precision of PetscScalar

Note#

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

See Also#

PetscReal, PetscScalar, PetscComplex, PetscInt, MPIU_REAL, MPIU_COMPLEX, MPIU_INT

Level#

beginner

Location#

include/petscmath.h

Examples#

src/snes/tutorials/ex13.c
src/vec/is/sf/tutorials/ex2.c
src/ts/tutorials/ex14.c
src/dm/impls/plex/tutorials/ex14.c
src/ksp/ksp/tutorials/ex43.c
src/vec/is/sf/tutorials/ex3.c
src/snes/tutorials/ex48.c
src/ksp/ksp/tutorials/ex42.c


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