SCALAPACK
2.2.2
LAPACK: Linear Algebra PACKage
Toggle main menu visibility
Main Page
Data Types
Data Types List
Data Type Index
Data Fields
All
a
b
c
d
f
g
i
l
m
n
o
p
r
s
t
u
z
Variables
a
b
c
d
f
g
i
l
m
n
o
p
r
s
t
u
z
Files
File List
File Members
All
!
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Functions/Subroutines
!
a
b
c
d
f
g
i
j
k
l
m
n
p
r
s
t
x
z
Variables
Typedefs
a
b
c
f
g
h
m
s
t
v
Macros
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
y
z
•
All
Classes
Files
Functions
Variables
Typedefs
Macros
Loading...
Searching...
No Matches
BI_ContxtNum.c
Go to the documentation of this file.
1
#include "
Bdef.h
"
2
3
Int
BI_ContxtNum
(
BLACSCONTEXT
*ctxt)
4
/*
5
* Returns the integer ID of ctxt
6
*/
7
{
8
Int
i;
9
extern
Int
BI_MaxNCtxt
;
10
extern
BLACSCONTEXT
**
BI_MyContxts
;
11
12
if
(ctxt == NULL)
return
(-1);
13
for
(i=0; i <
BI_MaxNCtxt
; i++)
if
(
BI_MyContxts
[i] == ctxt)
break
;
14
if
(i ==
BI_MaxNCtxt
)
15
BI_BlacsErr
(-1, -1,
"BLACS INTERNAL ROUTINE"
,
"illegal context"
);
16
return
(i);
17
}
3
Int
BI_ContxtNum
(
BLACSCONTEXT
*ctxt) {
…
}
BI_ContxtNum
Int BI_ContxtNum(BLACSCONTEXT *ctxt)
Definition
BI_ContxtNum.c:3
BI_MyContxts
BLACSCONTEXT ** BI_MyContxts
Definition
BI_GlobalVars.c:11
BI_MaxNCtxt
Int BI_MaxNCtxt
Definition
BI_GlobalVars.c:5
Int
#define Int
Definition
Bconfig.h:22
BI_BlacsErr
void BI_BlacsErr(Int ConTxt, Int line, char *file, char *form,...)
Definition
BI_BlacsErr.c:3
Bdef.h
bLaCsCoNtExT
Definition
Bdef.h:24
BLACS
SRC
BI_ContxtNum.c
Generated on Sun Jan 12 2025 15:58:37 for SCALAPACK by
1.9.8