SCALAPACK
2.2.2
LAPACK: Linear Algebra PACKage
Loading...
Searching...
No Matches
blacs_pcoord_.c
Go to the documentation of this file.
1
#include "
Bdef.h
"
2
3
#if (INTFACE == C_CALL)
4
void
Cblacs_pcoord
(
Int
ConTxt,
Int
nodenum,
Int
*prow,
Int
*pcol)
5
#else
6
F_VOID_FUNC
blacs_pcoord_
(
Int
*ConTxt,
Int
*nodenum,
Int
*prow,
Int
*pcol)
7
#endif
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
}
Int
#define Int
Definition
Bconfig.h:22
MGetConTxt
#define MGetConTxt(Context, ctxtptr)
Definition
Bdef.h:200
F_VOID_FUNC
#define F_VOID_FUNC
Definition
Bdef.h:232
Mpcoord
#define Mpcoord(ctxt, node, prow, pcol)
Definition
Bdef.h:165
Mpval
#define Mpval(para)
Definition
Bdef.h:261
Bdef.h
Cblacs_pcoord
void Cblacs_pcoord()
blacs_pcoord_
F_VOID_FUNC blacs_pcoord_(Int *ConTxt, Int *nodenum, Int *prow, Int *pcol)
Definition
blacs_pcoord_.c:6
bLaCsCoNtExT::ascp
BLACSSCOPE ascp
Definition
Bdef.h:25
bLaCsCoNtExT
Definition
Bdef.h:24
bLaCsScOpE::Np
Int Np
Definition
Bdef.h:17
BLACS
SRC
blacs_pcoord_.c
Generated on Sun Jan 12 2025 15:58:37 for SCALAPACK by
1.9.8