ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
pexsi::DistCCSMatrix Class Reference

#include <dist_ccs_matrix.h>

Collaboration diagram for pexsi::DistCCSMatrix:

Public Member Functions

 DistCCSMatrix ()
 DistCCSMatrix (MPI_Comm comm)
 DistCCSMatrix (int size, int nnzLocal)
 DistCCSMatrix (MPI_Comm comm, int size, int nnzLocal)
 DistCCSMatrix (MPI_Comm comm, int size, int nnzLocal, double *valLocal, int *index)
int globalCol (int localCol)
int localCol (int globalCol, int &mypcol)
void setnnz (int nnzLocal)
const MPI_Comm get_comm () const
const MPI_Group get_group () const
const MPI_Group get_group_data () const
const int get_size () const
const int get_nnz () const
const int get_nnzlocal () const
const int get_numcol_local () const
int * get_colptr_local () const
int * get_rowind_local () const
 ~DistCCSMatrix ()

Private Attributes

MPI_Comm comm
MPI_Group group
int nprocs = 0
int nproc_data =0
MPI_Group group_data
MPI_Comm comm_data
int size
int nnz
int nnzLocal
int numColLocal
int firstCol =0
int * colptrLocal = nullptr
int * rowindLocal = nullptr

Constructor & Destructor Documentation

◆ DistCCSMatrix() [1/5]

pexsi::DistCCSMatrix::DistCCSMatrix ( )

◆ DistCCSMatrix() [2/5]

pexsi::DistCCSMatrix::DistCCSMatrix ( MPI_Comm comm)

◆ DistCCSMatrix() [3/5]

pexsi::DistCCSMatrix::DistCCSMatrix ( int size,
int nnzLocal )

◆ DistCCSMatrix() [4/5]

pexsi::DistCCSMatrix::DistCCSMatrix ( MPI_Comm comm,
int size,
int nnzLocal )

◆ DistCCSMatrix() [5/5]

pexsi::DistCCSMatrix::DistCCSMatrix ( MPI_Comm comm,
int size,
int nnzLocal,
double * valLocal,
int * index )

◆ ~DistCCSMatrix()

pexsi::DistCCSMatrix::~DistCCSMatrix ( )

Member Function Documentation

◆ get_colptr_local()

int * pexsi::DistCCSMatrix::get_colptr_local ( ) const
inline

◆ get_comm()

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

◆ get_group()

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

◆ get_group_data()

const MPI_Group pexsi::DistCCSMatrix::get_group_data ( ) const
inline

◆ get_nnz()

const int pexsi::DistCCSMatrix::get_nnz ( ) const
inline

◆ get_nnzlocal()

const int pexsi::DistCCSMatrix::get_nnzlocal ( ) const
inline

◆ get_numcol_local()

const int pexsi::DistCCSMatrix::get_numcol_local ( ) const
inline

◆ get_rowind_local()

int * pexsi::DistCCSMatrix::get_rowind_local ( ) const
inline

◆ get_size()

const int pexsi::DistCCSMatrix::get_size ( ) const
inline

◆ globalCol()

int pexsi::DistCCSMatrix::globalCol ( int localCol)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ localCol()

int pexsi::DistCCSMatrix::localCol ( int globalCol,
int & mypcol )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setnnz()

void pexsi::DistCCSMatrix::setnnz ( int nnzLocal)

Member Data Documentation

◆ colptrLocal

int* pexsi::DistCCSMatrix::colptrLocal = nullptr
private

◆ comm

MPI_Comm pexsi::DistCCSMatrix::comm
private

◆ comm_data

MPI_Comm pexsi::DistCCSMatrix::comm_data
private

◆ firstCol

int pexsi::DistCCSMatrix::firstCol =0
private

◆ group

MPI_Group pexsi::DistCCSMatrix::group
private

◆ group_data

MPI_Group pexsi::DistCCSMatrix::group_data
private

◆ nnz

int pexsi::DistCCSMatrix::nnz
private

◆ nnzLocal

int pexsi::DistCCSMatrix::nnzLocal
private

◆ nproc_data

int pexsi::DistCCSMatrix::nproc_data =0
private

◆ nprocs

int pexsi::DistCCSMatrix::nprocs = 0
private

◆ numColLocal

int pexsi::DistCCSMatrix::numColLocal
private

◆ rowindLocal

int* pexsi::DistCCSMatrix::rowindLocal = nullptr
private

◆ size

int pexsi::DistCCSMatrix::size
private

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