OpenRadioss
2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
blacs_pnum_.c File Reference
#include "
Bdef.h
"
Go to the source code of this file.
Functions
F_INT_FUNC
blacs_pnum_
(
Int
*ConTxt,
Int
*prow,
Int
*pcol)
Function Documentation
◆
blacs_pnum_()
F_INT_FUNC
blacs_pnum_
(
Int
*
ConTxt
,
Int
*
prow
,
Int
*
pcol
)
Definition at line
6
of file
blacs_pnum_.c
.
8
{
9
BLACSCONTEXT
*ctxt;
10
11
MGetConTxt
(
Mpval
(ConTxt), ctxt);
12
if
( (
Mpval
(prow) >= 0) && (
Mpval
(prow) < ctxt->
cscp
.
Np
) &&
13
(
Mpval
(pcol) >= 0) && (
Mpval
(pcol) < ctxt->
rscp
.
Np
) )
14
return
(
Mkpnum
(ctxt,
Mpval
(prow),
Mpval
(pcol)) );
15
else
return
(-1);
16
}
MGetConTxt
#define MGetConTxt(Context, ctxtptr)
Definition
Bdef.h:200
BLACSCONTEXT
struct bLaCsCoNtExT BLACSCONTEXT
Definition
Bdef.h:22
Mpval
#define Mpval(para)
Definition
Bdef.h:261
Mkpnum
#define Mkpnum(ctxt, prow, pcol)
Definition
Bdef.h:173
bLaCsCoNtExT::rscp
BLACSSCOPE rscp
Definition
Bdef.h:25
bLaCsCoNtExT::cscp
BLACSSCOPE cscp
Definition
Bdef.h:25
bLaCsScOpE::Np
Int Np
Definition
Bdef.h:17
engine
extlib
scalapack-2.2.0
BLACS
SRC
blacs_pnum_.c
Generated by
1.15.0