1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD> <link rel="canonical" href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscMPIInt.html" />
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>PetscMPIInt</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<div id="version" align=right><b>petsc-3.4.2 2013-07-02</b></div>
<A NAME="PetscMPIInt"><H1>PetscMPIInt</H1></A>
datatype used to represent 'int' parameters to MPI functions.
<P>
Notes: usually this is the same as <A HREF="../Sys/PetscInt.html#PetscInt">PetscInt</A>, but if PETSc was built with --with-64-bit-indices but
standard C/Fortran integers are 32 bit then this is NOT the same as <A HREF="../Sys/PetscInt.html#PetscInt">PetscInt</A> it remains 32 bit
<P>
PetscMPIIntCast(a,&b) checks if the given <A HREF="../Sys/PetscInt.html#PetscInt">PetscInt</A> a will fit in a <A HREF="../Sys/PetscMPIInt.html#PetscMPIInt">PetscMPIInt</A>, if not it
generates a PETSC_ERR_ARG_OUTOFRANGE error.
<P>
<H3><FONT COLOR="#CC3333">See Also</FONT></H3>
<A HREF="../Sys/PetscBLASInt.html#PetscBLASInt">PetscBLASInt</A>, <A HREF="../Sys/PetscInt.html#PetscInt">PetscInt</A>
<BR>
<P>
<P><B><P><B><FONT COLOR="#CC3333">Level:</FONT></B>intermediate
<BR><FONT COLOR="#CC3333">Location:</FONT></B><A HREF="../../../include/petscsys.h.html#PetscMPIInt">include/petscsys.h</A>
<BR><A HREF="./index.html">Index of all Sys routines</A>
<BR><A HREF="../../index.html">Table of Contents for all manual pages</A>
<BR><A HREF="../singleindex.html">Index of all manual pages</A>
</BODY></HTML>
|