ScaLAPACK  2.0.2
ScaLAPACK: Scalable Linear Algebra PACKage
blacs_pcoord_.c File Reference
#include "Bdef.h"
Include dependency graph for blacs_pcoord_.c:

Go to the source code of this file.

Functions/Subroutines

void Cblacs_pcoord (int ConTxt, int nodenum, int *prow, int *pcol)

Function/Subroutine Documentation

void Cblacs_pcoord ( int  ConTxt,
int  nodenum,
int *  prow,
int *  pcol 
)

Definition at line 4 of file blacs_pcoord_.c.

{
   BLACSCONTEXT *ctxt;

   MGetConTxt(Mpval(ConTxt), ctxt);
   if ( (Mpval(nodenum) >= 0) && (Mpval(nodenum) < ctxt->ascp.Np) )
   {
      Mpcoord(ctxt, Mpval(nodenum), *prow, *pcol);
   }
   else *prow = *pcol = -1;
}