ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
matrixblock.h
Go to the documentation of this file.
1#ifndef MATRIXBLOCK_H
2#define MATRIXBLOCK_H
3
4#include <cstddef>
5namespace hamilt
6{
7
8template <typename T> struct MatrixBlock
9{
10 /* this is a simple template block of a matrix
11 would change to Eigen in the future */
12 T* p;
13 size_t row;
14 size_t col;
15 const int* desc;
16};
17
18} // namespace hamilt
19#endif
#define T
Definition exp.cpp:237
Definition hamilt.h:12
Definition matrixblock.h:9
size_t col
Definition matrixblock.h:14
T * p
Definition matrixblock.h:12
const int * desc
Definition matrixblock.h:15
size_t row
Definition matrixblock.h:13