SCALAPACK 2.2.2
LAPACK: Linear Algebra PACKage
Loading...
Searching...
No Matches

◆ blacs_pcoord_()

F_VOID_FUNC blacs_pcoord_ ( Int ConTxt,
Int nodenum,
Int prow,
Int pcol 
)

Definition at line 6 of file blacs_pcoord_.c.

8{
9 BLACSCONTEXT *ctxt;
10
11 MGetConTxt(Mpval(ConTxt), ctxt);
12 if ( (Mpval(nodenum) >= 0) && (Mpval(nodenum) < ctxt->ascp.Np) )
13 {
14 Mpcoord(ctxt, Mpval(nodenum), *prow, *pcol);
15 }
16 else *prow = *pcol = -1;
17}
#define MGetConTxt(Context, ctxtptr)
Definition Bdef.h:200
#define Mpcoord(ctxt, node, prow, pcol)
Definition Bdef.h:165
#define Mpval(para)
Definition Bdef.h:261
BLACSSCOPE ascp
Definition Bdef.h:25
Int Np
Definition Bdef.h:17