MPIU_SCALAR#

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

Notes#

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/vec/is/sf/tutorials/ex2.c.html
src/vec/is/sf/tutorials/ex3.c.html
src/dm/impls/plex/tutorials/ex14.c.html
src/ksp/ksp/tutorials/ex42.c.html
src/ksp/ksp/tutorials/ex43.c.html
src/snes/tutorials/ex13.c.html
src/snes/tutorials/ex48.c.html
src/ts/tutorials/ex14.c.html
src/tao/unconstrained/tutorials/eptorsion2f.F90.html
src/tao/bound/tutorials/plate2f.F90.html
src/tao/leastsquares/tutorials/chwirut2f.F90.html


Edit on GitLab

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