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

◆ PB_topget_()

void PB_topget_ ( Int ICTXT,
F_CHAR_T  OP,
F_CHAR_T  SCOPE,
F_CHAR_T  TOP 
)

Definition at line 22 of file PB_topget_.c.

32{
33/*
34* Purpose
35* =======
36*
37* PB_topget_ returns the row, column or all broadcast and combine topo-
38* logies.
39*
40* Arguments
41* =========
42*
43* ICTXT (local input) INTEGER
44* On entry, ICTXT specifies the BLACS context handle, indica-
45* ting the global context of the operation. The context itself
46* is global, but the value of ICTXT is local.
47*
48* OP (global input) pointer to CHAR
49* On input, OP specifies the BLACS operation defined as fol-
50* lows:
51* OP = 'B' or 'b', BLACS broadcast operation,
52* OP = 'C' or 'c', BLACS combine operation.
53*
54* SCOPE (global input) pointer to CHAR
55* On entry, SCOPE specifies the scope of the BLACS operation as
56* follows:
57* SCOPE = 'R' or 'r', rowwise broadcast or combine,
58* SCOPE = 'C' or 'c', column broadcast or combine,
59* SCOPE = 'A' or 'a', all broadcast or combine.
60*
61* TOP (global output) pointer to CHAR
62* On exit, TOP is a character string specifying the BLACS to-
63* pology current in use for the given operation specified by OP
64* and SCOPE.
65*
66* -- Written on April 1, 1998 by
67* Antoine Petitet, University of Tennessee, Knoxville 37996, USA.
68*
69* ---------------------------------------------------------------------
70*/
71/*
72* .. Local Scalars ..
73*/
74 char * topc;
75/* ..
76* .. Executable Statements ..
77*
78*/
79 topc = F2C_CHAR( TOP );
80 *topc = *PB_Ctop( ICTXT, F2C_CHAR( OP ), F2C_CHAR( SCOPE ), TOP_GET );
81 TOP = C2F_CHAR( topc );
82/*
83* End of PB_topget_
84*/
85}
#define F2C_CHAR(a)
Definition pblas.h:124
#define C2F_CHAR(a)
Definition pblas.h:125
#define TOP_GET
Definition PBblacs.h:50
char * PB_Ctop()
Here is the call graph for this function: