ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
pexsi::DistBCDMatrix Class Reference

#include <dist_bcd_matrix.h>

Collaboration diagram for pexsi::DistBCDMatrix:

Public Member Functions

 DistBCDMatrix (MPI_Comm comm, MPI_Group group, int blacs_ctxt, int size, int nblk, int nrow, int ncol, char layout)
 
 ~DistBCDMatrix ()
 
int globalRow (const int localRow)
 
int globalCol (const int localCol)
 
int localRow (const int globalRow, int &myprow)
 
int localCol (const int globalCol, int &mypcol)
 
int pnum (const int prow, const int pcol)
 
const MPI_Comm get_comm () const
 
const MPI_Group get_group () const
 
const int get_nrow () const
 
const int get_ncol () const
 
const char get_layout () const
 

Private Attributes

MPI_Comm comm
 
MPI_Group group
 
int blacs_ctxt
 
int nprows
 
int npcols
 
int nprocs
 
int size
 
int nblk
 
int nrow
 
int ncol
 
int myprow
 
int mypcol
 
int myproc
 
int * prowpcol2pnum
 
char layout
 

Constructor & Destructor Documentation

◆ DistBCDMatrix()

pexsi::DistBCDMatrix::DistBCDMatrix ( MPI_Comm  comm,
MPI_Group  group,
int  blacs_ctxt,
int  size,
int  nblk,
int  nrow,
int  ncol,
char  layout 
)

◆ ~DistBCDMatrix()

pexsi::DistBCDMatrix::~DistBCDMatrix ( )

Member Function Documentation

◆ get_comm()

const MPI_Comm pexsi::DistBCDMatrix::get_comm ( ) const
inline

◆ get_group()

const MPI_Group pexsi::DistBCDMatrix::get_group ( ) const
inline

◆ get_layout()

const char pexsi::DistBCDMatrix::get_layout ( ) const
inline

◆ get_ncol()

const int pexsi::DistBCDMatrix::get_ncol ( ) const
inline

◆ get_nrow()

const int pexsi::DistBCDMatrix::get_nrow ( ) const
inline

◆ globalCol()

int pexsi::DistBCDMatrix::globalCol ( const int  localCol)

◆ globalRow()

int pexsi::DistBCDMatrix::globalRow ( const int  localRow)

◆ localCol()

int pexsi::DistBCDMatrix::localCol ( const int  globalCol,
int &  mypcol 
)

◆ localRow()

int pexsi::DistBCDMatrix::localRow ( const int  globalRow,
int &  myprow 
)

◆ pnum()

int pexsi::DistBCDMatrix::pnum ( const int  prow,
const int  pcol 
)

Member Data Documentation

◆ blacs_ctxt

int pexsi::DistBCDMatrix::blacs_ctxt
private

◆ comm

MPI_Comm pexsi::DistBCDMatrix::comm
private

◆ group

MPI_Group pexsi::DistBCDMatrix::group
private

◆ layout

char pexsi::DistBCDMatrix::layout
private

◆ mypcol

int pexsi::DistBCDMatrix::mypcol
private

◆ myproc

int pexsi::DistBCDMatrix::myproc
private

◆ myprow

int pexsi::DistBCDMatrix::myprow
private

◆ nblk

int pexsi::DistBCDMatrix::nblk
private

◆ ncol

int pexsi::DistBCDMatrix::ncol
private

◆ npcols

int pexsi::DistBCDMatrix::npcols
private

◆ nprocs

int pexsi::DistBCDMatrix::nprocs
private

◆ nprows

int pexsi::DistBCDMatrix::nprows
private

◆ nrow

int pexsi::DistBCDMatrix::nrow
private

◆ prowpcol2pnum

int* pexsi::DistBCDMatrix::prowpcol2pnum
private

◆ size

int pexsi::DistBCDMatrix::size
private

The documentation for this class was generated from the following file: