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

◆ MDescTrans

#define MDescTrans (   DescIn,
  DescOut 
)

Definition at line 529 of file PBtools.h.

530 { \
531 if ( (DescIn)[DTYPE_] == BLOCK_CYCLIC_2D ) \
532 { \
533 (DescOut)[DTYPE_] = BLOCK_CYCLIC_2D_INB; \
534 (DescOut)[M_ ] = (DescIn)[M1_ ]; \
535 (DescOut)[N_ ] = (DescIn)[N1_ ]; \
536 (DescOut)[IMB_ ] = (DescIn)[MB1_ ]; \
537 (DescOut)[INB_ ] = (DescIn)[NB1_ ]; \
538 (DescOut)[MB_ ] = (DescIn)[MB1_ ]; \
539 (DescOut)[NB_ ] = (DescIn)[NB1_ ]; \
540 (DescOut)[RSRC_ ] = (DescIn)[RSRC1_ ]; \
541 (DescOut)[CSRC_ ] = (DescIn)[CSRC1_ ]; \
542 (DescOut)[CTXT_ ] = (DescIn)[CTXT1_ ]; \
543 (DescOut)[LLD_ ] = (DescIn)[LLD1_ ]; \
544 } \
545 else if ( (DescIn)[DTYPE_] == BLOCK_CYCLIC_2D_INB ) \
546 { \
547 (DescOut)[DTYPE_] = BLOCK_CYCLIC_2D_INB; \
548 (DescOut)[M_ ] = (DescIn)[M_ ]; \
549 (DescOut)[N_ ] = (DescIn)[N_ ]; \
550 (DescOut)[IMB_ ] = (DescIn)[IMB_ ]; \
551 (DescOut)[INB_ ] = (DescIn)[INB_ ]; \
552 (DescOut)[MB_ ] = (DescIn)[MB_ ]; \
553 (DescOut)[NB_ ] = (DescIn)[NB_ ]; \
554 (DescOut)[RSRC_ ] = (DescIn)[RSRC_ ]; \
555 (DescOut)[CSRC_ ] = (DescIn)[CSRC_ ]; \
556 (DescOut)[CTXT_ ] = (DescIn)[CTXT_ ]; \
557 (DescOut)[LLD_ ] = (DescIn)[LLD_ ]; \
558 } \
559 else \
560 { \
561 (DescOut)[DTYPE_] = (DescIn)[0]; \
562 (DescOut)[CTXT_ ] = (DescIn)[1]; \
563 (DescOut)[M_ ] = 0; \
564 (DescOut)[N_ ] = 0; \
565 (DescOut)[IMB_ ] = 1; \
566 (DescOut)[INB_ ] = 1; \
567 (DescOut)[MB_ ] = 1; \
568 (DescOut)[NB_ ] = 1; \
569 (DescOut)[RSRC_ ] = 0; \
570 (DescOut)[CSRC_ ] = 0; \
571 (DescOut)[LLD_ ] = 1; \
572 } \
573 }
#define CTXT_
Definition PBtools.h:38
#define MB_
Definition PBtools.h:43
#define RSRC1_
Definition PBtools.h:28
#define M1_
Definition PBtools.h:24
#define LLD1_
Definition PBtools.h:30
#define N1_
Definition PBtools.h:25
#define LLD_
Definition PBtools.h:47
#define BLOCK_CYCLIC_2D_INB
Definition PBtools.h:35
#define MB1_
Definition PBtools.h:26
#define RSRC_
Definition PBtools.h:45
#define DTYPE_
Definition PBtools.h:37
#define M_
Definition PBtools.h:39
#define INB_
Definition PBtools.h:42
#define NB1_
Definition PBtools.h:27
#define CTXT1_
Definition PBtools.h:23
#define CSRC_
Definition PBtools.h:46
#define IMB_
Definition PBtools.h:41
#define CSRC1_
Definition PBtools.h:29
#define BLOCK_CYCLIC_2D
Definition PBtools.h:20
#define NB_
Definition PBtools.h:44
#define N_
Definition PBtools.h:40