11using D2 = void(*) (
T**, size_t);
25 if (
this == &rhs) {
return *
this;
31 this->
ncxyz = rhs.ncxyz;
36 this->
bxyz = rhs.bxyz;
37 this->
nbxx = rhs.nbxx;
42 this->
gridt = rhs.gridt;
43 this->
ucell = rhs.ucell;
49 rhs.hRGintCd =
nullptr;
50 for (
int i = 0; i < this->
DMRGint.size(); i++)
54 for (
int i = 0; i < this->
hRGint_tmp.size(); i++)
61 this->
DMRGint = std::move(rhs.DMRGint);
64 rhs.DMRGint_full =
nullptr;
71 if (
this == &rhs) {
return *
this;
77 assert(this->
DM ==
nullptr);
83 if (
this == &rhs) {
return *
this;
Definition gint_gamma.h:23
Gint_Gamma & operator=(Gint_Gamma &&rhs)
move operator for the next ESolver to directly use its infomation
Definition gint_move.hpp:69
double *** DM
pointer to density matrix
Definition gint_gamma.h:47
Gint_k & operator=(Gint_k &&rhs)
move operator for the next ESolver to directly use its infomation
Definition gint_move.hpp:81
std::vector< hamilt::HContainer< double > > pvdpRy_reduced
Definition gint.h:271
int nplane
Definition gint.h:103
std::vector< hamilt::HContainer< double > * > DMRGint
stores DMR in sparse format
Definition gint.h:265
int by
Definition gint.h:98
int nbz_start
Definition gint.h:96
hamilt::HContainer< double > * hRGint
Definition gint.h:256
std::vector< hamilt::HContainer< double > * > hRGint_tmp
size of vec is 4, only used when nspin = 4
Definition gint.h:259
int nby
Definition gint.h:93
int bx
Definition gint.h:97
int nbx
variables related to FFT grid
Definition gint.h:92
int bz
Definition gint.h:99
std::vector< hamilt::HContainer< double > > pvdpRz_reduced
Definition gint.h:272
int bxyz
Definition gint.h:100
int ny
Definition gint.h:102
int startz_current
Definition gint.h:104
std::vector< hamilt::HContainer< double > > pvdpRx_reduced
Definition gint.h:270
int ncxyz
Definition gint.h:95
int nbz
Definition gint.h:94
Gint & operator=(Gint &&rhs)
move operator for the next ESolver to directly use its infomation
Definition gint_move.hpp:23
const Grid_Technique * gridt
Definition gint.h:70
hamilt::HContainer< std::complex< double > > * hRGintCd
stores Hamiltonian in sparse format
Definition gint.h:262
int nbxx
Definition gint.h:101
const UnitCell * ucell
Definition gint.h:71
hamilt::HContainer< double > * DMRGint_full
tmp tools used in transfer_DM2DtoGrid
Definition gint.h:268
#define T
Definition exp.cpp:237
void(*)(T **, size_t) D2
Definition gint_move.hpp:11
D2< double > d2
Definition gint_move.hpp:19