OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
PB_topset_.c File Reference
#include "../pblas.h"
#include "../PBpblas.h"
#include "../PBtools.h"
#include "../PBblacs.h"
#include "../PBblas.h"

Go to the source code of this file.

Functions

void PB_topset_ (Int *ICTXT, F_CHAR_T OP, F_CHAR_T SCOPE, F_CHAR_T TOP)

Function Documentation

◆ PB_topset_()

void PB_topset_ ( Int * ICTXT,
F_CHAR_T OP,
F_CHAR_T SCOPE,
F_CHAR_T TOP )

Definition at line 22 of file PB_topset_.c.

32{
33/*
34* Purpose
35* =======
36*
37* PB_topset_ initializes the row-, column- or all- broadcast and combi-
38* ne topologies.
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 input) pointer to CHAR
62* On entry, TOP is a character string specifying the BLACS to-
63* pology to be used i.e. to be set for the given operation
64* specified by OP and SCOPE.
65*
66* -- Written on April 1, 1998 by
67* Antoine Petitet, University of Tennessee, Knoxville 37996, USA.
68*
69* ---------------------------------------------------------------------
70*/
71/* ..
72* .. Executable Statements ..
73*
74*/
75 if( * F2C_CHAR( TOP ) != '!' )
76 (void) PB_Ctop( ICTXT, F2C_CHAR( OP ), F2C_CHAR( SCOPE ),
77 F2C_CHAR( TOP ) );
78/*
79* End of PB_topset_
80*/
81}
#define F2C_CHAR(a)
Definition pblas.h:124
char * PB_Ctop()