OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
blacs_pcoord_.c File Reference
#include "Bdef.h"

Go to the source code of this file.

Functions

F_VOID_FUNC blacs_pcoord_ (Int *ConTxt, Int *nodenum, Int *prow, Int *pcol)

Function Documentation

◆ blacs_pcoord_()

F_VOID_FUNC blacs_pcoord_ ( Int * ConTxt,
Int * nodenum,
Int * prow,
Int * pcol )

Definition at line 6 of file blacs_pcoord_.c.

8{
9 BLACSCONTEXT *ctxt;
10
11 MGetConTxt(Mpval(ConTxt), ctxt);
12 if ( (Mpval(nodenum) >= 0) && (Mpval(nodenum) < ctxt->ascp.Np) )
13 {
14 Mpcoord(ctxt, Mpval(nodenum), *prow, *pcol);
15 }
16 else *prow = *pcol = -1;
17}
#define MGetConTxt(Context, ctxtptr)
Definition Bdef.h:200
struct bLaCsCoNtExT BLACSCONTEXT
Definition Bdef.h:22
#define Mpcoord(ctxt, node, prow, pcol)
Definition Bdef.h:165
#define Mpval(para)
Definition Bdef.h:261
BLACSSCOPE ascp
Definition Bdef.h:25
Int Np
Definition Bdef.h:17