Skip to main content
Ctrl+K
PETSc v3.23.2-148-g022ab154a4ee documentation - Home
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • MPIU_REAL

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/unconstrained/tutorials/minsurf2.c
src/tao/unconstrained/tutorials/eptorsion2.c
src/tao/bound/tutorials/plate2.c
src/snes/tutorials/ex48.c
src/ts/tutorials/ex9.c
src/tao/leastsquares/tutorials/chwirut2.c
src/ts/tutorials/ex14.c
src/snes/tutorials/ex13.c
src/tao/constrained/tutorials/ex1.c
src/ksp/ksp/tutorials/ex82.c


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

On this page
  • Note
  • See Also
  • Level
  • Location
  • Examples
Edit on GitLab
Show Source

© Copyright 1991-2025, UChicago Argonne, LLC and the PETSc Development Team.

Created using Sphinx 7.3.7.

Built with the PyData Sphinx Theme 0.15.1.

Last updated on 2025-05-13T03:44:33-0500 (v3.23.2-148-g022ab154a4ee).