OpenRadioss
2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
kbrid_.c File Reference
#include "
Bdef.h
"
Go to the source code of this file.
Functions
F_INT_FUNC
kbrid_
(
Int
*ConTxt,
F_CHAR
scope,
Int
*rsrc,
Int
*csrc)
Function Documentation
◆
kbrid_()
F_INT_FUNC
kbrid_
(
Int
*
ConTxt
,
F_CHAR
scope
,
Int
*
rsrc
,
Int
*
csrc
)
Definition at line
6
of file
kbrid_.c
.
8
{
9
Int
msgid;
10
char
tmpscope;
11
BLACSCONTEXT
*ctxt;
12
13
MGetConTxt
(
Mpval
(ConTxt), ctxt);
14
tmpscope =
Mlowcase
(
F2C_CharTrans
(scope));
15
switch
(tmpscope)
16
{
17
case
'c'
:
18
ctxt->
scp
= &ctxt->
cscp
;
19
break
;
20
case
'r'
:
21
ctxt->
scp
= &ctxt->
cscp
;
22
break
;
23
case
'a'
:
24
ctxt->
scp
= &ctxt->
cscp
;
25
break
;
26
}
27
msgid =
Mscopeid
(ctxt);
28
return
(msgid);
29
}
Int
#define Int
Definition
Bconfig.h:22
F2C_CharTrans
#define F2C_CharTrans(c)
Definition
Bdef.h:246
MGetConTxt
#define MGetConTxt(Context, ctxtptr)
Definition
Bdef.h:200
BLACSCONTEXT
struct bLaCsCoNtExT BLACSCONTEXT
Definition
Bdef.h:22
Mscopeid
#define Mscopeid(ctxt)
Definition
Bdef.h:179
Mpval
#define Mpval(para)
Definition
Bdef.h:261
Mlowcase
#define Mlowcase(C)
Definition
Bdef.h:145
bLaCsCoNtExT::scp
BLACSSCOPE * scp
Definition
Bdef.h:26
bLaCsCoNtExT::cscp
BLACSSCOPE cscp
Definition
Bdef.h:25
engine
extlib
scalapack-2.2.0
BLACS
SRC
kbrid_.c
Generated by
1.15.0