|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
A non-owning description of a matrix stored in memory. More...
#include <matrix_block.h>
Public Attributes | |
| T * | p |
| size_t | row |
| size_t | col |
| const int * | desc |
A non-owning description of a matrix stored in memory.
It records only where the matrix lives and how it is laid out: the data pointer, the local number of rows and columns, and the BLACS array descriptor when the matrix is block-cyclically distributed. It carries no physical meaning, so it can be shared between the code that fills a matrix and the code that diagonalizes it without either side depending on the other.
MatrixBlock only describes a memory layout, so it now lives in source_base and eigensolvers can use it without including the Hamiltonian interface. This alias keeps the historical hamilt::MatrixBlock spelling working.
TODO: this header is a temporary compatibility shim. Once every call site spells the type as ModuleBase::MatrixBlock and includes source_base/matrix_block.h directly, delete this file.
| size_t ModuleBase::MatrixBlock< T >::col |
| const int* ModuleBase::MatrixBlock< T >::desc |
| T* ModuleBase::MatrixBlock< T >::p |
| size_t ModuleBase::MatrixBlock< T >::row |