ABACUS
develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
source
source_hamilt
matrixblock.h
Go to the documentation of this file.
1
#ifndef MATRIXBLOCK_H
2
#define MATRIXBLOCK_H
3
4
#include <cstddef>
5
namespace
hamilt
6
{
7
8
template
<
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
T
#define T
Definition
exp.cpp:237
hamilt
Definition
hamilt.h:12
hamilt::MatrixBlock
Definition
matrixblock.h:9
hamilt::MatrixBlock::col
size_t col
Definition
matrixblock.h:14
hamilt::MatrixBlock::p
T * p
Definition
matrixblock.h:12
hamilt::MatrixBlock::desc
const int * desc
Definition
matrixblock.h:15
hamilt::MatrixBlock::row
size_t row
Definition
matrixblock.h:13
Generated by
1.9.8